mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
remove NTP for ESP8266
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user