esp32/boards: Add pins.csv to UM boards and other minor changes.

Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
This commit is contained in:
Seon Rozenblum 2023-08-03 20:23:50 +10:00 committed by Damien George
parent 9f1576f2ad
commit 6ec2e8f643
12 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1,12 @@
AMB_LIGHT,GPIO4
I2C_SCL,GPIO8
I2C_SDA,GPIO9
LDO2_PWR,GPIO21
LED_BLUE,GPIO13
RGB_DATA,GPIO40
RGB_CLK,GPIO45
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
UART0_TX,GPIO43
UART0_RX,GPIO44
1 AMB_LIGHT GPIO4
2 I2C_SCL GPIO8
3 I2C_SDA GPIO9
4 LDO2_PWR GPIO21
5 LED_BLUE GPIO13
6 RGB_DATA GPIO40
7 RGB_CLK GPIO45
8 SPI_MOSI GPIO35
9 SPI_SCK GPIO36
10 SPI_MISO GPIO37
11 UART0_TX GPIO43
12 UART0_RX GPIO44

View File

@ -2,6 +2,8 @@ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_AFTER_NORESET=y CONFIG_ESPTOOLPY_AFTER_NORESET=y
CONFIG_SPIRAM_MEMTEST=
CONFIG_ESPTOOLPY_FLASHSIZE_4MB= CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM=y

View File

@ -0,0 +1,14 @@
I2C_SCL,GPIO8
I2C_SDA,GPIO9
LED_BLUE,GPIO13
RGB_DATA,GPIO40
RGB_PWR,GPIO39
RGB_MATRIX_DATA,GPIO21
RGB_MATRIX_DATA,GPIO4
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
UART0_TX,GPIO43
UART0_RX,GPIO44
VBAT_SENSE,GPIO2
VBUS_SENSE,GPIO34
1 I2C_SCL GPIO8
2 I2C_SDA GPIO9
3 LED_BLUE GPIO13
4 RGB_DATA GPIO40
5 RGB_PWR GPIO39
6 RGB_MATRIX_DATA GPIO21
7 RGB_MATRIX_DATA GPIO4
8 SPI_MOSI GPIO35
9 SPI_SCK GPIO36
10 SPI_MISO GPIO37
11 UART0_TX GPIO43
12 UART0_RX GPIO44
13 VBAT_SENSE GPIO2
14 VBUS_SENSE GPIO34

View File

@ -7,6 +7,9 @@
#define MICROPY_HW_I2C0_SCL (9) #define MICROPY_HW_I2C0_SCL (9)
#define MICROPY_HW_I2C0_SDA (8) #define MICROPY_HW_I2C0_SDA (8)
#define MICROPY_HW_I2C1_SCL (15)
#define MICROPY_HW_I2C1_SDA (16)
#define MICROPY_HW_SPI1_MOSI (35) #define MICROPY_HW_SPI1_MOSI (35)
#define MICROPY_HW_SPI1_MISO (37) #define MICROPY_HW_SPI1_MISO (37)
#define MICROPY_HW_SPI1_SCK (36) #define MICROPY_HW_SPI1_SCK (36)

View File

@ -0,0 +1,15 @@
AMB_LIGHT,GPIO4
I2C_SCL,GPIO8
I2C_SDA,GPIO9
I2C_SCL2,GPIO15
I2C_SDA2,GPIO16
LDO2_PWR,GPIO39
LED_BLUE,GPIO13
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
RGB_DATA,GPIO40
UART0_TX,GPIO43
UART0_RX,GPIO44
VBAT_SENSE,GPIO2
VBUS_SENSE,GPIO34
1 AMB_LIGHT GPIO4
2 I2C_SCL GPIO8
3 I2C_SDA GPIO9
4 I2C_SCL2 GPIO15
5 I2C_SDA2 GPIO16
6 LDO2_PWR GPIO39
7 LED_BLUE GPIO13
8 SPI_MOSI GPIO35
9 SPI_SCK GPIO36
10 SPI_MISO GPIO37
11 RGB_DATA GPIO40
12 UART0_TX GPIO43
13 UART0_RX GPIO44
14 VBAT_SENSE GPIO2
15 VBUS_SENSE GPIO34

