diff --git a/boards/adafruit_feather_esp32s2_reversetft.json b/boards/adafruit_feather_esp32s2_reversetft.json new file mode 100644 index 0000000..bd1f3ca --- /dev/null +++ b/boards/adafruit_feather_esp32s2_reversetft.json @@ -0,0 +1,63 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s2_out.ld", + "partitions": "partitions-4MB-tinyuf2.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_ADAFRUIT_FEATHER_ESP32S2_REVTFT", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_USB_CDC_ON_BOOT=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x239A", + "0x80ED" + ], + [ + "0x239A", + "0x00ED" + ], + [ + "0x239A", + "0x80EE" + ] + ], + "mcu": "esp32s2", + "variant": "adafruit_feather_esp32s2_reversetft" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s2.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Adafruit Feather ESP32-S2 Reverse TFT", + "upload": { + "arduino": { + "flash_extra_images": [ + [ + "0x2d0000", + "variants/adafruit_feather_esp32s2_reversetft/tinyuf2.bin" + ] + ] + }, + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "use_1200bps_touch": true, + "wait_for_upload_port": true, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.adafruit.com/product/5345", + "vendor": "Adafruit" +} diff --git a/boards/adafruit_feather_esp32s2_tft.json b/boards/adafruit_feather_esp32s2_tft.json index aee4431..e1e9481 100644 --- a/boards/adafruit_feather_esp32s2_tft.json +++ b/boards/adafruit_feather_esp32s2_tft.json @@ -2,7 +2,8 @@ "build": { "arduino": { "ldscript": "esp32s2_out.ld", - "partitions": "partitions-4MB-tinyuf2.csv" + "partitions": "partitions-4MB-tinyuf2.csv", + "memory_type": "qio_qspi" }, "core": "esp32", "extra_flags": [ @@ -42,6 +43,14 @@ ], "name": "Adafruit Feather ESP32-S2 TFT", "upload": { + "arduino": { + "flash_extra_images": [ + [ + "0x2d0000", + "variants/adafruit_feather_esp32s2_tft/tinyuf2.bin" + ] + ] + }, "flash_size": "4MB", "maximum_ram_size": 327680, "maximum_size": 4194304, diff --git a/boards/adafruit_feather_esp32s3_reversetft.json b/boards/adafruit_feather_esp32s3_reversetft.json new file mode 100644 index 0000000..fc3b8bc --- /dev/null +++ b/boards/adafruit_feather_esp32s3_reversetft.json @@ -0,0 +1,65 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "partitions-4MB-tinyuf2.csv", + "memory_type": "qio_qspi" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_ADAFRUIT_FEATHER_ESP32S3_REVTFT", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x239A", + "0x8123" + ], + [ + "0x239A", + "0x0123" + ], + [ + "0x239A", + "0x8124" + ] + ], + "mcu": "esp32s3", + "variant": "adafruit_feather_esp32s3_reversetft" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Adafruit Feather ESP32-S3 Reverse TFT", + "upload": { + "arduino": { + "flash_extra_images": [ + [ + "0x2d0000", + "variants/adafruit_feather_esp32s3_reversetft/tinyuf2.bin" + ] + ] + }, + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "use_1200bps_touch": true, + "wait_for_upload_port": true, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.adafruit.com/product/5691", + "vendor": "Adafruit" +} diff --git a/boards/deneyapkart1Av2.json b/boards/deneyapkart1Av2.json index b287551..44332b7 100644 --- a/boards/deneyapkart1Av2.json +++ b/boards/deneyapkart1Av2.json @@ -2,11 +2,13 @@ "build": { "arduino": { "ldscript": "esp32s3_out.ld", - "memory_type": "qio_qspi" + "memory_type": "qio_opi" }, "core": "esp32", "extra_flags": [ "-DARDUINO_DYDK1Av2", + "-DBOARD_HAS_PSRAM", + "-DARDUINO_USB_MODE=1", "-DARDUINO_USB_CDC_ON_BOOT=1" ], "f_cpu": "240000000L", diff --git a/boards/edgebox-esp-100.json b/boards/edgebox-esp-100.json new file mode 100644 index 0000000..22aee2f --- /dev/null +++ b/boards/edgebox-esp-100.json @@ -0,0 +1,40 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_qspi" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_Edgebox_ESP_100", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "mcu": "esp32s3", + "variant": "Edgebox-ESP-100" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Seeed Studio Edgebox-ESP-100", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.seeedstudio.com/EdgeBox-ESP-100-p-5490.html", + "vendor": "Seeed Studio" +} diff --git a/boards/lilygo-t-display-s3.json b/boards/lilygo-t-display-s3.json new file mode 100644 index 0000000..b089ee4 --- /dev/null +++ b/boards/lilygo-t-display-s3.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "memory_type": "qio_opi", + "partitions": "app3M_fat9M_16MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_LILYGO_T_DISPLAY_S3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_USB_CDC_ON_BOOT=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "lilygo_t_display_s3" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "LilyGo T-Display-S3", + "upload": { + "flash_size": "16MB", + "maximum_ram_size": 327680, + "maximum_size": 16777216, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.lilygo.cc/products/t-display-s3", + "vendor": "LilyGo" +} diff --git a/boards/roboheart_hercules.json b/boards/roboheart_hercules.json new file mode 100644 index 0000000..46740d2 --- /dev/null +++ b/boards/roboheart_hercules.json @@ -0,0 +1,39 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_roboheart_hercules", + "-DBOARD_HAS_PSRAM", + "-mfix-esp32-psram-cache-issue", + "-mfix-esp32-psram-cache-strategy=memw" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "roboheart_hercules" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "frameworks": [ + "arduino", + "espidf" + ], + "name": "RoboHeart Hercules", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://roboheart.de/en_gb/", + "vendor": "RoboHeart" +} diff --git a/boards/valtrack_v4_mfw_esp32_c3.json b/boards/valtrack_v4_mfw_esp32_c3.json new file mode 100644 index 0000000..c910f15 --- /dev/null +++ b/boards/valtrack_v4_mfw_esp32_c3.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32c3_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_VALTRACK_V4_MFW_ESP32_C3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_USB_CDC_ON_BOOT=1" + ], + "f_cpu": "160000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32c3", + "variant": "VALTRACK_V4_MFW_ESP32_C3" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32c3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Valetron Systems VALTRACK-V4MVF", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.valetron.com/", + "vendor": "Valetron Systems" +} diff --git a/boards/valtrack_v4_vts_esp32_c3.json b/boards/valtrack_v4_vts_esp32_c3.json new file mode 100644 index 0000000..8197b0b --- /dev/null +++ b/boards/valtrack_v4_vts_esp32_c3.json @@ -0,0 +1,44 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32c3_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_VALTRACK_V4_VTS_ESP32_C3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_USB_CDC_ON_BOOT=1" + ], + "f_cpu": "160000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32c3", + "variant": "VALTRACK_V4_VTS_ESP32_C3" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32c3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Valetron Systems VALTRACK-V4VTS", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.valetron.com/", + "vendor": "Valetron Systems" +} diff --git a/platform.json b/platform.json index 8800db3..164f21e 100644 --- a/platform.json +++ b/platform.json @@ -70,7 +70,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~3.20006.0" + "version": "~3.20007.0" }, "framework-arduino-mbcwb": { "type": "framework", @@ -83,7 +83,7 @@ "optional": true, "owner": "platformio", "version": "~3.50000.0", - "optionalVersions": ["~3.40403.0"] + "optionalVersions": ["~3.40404.0"] }, "tool-esptoolpy": { "type": "uploader", diff --git a/platform.py b/platform.py index 8738fa9..ec1154b 100644 --- a/platform.py +++ b/platform.py @@ -97,7 +97,7 @@ class Espressif32Platform(PlatformBase): if "arduino" in frameworks: # Downgrade the IDF version for mixed Arduino+IDF projects - self.packages["framework-espidf"]["version"] = "~3.40403.0" + self.packages["framework-espidf"]["version"] = "~3.40404.0" else: # Use the latest toolchains available for IDF v5.0 for target in (