adding NTP back to ESP8266 buiild

This commit is contained in:
proddy
2020-08-14 10:10:38 +02:00
parent 53ce2105eb
commit 4dc61dfa3c

View File

@@ -23,12 +23,14 @@ build_flags =
-D FT_SECURITY=1
-D FT_MQTT=1
-D FT_OTA=1
-D FT_NTP=1
-D FT_UPLOAD_FIRMWARE=1
-D ONEWIRE_CRC16=0
-D NO_GLOBAL_ARDUINOOTA
-D ARDUINOJSON_ENABLE_STD_STRING=1
-D PROGMEM_WWW
-D CORS_ORIGIN=\"http://localhost:3000\"
-D NO_EXTRA_4K_HEAP
; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
; -D ENABLE_CORS
@@ -77,7 +79,7 @@ board_build.f_cpu = 160000000L ; 160MHz
; eagle.flash.4m1m.ld = 1019 KB sketch, 1000 KB SPIFFS. 4KB EEPROM, 4KB RFCAL, 12KB WIFI stack, 2052 KB OTA & buffer
; eagle.flash.4m2m.ld = 1019 KB sketch, 2024 KB SPIFFS. 4KB EEPROM, 4KB RFCAL, 12KB WIFI stack, 1028 KB OTA & buffer
; board_build.ldscript = eagle.flash.4m2m.ld
build_flags = ${common.build_flags} ${common.debug_flags} -D FT_NTP=0
build_flags = ${common.build_flags} ${common.debug_flags}
lib_ignore =
AsyncTCP
@@ -88,4 +90,4 @@ build_type = release
platform = https://github.com/platformio/platform-espressif32.git
board_build.partitions = min_spiffs.csv ; https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/
lib_deps = ${common.libs_core}
build_flags = ${common.build_flags} ${common.debug_flags} -D FT_NTP=1
build_flags = ${common.build_flags} ${common.debug_flags}