mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Add example dynamic build_flags
This commit is contained in:
@ -351,6 +351,10 @@ Example:
|
|||||||
[env:specific_ld_script]
|
[env:specific_ld_script]
|
||||||
build_flags = -Wl,-T/path/to/ld_script.ld
|
build_flags = -Wl,-T/path/to/ld_script.ld
|
||||||
|
|
||||||
|
[env:exec_command]
|
||||||
|
# get VCS revision "on-the-fly"
|
||||||
|
build_flags = !echo "-DPIO_SRC_REV="$(git rev-parse HEAD)
|
||||||
|
|
||||||
|
|
||||||
For more detailed information about available flags/options go to:
|
For more detailed information about available flags/options go to:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user