You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CH32VM00X] Update SDK to apply correct clock #198
I ran the CH32V006 in an Arduino environment and noticed that
the delay() function was waiting longer than it should.
Assuming that there was a problem with the clock settings,
I first looked at the SDK and noticed that it was fixed in the latest SDK,
so I synchronized it with this SDK.
https://www.wch.cn/downloads/CH32V006EVT_ZIP.html (Ver.1.4)
$ cp /path/to/EVT/EXAM/GPIO/GPIO_Toggle/User/* /path/to/arduino_core_ch32/system/CH32VM00X/USER/
$ cd /path/to/arduino_core_ch32/system/CH32VM00X/USER/
$ find . -type f | xargs file |grep CRLF | awk -F: '{print $1}' | xargs nkf -Lu --overwrite
The SDK source code and the code in this repository use different line endings, so I converted them using a command..
openwch/arduino_core_ch32#198
0 commit comments