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:
parent
9f1576f2ad
commit
6ec2e8f643
12
ports/esp32/boards/UM_FEATHERS2/pins.csv
Normal file
12
ports/esp32/boards/UM_FEATHERS2/pins.csv
Normal 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
|
|
@ -2,6 +2,8 @@ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
||||
CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||
|
||||
CONFIG_SPIRAM_MEMTEST=
|
||||
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
|
14
ports/esp32/boards/UM_FEATHERS2NEO/pins.csv
Normal file
14
ports/esp32/boards/UM_FEATHERS2NEO/pins.csv
Normal 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
|
|
@ -7,6 +7,9 @@
|
||||
#define MICROPY_HW_I2C0_SCL (9)
|
||||
#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_MISO (37)
|
||||
#define MICROPY_HW_SPI1_SCK (36)
|
||||
|
15
ports/esp32/boards/UM_FEATHERS3/pins.csv
Normal file
15
ports/esp32/boards/UM_FEATHERS3/pins.csv
Normal 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
|
|
@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
||||
CONFIG_SPIRAM_MEMTEST=
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
|
||||
|
||||
|
12
ports/esp32/boards/UM_PROS3/pins.csv
Normal file
12
ports/esp32/boards/UM_PROS3/pins.csv
Normal 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
|
|
@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
||||
CONFIG_SPIRAM_MEMTEST=
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
|
||||
|
||||
|
12
ports/esp32/boards/UM_TINYPICO/pins.csv
Normal file
12
ports/esp32/boards/UM_TINYPICO/pins.csv
Normal 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
|
|
12
ports/esp32/boards/UM_TINYS2/pins.csv
Normal file
12
ports/esp32/boards/UM_TINYS2/pins.csv
Normal 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
|
|
12
ports/esp32/boards/UM_TINYS3/pins.csv
Normal file
12
ports/esp32/boards/UM_TINYS3/pins.csv
Normal 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
|
|
@ -5,6 +5,7 @@ CONFIG_ESPTOOLPY_AFTER_NORESET=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
||||
CONFIG_SPIRAM_MEMTEST=
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user