david gauchard
80c0570620
Define lwIP's s32/u32 to int ( #8560 )
...
* Define lwIP's s32/u32 to int
s32/u32 were previously defined as long,
but long can be 64 bits in host mode,
so this commit reduces valgrind complaints and increase coherency.
* some lads like to use `unsigned long` for 32 bits IPv4 addresses
* fix lwIP's `sys_now()` return type
* fix C declarations
* merge upstream (lwip2) update on sys_now() definition
* matching lwIP api (2/2)
Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
2022-05-15 21:55:56 +02:00
david gauchard
ffe5476fc4
time: import IANA timezone definitions, expose SNTP API ( #6373 )
...
* time: import IANA timezone definitions
- `configTime("timezone", "ntp servers...")` added
- timezone definitions by country/cities (TZ.h)
- script to update timezone definitions
- updated example
* fix former configTime non-matching signature
* +include
* example: add scheduled function in callback
* crlf fix
* +missing license for napt
* SNTP: expose configuration helpers
* update submodule
* update precompiled libraries
* optional: change SNTP startup delay
* makes SNTP_UPDATE_DELAY a weak function
update example
fix for lwip1.4
* on the proper use of polledTimeout api... thanks @mcspr :]
* improve update script (per review)
* update lwIP submodule
* update submodule
* hide harmless shell message
* update the release process by asking first to update TZ.h
[ci skip]
* minor update in release documentation
* update in release documentation
* update in release documentation
* clarify release documentation
* fix release documentation - sorry for the noise :(
* fixes per review
* example style
* useless variable in example
* update lwip2 submodule reference, to include espressif missing declaration fixes
2019-09-29 00:25:01 -03:00