@@ -11,13 +11,13 @@ static const uint8_t RX = 38;
11
11
// Default pins (7 and 8) are used by on-board components already,
12
12
// for libraries, this can be set manually
13
13
// 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
16
16
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
21
21
22
22
static const uint8_t A0 = 21 ;
23
23
static const uint8_t A1 = 20 ;
@@ -28,40 +28,40 @@ static const uint8_t A5 = 52;
28
28
static const uint8_t A6 = 51 ;
29
29
static const uint8_t A7 = 50 ;
30
30
static 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
32
32
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
38
38
39
39
/* 4D Systems ESP32-P4 board specific definitions */
40
40
// LCD
41
41
#define LCD_INTERFACE_MIPI
42
42
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
46
46
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
49
49
50
50
// 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
53
53
54
54
// Touch
55
- #define CTP_RST 4
56
- #define CTP_INT 5
55
+ #define CTP_RST 4
56
+ #define CTP_INT 5
57
57
58
58
// 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
65
65
66
66
// SDMMC
67
67
#define BOARD_HAS_SDMMC
0 commit comments