Add example dynamic build_flags

This commit is contained in:
Ivan Kravets
2016-07-09 14:38:49 +03:00
parent f767feeef9
commit e33e950712

View File

@ -351,6 +351,10 @@ Example:
[env:specific_ld_script]
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: