From dd98d55cbfe44c68b4300925c32548b1d55c51e1 Mon Sep 17 00:00:00 2001 From: Tero Marttila Date: Tue, 31 Dec 2024 11:56:31 +0200 Subject: [PATCH] esp32 boardconfigs for supported qmsk-led/esp32 boards --- .../esp32/boardconfig/qmsk-esp32-lan87xx-v1 | 52 ++++++++++ .../esp32/boardconfig/qmsk-esp32-lan87xx-v2 | 52 ++++++++++ .../esp32/boardconfig/qmsk-esp32-lan87xx-v3 | 62 ++++++++++++ .../boardconfig/qmsk-esp32-lan87xx-v3-sdspi | 72 ++++++++++++++ .../boardconfig/qmsk-esp32-lan87xx-v3-usbpd | 83 ++++++++++++++++ .../qmsk-esp32-lan87xx-v3-usbpd-sdspi | 97 +++++++++++++++++++ projects/esp32/boardconfig/qmsk-led-24v-esp32 | 13 +++ .../esp32/boardconfig/qmsk-led-24v-esp32-v2 | 48 +++++++++ .../esp32/boardconfig/qmsk-led-24v-lan87xx | 26 +++++ .../esp32/boardconfig/qmsk-led-5v-esp32-v2 | 13 +++ .../esp32/boardconfig/qmsk-led-5v-esp32-v2sd | 28 ++++++ 11 files changed, 546 insertions(+) create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v1 create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v2 create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3 create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-sdspi create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd create mode 100644 projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd-sdspi create mode 100644 projects/esp32/boardconfig/qmsk-led-24v-esp32 create mode 100644 projects/esp32/boardconfig/qmsk-led-24v-esp32-v2 create mode 100644 projects/esp32/boardconfig/qmsk-led-24v-lan87xx create mode 100644 projects/esp32/boardconfig/qmsk-led-5v-esp32-v2 create mode 100644 projects/esp32/boardconfig/qmsk-led-5v-esp32-v2sd diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v1 b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v1 new file mode 100644 index 00000000..0b5eddf6 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v1 @@ -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 diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v2 b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v2 new file mode 100644 index 00000000..fe36550a --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v2 @@ -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 diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3 b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3 new file mode 100644 index 00000000..00f8a3fa --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3 @@ -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 diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-sdspi b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-sdspi new file mode 100644 index 00000000..e5a3dd08 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-sdspi @@ -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 diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd new file mode 100644 index 00000000..12340d59 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd @@ -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 diff --git a/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd-sdspi b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd-sdspi new file mode 100644 index 00000000..3708434f --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-esp32-lan87xx-v3-usbpd-sdspi @@ -0,0 +1,97 @@ +# 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" + +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 + +# 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 diff --git a/projects/esp32/boardconfig/qmsk-led-24v-esp32 b/projects/esp32/boardconfig/qmsk-led-24v-esp32 new file mode 100644 index 00000000..a8d13874 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-led-24v-esp32 @@ -0,0 +1,13 @@ +CONFIG_STATUS_LEDS_GPIO_TYPE_HOST=y +CONFIG_STATUS_LEDS_USER_MODE=y +CONFIG_STATUS_LEDS_USER_GPIO_NUM=0 +CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y +CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=15 +CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_ALERT_MODE_TEST=y +CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=2 +CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_CONFIG_MODE=y +CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=4 +CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y diff --git a/projects/esp32/boardconfig/qmsk-led-24v-esp32-v2 b/projects/esp32/boardconfig/qmsk-led-24v-esp32-v2 new file mode 100644 index 00000000..095294e4 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-led-24v-esp32-v2 @@ -0,0 +1,48 @@ +# i2x-master +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 + +# user-leds +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=4 +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=5 +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=7 +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=6 +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 diff --git a/projects/esp32/boardconfig/qmsk-led-24v-lan87xx b/projects/esp32/boardconfig/qmsk-led-24v-lan87xx new file mode 100644 index 00000000..8b1477c7 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-led-24v-lan87xx @@ -0,0 +1,26 @@ +CONFIG_STATUS_LEDS_GPIO_TYPE_HOST=y +CONFIG_STATUS_LEDS_USER_MODE=y +CONFIG_STATUS_LEDS_USER_GPIO_NUM=15 +CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=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_GPIO_NUM=13 +CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_CONFIG_MODE=y +CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=34 +CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_TEST_MODE=y +CONFIG_STATUS_LEDS_TEST_GPIO_NUM=35 +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 diff --git a/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2 b/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2 new file mode 100644 index 00000000..a08b01e4 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2 @@ -0,0 +1,13 @@ +CONFIG_STATUS_LEDS_GPIO_TYPE_HOST=y +CONFIG_STATUS_LEDS_USER_MODE=y +CONFIG_STATUS_LEDS_USER_GPIO_NUM=0 +CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y +CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=22 +CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_ALERT_MODE_TEST=y +CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=23 +CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_CONFIG_MODE=y +CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=21 +CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=y diff --git a/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2sd b/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2sd new file mode 100644 index 00000000..20f7a277 --- /dev/null +++ b/projects/esp32/boardconfig/qmsk-led-5v-esp32-v2sd @@ -0,0 +1,28 @@ +CONFIG_STATUS_LEDS_GPIO_TYPE_HOST=y +CONFIG_STATUS_LEDS_USER_MODE=y +CONFIG_STATUS_LEDS_USER_GPIO_NUM=0 +CONFIG_STATUS_LEDS_USER_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_FLASH_MODE_ACTIVITY=y +CONFIG_STATUS_LEDS_FLASH_GPIO_NUM=22 +CONFIG_STATUS_LEDS_FLASH_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_ALERT_MODE_TEST=y +CONFIG_STATUS_LEDS_ALERT_GPIO_NUM=23 +CONFIG_STATUS_LEDS_ALERT_GPIO_INVERTED=y +CONFIG_STATUS_LEDS_CONFIG_MODE=y +CONFIG_STATUS_LEDS_CONFIG_GPIO_NUM=21 +CONFIG_STATUS_LEDS_CONFIG_GPIO_INVERTED=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=39 +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