Raspberry PI PicoW Exampe of the SNTP to set the Pico's RTC.
Runs under FreeRTOS and LWIP SNTP App.
Also runs simple workload to flash an LED on GPIO0.
- Port: contains the library port code for the FreeRTOS and LWIP libraries.
- src: main source for the example
Helper functions for SNTP are in the WifiHelper class. This also require one C function, which gets reference into lwipopts.h
Submodule are used so clone with the command:
$ git clone --recurse-submodules https://github.com/jondurrant/RPIPicoWSNTP
Built through cmake:
mkdir build
cd build
cmake ..
make