Hi,
Let us say we have the following platformio.ini:
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
framework = arduino
build_flags =
-DSERIAL_BAUD_RATE=${LOCAL.monitor_speed}
-DDEBUG_ESP_PORT=Serial
-DDEBUG_ESP_CORE
monitor_speed = 115200
Is it possible to access monitor_speed
and assign it to a build_flag DSERIAL_BAUD_RATE
without extracting monitor_speed to another [section]? or without stating explicitly in which section it lives as long as it is in the same section in which I want to access it? Accessing it like this does not work ${monitor_speed}
.