Skip to content

Commit db140ff

Browse files
committed
Update platformio.ini
1 parent 36a7a62 commit db140ff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

platformio.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,22 @@ lib_ignore =
4040
ESPAsyncTCP
4141

4242
[env:esp32-S2]
43+
;EXPERIMENTAL AND NOT WORKING FOR ME
44+
;it seems it cannot write settings to flash and so go dead loop.
45+
;No official support yet, check https://github.com/platformio/platform-espressif32/issues/619
46+
;I currently use arduino IDE to build the project and upload it to the S2 board
4347
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
4448
board = esp32-s2-saola-1
4549
framework = arduino
46-
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-master
50+
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
4751
monitor_speed = 115200
4852
monitor_flags = --echo
4953
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
5054
board_build.f_cpu = 240000000L
5155
board_build.mcu = esp32s2
5256
; set frequency to 80MHz
5357
board_build.f_flash = 80000000L
54-
board_build.flash_mode = dio
58+
board_build.flash_mode = qio
5559
; None
5660
build_flags = -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0
5761
board_build.partitions = min_spiffs.csv

0 commit comments

Comments
 (0)