From db140ffa2432daf65d1b0d748b608d08485579f7 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Sun, 21 Nov 2021 09:53:58 +0800 Subject: [PATCH] Update platformio.ini --- platformio.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 4dacf4f2..6d0a6640 100644 --- a/platformio.ini +++ b/platformio.ini @@ -40,10 +40,14 @@ lib_ignore = ESPAsyncTCP [env:esp32-S2] +;EXPERIMENTAL AND NOT WORKING FOR ME +;it seems it cannot write settings to flash and so go dead loop. +;No official support yet, check https://github.com/platformio/platform-espressif32/issues/619 +;I currently use arduino IDE to build the project and upload it to the S2 board platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream board = esp32-s2-saola-1 framework = arduino -platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-master +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git monitor_speed = 115200 monitor_flags = --echo monitor_filters = send_on_enter, colorize, esp32_exception_decoder @@ -51,7 +55,7 @@ board_build.f_cpu = 240000000L board_build.mcu = esp32s2 ; set frequency to 80MHz board_build.f_flash = 80000000L -board_build.flash_mode = dio +board_build.flash_mode = qio ; None build_flags = -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 board_build.partitions = min_spiffs.csv