Adds new way to use feature flags

This commit is contained in:
Rune Harlyk
2024-03-28 13:01:23 +01:00
committed by Rune Harlyk
parent 0acbb4c83a
commit 6b47100f3f
3 changed files with 76 additions and 3 deletions
+13 -3
View File
@@ -8,15 +8,25 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
extra_configs =
factory_settings.ini
features.ini
[base]
platform = espressif32
framework = arduino
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
monitor_filters =
esp32_exception_decoder
default
colorize
build_flags =
-DCORE_DEBUG_LEVEL=3
${factory_settings.build_flags}
${features.build_flags}
-D CORE_DEBUG_LEVEL=5
-D register=
-std=gnu++17
-Dregister=
build_unflags = -std=gnu++11
test_ignore = test_embedded
lib_deps =