Achieved using CONFIG_NET_CONFIG_CLOCK_SNTP_INIT option, i.e. querying time over network using SNTP. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
5 lines
107 B
Makefile
5 lines
107 B
Makefile
# This makefile builds the sample for a POSIX system, like Linux
|
|
|
|
gettimeofday: src/main.c
|
|
$(CC) $^ -o $@
|