diff --git a/boards/esp32s2.json b/boards/esp32s2.json index b9142d4c8..d53adefc6 100644 --- a/boards/esp32s2.json +++ b/boards/esp32s2.json @@ -4,21 +4,23 @@ "ldscript": "esp32s2_out.ld" }, "core": "esp32", - "mcu": "esp32s2", - "extra_flags": "-Desp32S2_dev_module", "f_cpu": "240000000L", "f_flash": "80000000L", - "flash_mode": "qio", + "flash_mode": "dio", "mcu": "esp32s2", "variant": "esp32s2" }, "connectivity": [ "wifi" ], + "debug": { + "openocd_target": "esp32s2.cfg" + }, "frameworks": [ + "espidf", "arduino" ], - "name": "ESP32S2 Dev Module", + "name": "Espressif ESP32-S2-Saola-1", "upload": { "flash_size": "4MB", "maximum_ram_size": 327680, @@ -26,6 +28,6 @@ "require_upload_port": true, "speed": 460800 }, - "url": "https://espressif.com", - "vendor": "espressif" + "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html", + "vendor": "Espressif" } diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 1f124264d..3b7ff4d7a 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -171,6 +171,7 @@ build_flags = ${common32.build_flags} [env:tasmota32s2] extends = env:tasmota32 board = esp32s2 +board_build.flash_mode = qio platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/s2-1.0.5-rc6/esp32-s2-1.0.5-rc6.zip platformio/tool-mklittlefs @ ~1.203.200522 platformio/tool-esptoolpy @ ~1.30000.0