View File

@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB= CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB= CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_SPIRAM_MEMTEST=
CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv" CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"

View File

@ -0,0 +1,12 @@
I2C_SCL,GPIO8
I2C_SDA,GPIO9
VBAT_SENSE,GPIO10
LDO2_PWR,GPIO17
RGB_DATA,GPIO18
VBUS_SENSE,GPIO33
SPI_SS,GPIO34
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
UART0_TX,GPIO43
UART0_RX,GPIO44
1 I2C_SCL GPIO8
2 I2C_SDA GPIO9
3 VBAT_SENSE GPIO10
4 LDO2_PWR GPIO17
5 RGB_DATA GPIO18
6 VBUS_SENSE GPIO33
7 SPI_SS GPIO34
8 SPI_MOSI GPIO35
9 SPI_SCK GPIO36
10 SPI_MISO GPIO37
11 UART0_TX GPIO43
12 UART0_RX GPIO44

View File

@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB= CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB= CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_SPIRAM_MEMTEST=
CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv" CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"

View File

@ -0,0 +1,12 @@
I2C_SCL,GPIO22
I2C_SDA,GPIO21
RGB_DATA,GPIO2
RGB_CLK,GPIO12
RGB_PWR,GPIO13
SPI_SS,GPIO5
SPI_MOSI,GPIO23
SPI_SCK,GPIO18
SPI_MISO,GPIO19
VBAT_SENSE,GPIO35
VBAT_CHRG,GPIO34
VBUS_SENSE,GPIO9
1 I2C_SCL GPIO22
2 I2C_SDA GPIO21
3 RGB_DATA GPIO2
4 RGB_CLK GPIO12
5 RGB_PWR GPIO13
6 SPI_SS GPIO5
7 SPI_MOSI GPIO23
8 SPI_SCK GPIO18
9 SPI_MISO GPIO19
10 VBAT_SENSE GPIO35
11 VBAT_CHRG GPIO34
12 VBUS_SENSE GPIO9

View File

@ -0,0 +1,12 @@
I2C_SCL,GPIO8
I2C_SDA,GPIO9
RGB_DATA,GPIO1
RGB_PWR,GPIO2
SPI_SS,GPIO14
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
UART0_TX,GPIO43
UART0_RX,GPIO44
VBAT_SENSE,GPIO3
VBUS_SENSE,GPIO21
1 I2C_SCL GPIO8
2 I2C_SDA GPIO9
3 RGB_DATA GPIO1
4 RGB_PWR GPIO2
5 SPI_SS GPIO14
6 SPI_MOSI GPIO35
7 SPI_SCK GPIO36
8 SPI_MISO GPIO37
9 UART0_TX GPIO43
10 UART0_RX GPIO44
11 VBAT_SENSE GPIO3
12 VBUS_SENSE GPIO21

View File

@ -0,0 +1,12 @@
I2C_SCL,GPIO8
I2C_SDA,GPIO9
RGB_DATA,GPIO18
RGB_PWR,GPIO19
SPI_SS,GPIO34
SPI_MOSI,GPIO35
SPI_SCK,GPIO36
SPI_MISO,GPIO37
UART0_TX,GPIO43
UART0_RX,GPIO44
VBAT_SENSE,GPIO10
VBUS_SENSE,GPIO33
1 I2C_SCL GPIO8
2 I2C_SDA GPIO9
3 RGB_DATA GPIO18
4 RGB_PWR GPIO19
5 SPI_SS GPIO34
6 SPI_MOSI GPIO35
7 SPI_SCK GPIO36
8 SPI_MISO GPIO37
9 UART0_TX GPIO43
10 UART0_RX GPIO44
11 VBAT_SENSE GPIO10
12 VBUS_SENSE GPIO33

View File

@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB= CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_16MB= CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_SPIRAM_MEMTEST=
CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv" CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"