mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add NTP back for ESP8266
This commit is contained in:
@@ -23,7 +23,7 @@ build_flags =
|
|||||||
-D FT_SECURITY=1
|
-D FT_SECURITY=1
|
||||||
-D FT_MQTT=1
|
-D FT_MQTT=1
|
||||||
-D FT_OTA=1
|
-D FT_OTA=1
|
||||||
; -D FT_NTP=0
|
-D FT_NTP=1
|
||||||
-D FT_UPLOAD_FIRMWARE=1
|
-D FT_UPLOAD_FIRMWARE=1
|
||||||
-D ONEWIRE_CRC16=0
|
-D ONEWIRE_CRC16=0
|
||||||
-D NO_GLOBAL_ARDUINOOTA
|
-D NO_GLOBAL_ARDUINOOTA
|
||||||
@@ -78,15 +78,15 @@ 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.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
|
; 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
|
; 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 =
|
lib_ignore =
|
||||||
AsyncTCP
|
AsyncTCP
|
||||||
|
|
||||||
[env:esp32]
|
[env:esp32]
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
build_type = release
|
build_type = release
|
||||||
; platform = espressif32
|
platform = espressif32
|
||||||
platform = https://github.com/platformio/platform-espressif32.git
|
; platform = https://github.com/platformio/platform-espressif32.git
|
||||||
board_build.partitions = min_spiffs.csv ; https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/
|
board_build.partitions = min_spiffs.csv ; https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/
|
||||||
lib_deps = ${common.libs_core}
|
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}
|
||||||
|
|||||||
Reference in New Issue
Block a user