From dc8f2d4a63bdb5840f78e3bf62a2e00fdcd03dd3 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 3 Mar 2021 11:22:18 +0100 Subject: [PATCH] Flash mode has to be DIO --- boards/esp32s2.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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" }