Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jun 5, 2024
1 parent 5e39ea0 commit 08aec09
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ default_envs = oss-esp32-debug, pro-esp32-debug, trial-esp32-debug, oss-esp32s-d
[env]
framework = arduino
platform = [email protected]
platform_packages=
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.1
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.1/esp32-arduino-libs-3.0.1.zip
; platform_packages=
; platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.1
; platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.1/esp32-arduino-libs-3.0.1.zip
board = esp32dev
monitor_filters = esp32_exception_decoder, log2file
monitor_speed = 115200
Expand Down Expand Up @@ -101,15 +101,14 @@ board_build.embed_files =
; https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-compiler-optimization-assertion-level
# https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/performance/size.html
build_flags =
-O2
; -Os
-Os
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
-D NDEBUG
-D RELEASE=1

[debug]
build_flags =
-O0
-Og
-ggdb -ggdb3 -g3
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
Expand Down

0 comments on commit 08aec09

Please sign in to comment.