Hi all,
I am trying to set a build flag for the source revision following this example:
[env:exec_command]
; get VCS revision "on-the-fly"
build_flags = !echo "-DPIO_SRC_REV="$(git rev-parse HEAD)
But I am getting an error when I try to compile that says
*** [.pioenvs\nodemcu\firmware.elf] Implicit dependency
C:\Users\ckolo.platformio\platforms\e
spressif8266\builder\rev-parse’ not found, needed by target .pioenvs\nodemcu\firmware.elf'.
Any help would be much appreciated.
Cheers
This is Unix style hook. I’ll update docs according to this issue