Adjust so d1_mini board is default, esp32dev unchanged
Retained ability to specify a default board, and automatically
select from settings particular to each board. Concern was
to not break existing compiles when using new platform.ini,
so default board is set to d1_mini. Settings for esp32dev
is unchanged. Additions for esp_wrover_kit are retained.
[platformio]
;set default_envs to whichever board(s) you use. Build/Run/etc processes those envs
default_envs =
-; d1_mini
+ d1_mini
; esp32dev
- esp-wrover-kit
+; esp-wrover-kit
[env]
; Global data for all [env:***]
@@ -40,20 +40,29 @@ 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
-
-[env:esp32dev]
-extends = espressif32_base
-board = esp32dev
+;monitor_filters = esp32_exception_decoder
[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
+
