From 90130b696c88f9dbd4338911b8d0b389bfb34f98 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 17 Feb 2023 19:34:20 +0200 Subject: [PATCH 01/12] Update esptoolpy to v4.5.0 Resolves #1025 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 4afeafa..8800db3 100644 --- a/platform.json +++ b/platform.json @@ -88,7 +88,7 @@ "tool-esptoolpy": { "type": "uploader", "owner": "platformio", - "version": "~1.40400.0" + "version": "~1.40500.0" }, "tool-mbctool": { "optional": true, From 6bfea508a660e41c8bfbd4b64c41be6f4c43eb4e Mon Sep 17 00:00:00 2001 From: sigmdel <2302627+sigmdel@users.noreply.github.com> Date: Wed, 22 Feb 2023 05:57:54 -0400 Subject: [PATCH 02/12] Add new HWIDs for seeed_xiao_esp32c3 Added 303A:1001 --- boards/seeed_xiao_esp32c3.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/seeed_xiao_esp32c3.json b/boards/seeed_xiao_esp32c3.json index 4d8ded0..9f9c7b0 100644 --- a/boards/seeed_xiao_esp32c3.json +++ b/boards/seeed_xiao_esp32c3.json @@ -16,7 +16,11 @@ [ "0x2886", "0x0047" - ] + ], + [ + "0x303a", + "0x1001" + ] ], "mcu": "esp32c3", "variant": "XIAO_ESP32C3" From b94ae136e942cd13edcaf56ec016710e47fee49c Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 27 Feb 2023 12:18:01 +0200 Subject: [PATCH 03/12] Update Arduino core to v2.0.7 - New boards (resolves #915, resolves #1009) - Updated IDF to v4.4.4 for mixed projects --- .../adafruit_feather_esp32s2_reversetft.json | 63 ++++++++++++++++++ boards/adafruit_feather_esp32s2_tft.json | 11 +++- .../adafruit_feather_esp32s3_reversetft.json | 65 +++++++++++++++++++ boards/deneyapkart1Av2.json | 4 +- boards/edgebox-esp-100.json | 40 ++++++++++++ boards/lilygo-t-display-s3.json | 48 ++++++++++++++ boards/roboheart_hercules.json | 39 +++++++++++ boards/valtrack_v4_mfw_esp32_c3.json | 44 +++++++++++++ boards/valtrack_v4_vts_esp32_c3.json | 44 +++++++++++++ platform.json | 4 +- platform.py | 2 +- 11 files changed, 359 insertions(+), 5 deletions(-) create mode 100644 boards/adafruit_feather_esp32s2_reversetft.json create mode 100644 boards/adafruit_feather_esp32s3_reversetft.json create mode 100644 boards/edgebox-esp-100.json create mode 100644 boards/lilygo-t-display-s3.json create mode 100644 boards/roboheart_hercules.json create mode 100644 boards/valtrack_v4_mfw_esp32_c3.json create mode 100644 boards/valtrack_v4_vts_esp32_c3.json 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 ( From 3090e34f2c30f89a6f4893acc518ee2152e4565b Mon Sep 17 00:00:00 2001 From: Tinyu Date: Mon, 27 Feb 2023 18:29:54 +0800 Subject: [PATCH 04/12] Add board definitions for M5AtomS3 (#999) --- boards/m5stack-atoms3 | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 boards/m5stack-atoms3 diff --git a/boards/m5stack-atoms3 b/boards/m5stack-atoms3 new file mode 100644 index 0000000..f5e87d3 --- /dev/null +++ b/boards/m5stack-atoms3 @@ -0,0 +1,46 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_M5Stack_ATOMS3", + "-DARDUINO_USB_MODE=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": "m5stack_atoms3" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "M5Stack AtomS3", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://docs.m5stack.com/en/core/AtomS3", + "vendor": "M5Stack" +} From e4262ee579743438d729f9685aedcb5106a04819 Mon Sep 17 00:00:00 2001 From: Luke Marzen <98473324+lmarzen@users.noreply.github.com> Date: Mon, 27 Feb 2023 04:34:44 -0600 Subject: [PATCH 05/12] Add support for DFRobot FireBeetle 2 ESP32-E board (#1026) --- boards/dfrobot_firebeetle2_esp32e.json | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 boards/dfrobot_firebeetle2_esp32e.json diff --git a/boards/dfrobot_firebeetle2_esp32e.json b/boards/dfrobot_firebeetle2_esp32e.json new file mode 100644 index 0000000..0d3790c --- /dev/null +++ b/boards/dfrobot_firebeetle2_esp32e.json @@ -0,0 +1,39 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_DFROBOT_FIREBEETLE_2_ESP32E", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "dfrobot_firebeetle2_esp32e" + }, + "connectivity": [ + "wifi", + "bluetooth" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "DFRobot Firebeetle 2 ESP32-E", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654", + "vendor": "DFRobot" +} From aa5beb4f1a207659f9fb0b0952e6a01513237fca Mon Sep 17 00:00:00 2001 From: Fredrik Kling <1664069+gnilk@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:37:17 +0100 Subject: [PATCH 06/12] Expand OS vars in build.esp-idf.sdkconfig_path (#995) --- builder/frameworks/espidf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index fed7865..47f44b1 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -84,10 +84,10 @@ BUILD_DIR = env.subst("$BUILD_DIR") PROJECT_DIR = env.subst("$PROJECT_DIR") PROJECT_SRC_DIR = env.subst("$PROJECT_SRC_DIR") CMAKE_API_REPLY_PATH = os.path.join(".cmake", "api", "v1", "reply") -SDKCONFIG_PATH = board.get( +SDKCONFIG_PATH = os.path.expandvars(board.get( "build.esp-idf.sdkconfig_path", os.path.join(PROJECT_DIR, "sdkconfig.%s" % env.subst("$PIOENV")), -) +)) def get_project_lib_includes(env): From 4cef0e5b1eea8059a73c25fb5725be2b3efaff15 Mon Sep 17 00:00:00 2001 From: Baptiste <48880112+Baptou88@users.noreply.github.com> Date: Tue, 28 Feb 2023 17:34:43 +0100 Subject: [PATCH 07/12] Added support for Heltec V3 boards (#954) Added boards: Heltec WiFi LoRa 32 (V3) and Heltec WiFi Kit 32 (V3) --- boards/heltec_wifi_kit_32_V3.json | 47 +++++++++++++++++++++++++++++ boards/heltec_wifi_lora_32_V3.json | 48 ++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 boards/heltec_wifi_kit_32_V3.json create mode 100644 boards/heltec_wifi_lora_32_V3.json diff --git a/boards/heltec_wifi_kit_32_V3.json b/boards/heltec_wifi_kit_32_V3.json new file mode 100644 index 0000000..d106319 --- /dev/null +++ b/boards/heltec_wifi_kit_32_V3.json @@ -0,0 +1,47 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_heltec_wifi_kit_32_V3", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-DARDUINO_USB_MODE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_wifi_kit_32_v3" + }, + "connectivity": [ + "wifi", + "bluetooth" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec WiFi Kit 32 (V3)", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wifi-kit-32-v3/", + "vendor": "Heltec" +} diff --git a/boards/heltec_wifi_lora_32_V3.json b/boards/heltec_wifi_lora_32_V3.json new file mode 100644 index 0000000..09a8e1c --- /dev/null +++ b/boards/heltec_wifi_lora_32_V3.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_heltec_wifi_lora_32_V3", + "-DARDUINO_USB_MODE=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": "heltec_wifi_lora_32_V3" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec WiFi LoRa 32 (V3)", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wifi-lora-32-v3/", + "vendor": "Heltec" +} From 4284bc9bab57e5ed49d80aafbf969005342ec2e8 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 1 Mar 2023 13:43:16 +0200 Subject: [PATCH 08/12] Fix file extension for Atom-S3 --- boards/{m5stack-atoms3 => m5stack-atoms3.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boards/{m5stack-atoms3 => m5stack-atoms3.json} (100%) diff --git a/boards/m5stack-atoms3 b/boards/m5stack-atoms3.json similarity index 100% rename from boards/m5stack-atoms3 rename to boards/m5stack-atoms3.json From 5e0a6c3d92ddcdfaf10b49167a77f02cd28969b6 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 1 Mar 2023 14:02:59 +0200 Subject: [PATCH 09/12] Update IDF to v5.0.1 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 164f21e..620eb23 100644 --- a/platform.json +++ b/platform.json @@ -82,7 +82,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~3.50000.0", + "version": "~3.50001.0", "optionalVersions": ["~3.40404.0"] }, "tool-esptoolpy": { From 48c4226e5240c873dae6b28adbb93ad8ca582b5d Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 3 Mar 2023 14:13:44 +0200 Subject: [PATCH 10/12] IDF: Propagate build flags for ASM files Resolves #1048 --- builder/frameworks/espidf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 47f44b1..a2fc74f 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -620,7 +620,10 @@ def prepare_build_envs(config, default_env, debug_allowed=True): source_index = cg.get("sourceIndexes")[0] build_flags = _fix_component_relative_include( config, build_flags, source_index) - build_env.AppendUnique(**build_env.ParseFlags(build_flags)) + parsed_flags = build_env.ParseFlags(build_flags) + build_env.AppendUnique(**parsed_flags) + if cg.get("language", "") == "ASM": + build_env.AppendUnique(ASFLAGS=parsed_flags.get("CCFLAGS", [])) build_env.AppendUnique(CPPDEFINES=defines, CPPPATH=includes) if sys_includes: build_env.Append(CCFLAGS=[("-isystem", inc) for inc in sys_includes]) From 6fb9e8c1b7e83493dbf0d8fb41464645e0dc80b5 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 8 Mar 2023 19:50:49 +0200 Subject: [PATCH 11/12] Update default sdkconfig for ULP ADC example --- examples/espidf-ulp-adc/sdkconfig.defaults | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/espidf-ulp-adc/sdkconfig.defaults b/examples/espidf-ulp-adc/sdkconfig.defaults index 7214df1..1dffd2c 100644 --- a/examples/espidf-ulp-adc/sdkconfig.defaults +++ b/examples/espidf-ulp-adc/sdkconfig.defaults @@ -1,6 +1,7 @@ # Enable ULP -CONFIG_ESP32_ULP_COPROC_ENABLED=y -CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=1024 +CONFIG_ULP_COPROC_ENABLED=y +CONFIG_ULP_COPROC_TYPE_FSM=y +CONFIG_ULP_COPROC_RESERVE_MEM=1024 # Set log level to Warning to produce clean output CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y CONFIG_BOOTLOADER_LOG_LEVEL=2 From 9f81feafdcc86e2a9f0ed5a2550cbc2370fd1584 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 8 Mar 2023 19:51:29 +0200 Subject: [PATCH 12/12] Bump version to 6.1.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 620eb23..f286c0c 100644 --- a/platform.json +++ b/platform.json @@ -18,7 +18,7 @@ "type": "git", "url": "https://github.com/platformio/platform-espressif32.git" }, - "version": "6.0.1", + "version": "6.1.0", "frameworks": { "arduino": { "package": "framework-arduinoespressif32",