From d8501b11bc37505e20e48b28d80e5106ec67cc0c Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 16 Aug 2020 15:40:35 +0200 Subject: [PATCH] remove NTP for ESP8266 --- platformio.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 1e067e7fe..48fb5b588 100644 --- a/platformio.ini +++ b/platformio.ini @@ -23,14 +23,13 @@ build_flags = -D FT_SECURITY=1 -D FT_MQTT=1 -D FT_OTA=1 - -D FT_NTP=1 + ; -D FT_NTP=0 -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 @@ -79,7 +78,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} +build_flags = ${common.build_flags} ${common.debug_flags} -D FT_NTP=0 lib_ignore = AsyncTCP @@ -90,4 +89,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} +build_flags = ${common.build_flags} ${common.debug_flags} -D FT_NTP=1