diff --git a/arduinoIDE_esp32_boards/boards.local.txt b/arduinoIDE_esp32_boards/boards.local.txt index 8b9fa28b45f16c094cf6fc89a471a8bc137fe0c2..d22f2c21c35986c8d5eb2039b9b6c8ef32348a9d 100644 --- a/arduinoIDE_esp32_boards/boards.local.txt +++ b/arduinoIDE_esp32_boards/boards.local.txt @@ -36,7 +36,9 @@ neOSensor.build.flash_mode=dio neOSensor.build.flash_size=4MB neOSensor.build.flash_freq=80m neOSensor.build.boot=dio -neOSensor.build.partitions=default +# [feb.24] disabling default to enable choices +#neOSensor.build.partitions=default + # onboard LED2 (except on ESP32 38pins we don't use) # DISABLE_SSL: flag to disable SSL comms. # DISABLE_ADC_CAL: flag to disable esp32 ADC advanced calibration @@ -56,6 +58,12 @@ neOSensor.menu.UploadSpeed.115200.upload.speed=115200 # FLASH partitioning neOSensor.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) neOSensor.menu.PartitionScheme.default.build.partitions=default +# [feb.24] additional FLASH partitioning options +neOSensor.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS) +neOSensor.menu.PartitionScheme.defaultffat.build.partitions=default_ffat +neOSensor.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS) +neOSensor.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs +neOSensor.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080 # Core debug neOSensor.menu.DebugLevel.none=None diff --git a/neosensor/neosensor.ino b/neosensor/neosensor.ino index f7801a4ca5ff48870335319992c2cb64ffb1e441..93ec61f47daf1873c07cefe9cedb4ac724cd1e2d 100644 --- a/neosensor/neosensor.ino +++ b/neosensor/neosensor.ino @@ -151,8 +151,8 @@ * This stems from tha fact that UT3 network's DNS does NOT resolve IRIT IPs * and vice-versa ... hence leading to numerous DNS failures ! */ -#define NTP_DEFAULT_SERVER1 "time.nist.gov" // DNS location aware -#define NTP_DEFAULT_SERVER2 "pool.ntp.org" // DNS location aware +#define NTP_DEFAULT_SERVER1 "pool.ntp.org" // DNS location aware +#define NTP_DEFAULT_SERVER2 "time.nist.gov" // DNS location aware //#define NTP_DEFAULT_SERVER2 "141.115.4.42" // [feb.24] to avoid 'ntp.irit.fr' DNS resolution that fails at UT3 //#define NTP_DEFAULT_SERVER2 "ntp.irit.fr" // UT3-IRIT specific #define NTP_DEFAULT_SERVER3 "europe.pool.ntp.org" // DNS location aware