Skip to content

Commit

Permalink
Use arduino core 3 for esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrysbita committed Nov 19, 2024
1 parent d2b2edf commit bc7c0bd
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,30 @@ build_unflags = -Os
upload_speed = 921600
upload_resetmethod = nodemcu
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.20.1
lib_deps = bblanchon/ArduinoJson@^6.21.2

[env:pico32]
platform = espressif32
# https://github.com/platformio/platform-espressif32/issues/1225
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-632e0c2a.zip
framework = arduino
board = pico32
build_flags = -O3 -std=gnu++17
build_unflags = -Os -std=gnu++11
build_flags = -O3
build_unflags = -Os
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.20.1
lib_deps = bblanchon/ArduinoJson@^6.21.2

[env:esp32-s3-devkitc-1]
platform = espressif32
# https://github.com/platformio/platform-espressif32/issues/1225
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-632e0c2a.zip
framework = arduino
board = esp32-s3-devkitc-1
build_flags = -O3 -std=gnu++17
build_unflags = -Os -std=gnu++11
build_flags = -O3
build_unflags = -Os
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.20.1
lib_deps = bblanchon/ArduinoJson@^6.21.2

0 comments on commit bc7c0bd

Please sign in to comment.