Enable three options common to esp32
the esp32 monitor helps provide a call traceback when device resets
the no_ota.csv memory mapping allows the firmware footprint to
fit into available flash.
some compiler warnings are suppressed with build_unflags, but this
option isn't mandatory.
@@ -40,29 +40,21 @@ extra_scripts = extra_script.py
[espressif32_base]
;this section has config items common to the espressif32 platform
platform = espressif32
-
-[env:esp32dev]
-extends = espressif32_base
-board = esp32dev
; Un-comment the following if you get an error about [-Werror=reorder]
-;build_unflags = -Werror=reorder
+build_unflags = -Werror=reorder
; Un-comment the following if you get an error about
; insufficient memory after compiling and linking:
-;board_build.partitions = no_ota.csv
+board_build.partitions = no_ota.csv
; Un-comment the following if you want more
; details about runtime errors:
-;monitor_filters = esp32_exception_decoder
+monitor_filters = esp32_exception_decoder
+
+[env:esp32dev]
+extends = espressif32_base
+board = esp32dev
[env:esp-wrover-kit]
extends = espressif32_base
board = esp-wrover-kit
upload_speed = 460800
-; Un-comment the following if you get an error about [-Werror=reorder]
-build_unflags = -Werror=reorder
-; Un-comment the following if you get an error about
-; insufficient memory after compiling and linking:
-board_build.partitions = no_ota.csv
-; Un-comment the following if you want more
-; details about runtime errors:
-monitor_filters = esp32_exception_decoder
