@@ -11,13 +11,13 @@ static const uint8_t RX = 38;
1111// Default pins (7 and 8) are used by on-board components already,
1212// for libraries, this can be set manually
1313// so let's keep the default for the user
14- static const uint8_t SDA = 2 ; // careful, also used as T0 pin
15- static const uint8_t SCL = 3 ; // careful, also used as T1 pin
14+ static const uint8_t SDA = 2 ; // careful, also used as T0 pin
15+ static const uint8_t SCL = 3 ; // careful, also used as T1 pin
1616
17- static const uint8_t SCK = 6 ; // careful, also used as T2 pin
18- static const uint8_t MOSI = 14 ; // careful, also used as T1 pin
19- static const uint8_t MISO = 15 ; // careful, also used as T0 pin
20- static const uint8_t SS = 16 ; // careful, also used as A9 pin
17+ static const uint8_t SCK = 6 ; // careful, also used as T2 pin
18+ static const uint8_t MOSI = 14 ; // careful, also used as T1 pin
19+ static const uint8_t MISO = 15 ; // careful, also used as T0 pin
20+ static const uint8_t SS = 16 ; // careful, also used as A9 pin
2121
2222static const uint8_t A0 = 21 ;
2323static const uint8_t A1 = 20 ;
@@ -28,40 +28,40 @@ static const uint8_t A5 = 52;
2828static const uint8_t A6 = 51 ;
2929static const uint8_t A7 = 50 ;
3030static const uint8_t A8 = 49 ;
31- static const uint8_t A9 = 16 ; // careful, also used as SPI SS pin
31+ static const uint8_t A9 = 16 ; // careful, also used as SPI SS pin
3232
33- static const uint8_t T0 = 15 ; // careful, also used as SPI MISO pin
34- static const uint8_t T1 = 14 ; // careful, also used as SPI MOSI pin
35- static const uint8_t T2 = 6 ; // careful, also used as SPI SCK pin
36- static const uint8_t T3 = 3 ; // careful, also used as I2C SCL pin
37- static const uint8_t T4 = 2 ; // careful, also used as I2C SDA pin
33+ static const uint8_t T0 = 15 ; // careful, also used as SPI MISO pin
34+ static const uint8_t T1 = 14 ; // careful, also used as SPI MOSI pin
35+ static const uint8_t T2 = 6 ; // careful, also used as SPI SCK pin
36+ static const uint8_t T3 = 3 ; // careful, also used as I2C SCL pin
37+ static const uint8_t T4 = 2 ; // careful, also used as I2C SDA pin
3838
3939/* 4D Systems ESP32-P4 board specific definitions */
4040// LCD
4141#define LCD_INTERFACE_MIPI
4242
43- #define LCD_BL_IO 22
44- #define LCD_BL_ON_LEVEL 1
45- #define LCD_BL_OFF_LEVEL !LCD_BL_ON_LEVEL
43+ #define LCD_BL_IO 22
44+ #define LCD_BL_ON_LEVEL 1
45+ #define LCD_BL_OFF_LEVEL !LCD_BL_ON_LEVEL
4646
47- #define LCD_RST_IO 23
48- #define LCD_RST_ACTIVE_HIGH true
47+ #define LCD_RST_IO 23
48+ #define LCD_RST_ACTIVE_HIGH true
4949
5050// I2C for on-board components
51- #define I2C_SDA 7
52- #define I2C_SCL 8
51+ #define I2C_SDA 7
52+ #define I2C_SCL 8
5353
5454// Touch
55- #define CTP_RST 4
56- #define CTP_INT 5
55+ #define CTP_RST 4
56+ #define CTP_INT 5
5757
5858// Audio
59- #define AMP_CTRL 53
60- #define I2S_DSDIN 9
61- #define I2S_LRCK 10
62- #define I2S_ASDOUT 11
63- #define I2S_SCLK 12
64- #define I2S_MCLK 13
59+ #define AMP_CTRL 53
60+ #define I2S_DSDIN 9
61+ #define I2S_LRCK 10
62+ #define I2S_ASDOUT 11
63+ #define I2S_SCLK 12
64+ #define I2S_MCLK 13
6565
6666// SDMMC
6767#define BOARD_HAS_SDMMC
0 commit comments