-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
esp32 boardconfigs for supported qmsk-led/esp32 boards
- Loading branch information
Showing
11 changed files
with
546 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
CONFIG_I2C_MASTER_ENABLED=y | ||
CONFIG_I2C_MASTER_SDA_IO_NUM=15 | ||
CONFIG_I2C_MASTER_SCL_IO_NUM=2 | ||
CONFIG_I2C_MASTER_CLK_SPEED=400000 | ||
|
||
CONFIG_I2C_GPIO_ENABLED=y | ||
CONFIG_I2C_GPIO_TYPE_PCA9554=y | ||
CONFIG_I2C_GPIO_ADDR_PCA9554=0 | ||
CONFIG_I2C_GPIO_INT_PIN=36 | ||
|
||
# qmsk-front-panel | ||
CONFIG_STATUS_LEDS_GPIO_TYPE_I2C_GPIO_0=y | ||
|
||
CONFIG_STATUS_LEDS_USER_MODE=y | ||
CONFIG_STATUS_LEDS_USER_ENABLED=y | ||
CONFIG_STATUS_LEDS_USER_GPIO_NUM=5 | ||
CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y | ||
CONFIG_STATUS_LEDS_FLASH_ENABLED=y | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=4 | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_ALERT_MODE=y | ||
CONFIG_STATUS_LEDS_ALERT_ENABLED=y | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=3 | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_CONFIG_MODE=y | ||
CONFIG_STATUS_LEDS_CONFIG_ENABLED=y | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=6 | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_TEST_MODE=y | ||
CONFIG_STATUS_LEDS_TEST_ENABLED=y | ||
CONFIG_STATUS_LEDS_TEST_GPIO_NUM=7 | ||
CONFIG_STATUS_LEDS_TEST_GPIO_INVERTED=y | ||
|
||
# qmsk-esp32-lan87xx | ||
CONFIG_ETH_BOARD_QMSK_ESP32_LAN87XX=y | ||
CONFIG_ETH_MODE_DEFAULT_AUTOCONF=y | ||
CONFIG_ETH_IP_DEFAULT="2.0.0.0" | ||
CONFIG_ETH_NETMASK_DEFAULT="255.0.0.0" | ||
CONFIG_ETH_GW_DEFAULT="0.0.0.0" | ||
|
||
# qmsk-artnet | ||
CONFIG_ARTNET_ENABLED=y | ||
CONFIG_ARTNET_OUTPUTS_MAX=20 | ||
|
||
# tuning for up to 20 artnet universes | ||
CONFIG_ETH_DMA_RX_BUFFER_NUM=24 | ||
CONFIG_LWIP_UDP_RECVMBOX_SIZE=24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
CONFIG_I2C_MASTER_ENABLED=y | ||
CONFIG_I2C_MASTER_SDA_IO_NUM=15 | ||
CONFIG_I2C_MASTER_SCL_IO_NUM=2 | ||
CONFIG_I2C_MASTER_CLK_SPEED=400000 | ||
|
||
CONFIG_I2C_GPIO_ENABLED=y | ||
CONFIG_I2C_GPIO_TYPE_PCA9554=y | ||
CONFIG_I2C_GPIO_ADDR_PCA9554=0 | ||
CONFIG_I2C_GPIO_INT_PIN=36 | ||
|
||
# qmsk-front-panel | ||
CONFIG_STATUS_LEDS_GPIO_TYPE_I2C_GPIO_0=y | ||
|
||
CONFIG_STATUS_LEDS_USER_MODE=y | ||
CONFIG_STATUS_LEDS_USER_ENABLED=y | ||
CONFIG_STATUS_LEDS_USER_GPIO_NUM=2 | ||
CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y | ||
CONFIG_STATUS_LEDS_FLASH_ENABLED=y | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=4 | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_ALERT_MODE=y | ||
CONFIG_STATUS_LEDS_ALERT_ENABLED=y | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=6 | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_CONFIG_MODE=y | ||
CONFIG_STATUS_LEDS_CONFIG_ENABLED=y | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=3 | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_TEST_MODE=y | ||
CONFIG_STATUS_LEDS_TEST_ENABLED=y | ||
CONFIG_STATUS_LEDS_TEST_GPIO_NUM=5 | ||
CONFIG_STATUS_LEDS_TEST_GPIO_INVERTED=y | ||
|
||
# qmsk-esp32-lan87xx | ||
CONFIG_ETH_BOARD_QMSK_ESP32_LAN87XX=y | ||
CONFIG_ETH_MODE_DEFAULT_AUTOCONF=y | ||
CONFIG_ETH_IP_DEFAULT="2.0.0.0" | ||
CONFIG_ETH_NETMASK_DEFAULT="255.0.0.0" | ||
CONFIG_ETH_GW_DEFAULT="0.0.0.0" | ||
|
||
# qmsk-artnet | ||
CONFIG_ARTNET_ENABLED=y | ||
CONFIG_ARTNET_OUTPUTS_MAX=20 | ||
|
||
# tuning for up to 20 artnet universes | ||
CONFIG_ETH_DMA_RX_BUFFER_NUM=24 | ||
CONFIG_LWIP_UDP_RECVMBOX_SIZE=24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# 8MB flash in 80Mhz qio mode | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y | ||
|
||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8M.csv" | ||
CONFIG_PARTITION_TABLE_FILENAME="partitions-8M.csv" | ||
|
||
# i2c | ||
CONFIG_I2C_MASTER_ENABLED=y | ||
CONFIG_I2C_MASTER_SDA_IO_NUM=4 | ||
CONFIG_I2C_MASTER_SCL_IO_NUM=5 | ||
CONFIG_I2C_MASTER_CLK_SPEED=400000 | ||
|
||
CONFIG_I2C_GPIO_ENABLED=y | ||
CONFIG_I2C_GPIO_TYPE_PCA9554=y | ||
CONFIG_I2C_GPIO_ADDR_PCA9554=0 | ||
CONFIG_I2C_GPIO_INT_PIN=36 | ||
|
||
# qmsk-front-panel | ||
CONFIG_STATUS_LEDS_GPIO_TYPE_I2C_GPIO_0=y | ||
|
||
CONFIG_STATUS_LEDS_USER_MODE=y | ||
CONFIG_STATUS_LEDS_USER_ENABLED=y | ||
CONFIG_STATUS_LEDS_USER_GPIO_NUM=1 | ||
CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y | ||
CONFIG_STATUS_LEDS_FLASH_ENABLED=y | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=2 | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_ALERT_MODE=y | ||
CONFIG_STATUS_LEDS_ALERT_ENABLED=y | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=4 | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_CONFIG_MODE=y | ||
CONFIG_STATUS_LEDS_CONFIG_ENABLED=y | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=0 | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_TEST_MODE=y | ||
CONFIG_STATUS_LEDS_TEST_ENABLED=y | ||
CONFIG_STATUS_LEDS_TEST_GPIO_NUM=3 | ||
CONFIG_STATUS_LEDS_TEST_GPIO_INVERTED=y | ||
|
||
# qmsk-esp32-lan87xx | ||
CONFIG_ETH_BOARD_QMSK_ESP32_LAN87XX=y | ||
CONFIG_ETH_MODE_DEFAULT_AUTOCONF=y | ||
CONFIG_ETH_IP_DEFAULT="2.0.0.0" | ||
CONFIG_ETH_NETMASK_DEFAULT="255.0.0.0" | ||
CONFIG_ETH_GW_DEFAULT="0.0.0.0" | ||
|
||
# qmsk-artnet | ||
CONFIG_ARTNET_ENABLED=y | ||
CONFIG_ARTNET_OUTPUTS_MAX=20 | ||
|
||
# tuning for up to 20 artnet universes | ||
CONFIG_ETH_DMA_RX_BUFFER_NUM=24 | ||
CONFIG_LWIP_UDP_RECVMBOX_SIZE=24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# 8MB flash in 80Mhz qio mode | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y | ||
|
||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8M.csv" | ||
CONFIG_PARTITION_TABLE_FILENAME="partitions-8M.csv" | ||
|
||
# i2c | ||
CONFIG_I2C_MASTER_ENABLED=y | ||
CONFIG_I2C_MASTER_SDA_IO_NUM=4 | ||
CONFIG_I2C_MASTER_SCL_IO_NUM=5 | ||
CONFIG_I2C_MASTER_CLK_SPEED=400000 | ||
|
||
CONFIG_I2C_GPIO_ENABLED=y | ||
CONFIG_I2C_GPIO_TYPE_PCA9554=y | ||
CONFIG_I2C_GPIO_ADDR_PCA9554=0 | ||
CONFIG_I2C_GPIO_INT_PIN=36 | ||
|
||
# qmsk-front-panel | ||
CONFIG_STATUS_LEDS_GPIO_TYPE_I2C_GPIO_0=y | ||
|
||
CONFIG_STATUS_LEDS_USER_MODE=y | ||
CONFIG_STATUS_LEDS_USER_ENABLED=y | ||
CONFIG_STATUS_LEDS_USER_GPIO_NUM=1 | ||
CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y | ||
CONFIG_STATUS_LEDS_FLASH_ENABLED=y | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=2 | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_ALERT_MODE=y | ||
CONFIG_STATUS_LEDS_ALERT_ENABLED=y | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=4 | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_CONFIG_MODE=y | ||
CONFIG_STATUS_LEDS_CONFIG_ENABLED=y | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=0 | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_TEST_MODE=y | ||
CONFIG_STATUS_LEDS_TEST_ENABLED=y | ||
CONFIG_STATUS_LEDS_TEST_GPIO_NUM=3 | ||
CONFIG_STATUS_LEDS_TEST_GPIO_INVERTED=y | ||
|
||
# qmsk-esp32-lan87xx | ||
CONFIG_ETH_BOARD_QMSK_ESP32_LAN87XX=y | ||
CONFIG_ETH_MODE_DEFAULT_AUTOCONF=y | ||
CONFIG_ETH_IP_DEFAULT="2.0.0.0" | ||
CONFIG_ETH_NETMASK_DEFAULT="255.0.0.0" | ||
CONFIG_ETH_GW_DEFAULT="0.0.0.0" | ||
|
||
# qmsk-artnet | ||
CONFIG_ARTNET_ENABLED=y | ||
|
||
# SDSPI using default pins | ||
CONFIG_SDCARD_SPI_HOST=y | ||
CONFIG_SDCARD_SPI_MOSI_PIN=15 | ||
CONFIG_SDCARD_SPI_MISO_PIN=2 | ||
CONFIG_SDCARD_SPI_SCLK_PIN=14 | ||
CONFIG_SDCARD_SPI_CS_PIN=13 | ||
CONFIG_SDCARD_SPI_CD_HOST=y | ||
CONFIG_SDCARD_SPI_CD_PIN=34 | ||
CONFIG_SDCARD_SPI_CD_POL_NC=y | ||
CONFIG_SDCARD_SPI_MAX_FREQ_KHZ=20000 | ||
CONFIG_SDCARD_ENABLED=y | ||
|
||
CONFIG_FATFS_LFN_HEAP=y | ||
CONFIG_FATFS_MAX_LFN=255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# 8MB flash in 80Mhz qio mode | ||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y | ||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y | ||
|
||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8M.csv" | ||
CONFIG_PARTITION_TABLE_FILENAME="partitions-8M.csv" | ||
|
||
# i2c | ||
CONFIG_I2C_MASTER_ENABLED=y | ||
CONFIG_I2C_MASTER_SDA_IO_NUM=4 | ||
CONFIG_I2C_MASTER_SCL_IO_NUM=5 | ||
CONFIG_I2C_MASTER_CLK_SPEED=400000 | ||
|
||
CONFIG_I2C_GPIO_ENABLED=y | ||
CONFIG_I2C_GPIO_TYPE_PCA9554=y | ||
CONFIG_I2C_GPIO_ADDR_PCA9554=0 | ||
CONFIG_I2C_GPIO_INT_PIN=36 | ||
|
||
# qmsk-front-panel | ||
CONFIG_STATUS_LEDS_GPIO_TYPE_I2C_GPIO_0=y | ||
|
||
CONFIG_STATUS_LEDS_USER_MODE=y | ||
CONFIG_STATUS_LEDS_USER_ENABLED=y | ||
CONFIG_STATUS_LEDS_USER_GPIO_NUM=1 | ||
CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y | ||
CONFIG_STATUS_LEDS_FLASH_ENABLED=y | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=2 | ||
CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_ALERT_MODE=y | ||
CONFIG_STATUS_LEDS_ALERT_ENABLED=y | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=4 | ||
CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_CONFIG_MODE=y | ||
CONFIG_STATUS_LEDS_CONFIG_ENABLED=y | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=0 | ||
CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y | ||
|
||
CONFIG_STATUS_LEDS_TEST_MODE=y | ||
CONFIG_STATUS_LEDS_TEST_ENABLED=y | ||
CONFIG_STATUS_LEDS_TEST_GPIO_NUM=3 | ||
CONFIG_STATUS_LEDS_TEST_GPIO_INVERTED=y | ||
|
||
# qmsk-esp32-lan87xx | ||
CONFIG_ETH_BOARD_QMSK_ESP32_LAN87XX=y | ||
CONFIG_ETH_MODE_DEFAULT_AUTOCONF=y | ||
CONFIG_ETH_IP_DEFAULT="2.0.0.0" | ||
CONFIG_ETH_NETMASK_DEFAULT="255.0.0.0" | ||
CONFIG_ETH_GW_DEFAULT="0.0.0.0" | ||
|
||
# qmsk-artnet | ||
CONFIG_ARTNET_ENABLED=y | ||
|
||
# qmsk-usb-pd-sink | ||
CONFIG_USB_PD_SINK_ENABLED=y | ||
CONFIG_USB_PD_SINK_TYPE_STUSB4500=y | ||
CONFIG_USB_PD_SINK_TYPE_STUSB4500_I2C_ADDR=0 | ||
|
||
CONFIG_STUSB4500_SNK_PDO_NUMB=3 | ||
CONFIG_STUSB4500_V_SNK_PDO2=15000 | ||
CONFIG_STUSB4500_V_SNK_PDO3=20000 | ||
CONFIG_STUSB4500_I_SNK_PDO1=1500 | ||
CONFIG_STUSB4500_I_SNK_PDO2=1500 | ||
CONFIG_STUSB4500_I_SNK_PDO3=1000 | ||
# CONFIG_STUSB4500_VBUS_DISCH_DISABLE is not set | ||
CONFIG_STUSB4500_USB_COMM_CAPABLE=y | ||
# CONFIG_STUSB4500_SNK_UNCONS_POWER is not set | ||
CONFIG_STUSB4500_REQ_SRC_CURRENT=y | ||
# CONFIG_STUSB4500_POWER_OK_CFG_1 is not set | ||
CONFIG_STUSB4500_POWER_OK_CFG_2=y | ||
# CONFIG_STUSB4500_POWER_OK_CFG_3 is not set | ||
CONFIG_STUSB4500_POWER_OK_CFG=2 | ||
CONFIG_STUSB4500_POWER_ONLY_ABOVE_5V=y | ||
# CONFIG_STUSB4500_GPIO_CFG_SW_CTRL_GPIO is not set | ||
CONFIG_STUSB4500_GPIO_CFG_ERROR_RECOVERY=y | ||
# CONFIG_STUSB4500_GPIO_CFG_DEBUG is not set | ||
# CONFIG_STUSB4500_GPIO_CFG_SINK_POWER is not set | ||
CONFIG_STUSB4500_GPIO_CFG=1 |
Oops, something went wrong.