Nuclei-Software / nuclei-sdk

Nuclei RISC-V Software Development Kit
https://doc.nucleisys.com/nuclei_sdk
Apache License 2.0
117 stars 50 forks source link

GD32VF103: Update driver? #48

Closed Headcrabed closed 10 months ago

Headcrabed commented 1 year ago

Currently, SDK is still using the driver which is 2 years old. Driver from gigadevice has updated a lot since then, so better update to newer version.

fanghuaqi commented 1 year ago

Any volunteer to handle this? If you are interested, or you have some internal stuffs, you can try to upgrade it and make a PR, I can help to review it.

This is the latest firmware library website https://www.gd32mcu.com/en/download/7?kw=GD32VF1

latest version at 2022.10.9 is 1.1.4

image

Headcrabed commented 1 year ago

Seems some modification on SDK is needed. I tried directly changing firmware library to newest version but it reports tons of errors.

fanghuaqi commented 1 year ago

Seems some modification on SDK is needed. I tried directly changing firmware library to newest version but it reports tons of errors.

You need to carefully upgrade the firmware, some changes might need to be done in Makefile of gd32vf103, you can take a try in your side, and tried to make it work at least all the applications can successfully run in your board, then the upgrading is somehow ready for PR review.