Skip to content

Commit

Permalink
escape strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Mullins committed Apr 1, 2017
1 parent 2513197 commit e87315d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lib_deps_external =
RF24
WiFiManager
ArduinoJson
build_flags = -D MILIGHT_HUB_VERSION=\"1.1.0\"
build_flags = !echo -D MILIGHT_HUB_VERSION=\\\"$(git describe --always)\\\"
# -D MILIGHT_UDP_DEBUG

[env:nodemcuv2]
Expand All @@ -26,7 +26,7 @@ board = nodemcuv2
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=\"nodemcuv2\"
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=\\\"nodemcuv2\\\"

[env:d1_mini]
platform = espressif8266
Expand All @@ -35,13 +35,13 @@ board = d1_mini
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=\"d1_mini\"
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=\\\"d1_mini\\\"

[env:esp12]
platform = espressif8266
board = esp12e
framework = arduino
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=\"esp12\"
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=\\\"esp12\\\"
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
Expand All @@ -50,7 +50,7 @@ lib_deps =
platform = espressif8266
board = esp07
framework = arduino
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m64.ld -D FIRMWARE_VARIANT=\"esp07\"
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m64.ld -D FIRMWARE_VARIANT=\\\"esp07\\\"
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}

0 comments on commit e87315d

Please sign in to comment.