mirror of
https://github.com/Fishwaldo/LMIC-node.git
synced 2025-03-15 19:31:44 +00:00
Fix nodemcuv2 PRINTF_TO for espressif8266 v3.0.0
Add -D _GNU_SOURCE to [env:nodemcuv2] in platformio.ini. Espressif8266 platform v3.0.0 now also requires this, otherwise LMIC_PRINTF_TO will fail to compile.
This commit is contained in:
parent
7b50326413
commit
b4142760a5
1 changed files with 3 additions and 2 deletions
|
@ -741,6 +741,7 @@ build_flags =
|
|||
${mcci_lmic.build_flags}
|
||||
-D BSFILE=\"boards/bsf_nodemcuv2.h\"
|
||||
-D MONITOR_SPEED=${env:nodemcuv2.monitor_speed}
|
||||
-D _GNU_SOURCE
|
||||
-D LMIC_PRINTF_TO=Serial
|
||||
-D USE_SERIAL
|
||||
-D USE_LED
|
||||
|
|
Loading…
Add table
Reference in a new issue