Skip to content

About

Project idea is to use rtc, make synchronisation with NTP protocol.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

ch579m_rtc_ntp

Project idea is to use RTC(real time clock) and synchronise time using SNTP protocol. Time should be printed over serial and through web browser, rtc time can be updated with update button.

I do not use any tools for compilation. Sources are compiled with simple bash script. Compile:

chmod +x make.sh(if necessary)
make.sh

Compiled using: arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)Link GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)

alt text

Board can be programmed over USB cable using https://github.com/ch32-rs/wchisp.

wchisp flash output.elf

lwip usage is based on another project with lwip port for ch579: https://gitee.com/maji19971221/lwip-routine. Project uses lwip: https://savannah.nongnu.org/projects/lwip/

About

Project idea is to use rtc, make synchronisation with NTP protocol.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages