mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 19:50:36 +08:00
Update platformio.ini
This commit is contained in:
parent
36a7a62e2b
commit
db140ffa24
@ -40,10 +40,14 @@ lib_ignore =
|
|||||||
ESPAsyncTCP
|
ESPAsyncTCP
|
||||||
|
|
||||||
[env:esp32-S2]
|
[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
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
|
||||||
board = esp32-s2-saola-1
|
board = esp32-s2-saola-1
|
||||||
framework = arduino
|
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_speed = 115200
|
||||||
monitor_flags = --echo
|
monitor_flags = --echo
|
||||||
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
||||||
@ -51,7 +55,7 @@ board_build.f_cpu = 240000000L
|
|||||||
board_build.mcu = esp32s2
|
board_build.mcu = esp32s2
|
||||||
; set frequency to 80MHz
|
; set frequency to 80MHz
|
||||||
board_build.f_flash = 80000000L
|
board_build.f_flash = 80000000L
|
||||||
board_build.flash_mode = dio
|
board_build.flash_mode = qio
|
||||||
; None
|
; 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
|
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
|
board_build.partitions = min_spiffs.csv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user