extras/timekeeping -- provide POSIX-like interface (#578)

This commit is contained in:
Jeff Kletsky 2018-02-28 16:01:40 -08:00 committed by Ruslan V. Uss
parent ed1a6cc6f3
commit 33082ba2c9
15 changed files with 2591 additions and 0 deletions

View file

@ -0,0 +1,20 @@
PROGRAM=timekeeping_sntp_run
# Test the use of extras/timekeeping with LWIP SNTP
EXTRA_COMPONENTS = extras/timekeeping
# Can work for broadcast or poll
# (assuming you have NTP broadcast already configured on the network)
# Broadcast / poll and hosts for poll set in timekeeping_sntp_run.c
# SNTP parameters set at the top of lwipopts.h
# To set then only log time difference (rather than correct the clock)
# define TIMEKEEPING_SET_AND_MEASURE_ONLY
# PROGRAM_CFLAGS = $(CFLAGS) -DTIMEKEEPING_SET_AND_MEASURE_ONLY
include ../../../../common.mk