AminSahebi / RPIPicoWSNTP

SNTP Example with FreeRTOS and LWIP SNTP App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPIPicoWSNTP

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.

Video tutorial

Folders

  • Port: contains the library port code for the FreeRTOS and LWIP libraries.
  • src: main source for the example

SNTP Functions

Helper functions for SNTP are in the WifiHelper class. This also require one C function, which gets reference into lwipopts.h

Clone and Build

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

About

SNTP Example with FreeRTOS and LWIP SNTP App

License:MIT License


Languages

Language:C 49.5%Language:C++ 32.2%Language:CMake 18.3%