esmil / gd32vf103inator Goto Github PK
View Code? Open in Web Editor NEWProgram the GD32VF103 using C, your favourite editor and make
License: BSD 3-Clause "New" or "Revised" License
Program the GD32VF103 using C, your favourite editor and make
License: BSD 3-Clause "New" or "Revised" License
Hello,
could you please post binaries of the DFU loader and longan nano example ? I am having trouble building the code correctly - it freezes in some (usbfs, dp_init, also printf) functions. It would be nice to have reference code to compare to :-) So far i know that: interrupts, gpio, rcu, and mtimer are working correctly.
thanks
md
Your structures that "map" to register space are not packed. It is probably ok for uint32_t filled structures, but other sizes might get padded.
Have you tried building with Clang? To make it compatible for both compilers, not just GCC.
There are many incompatibilities with assembler directives and linker script style.
I struggled for a few hours uploading your bootloader, only to realize that my boards had GD32VF103C8 instead of GD32VF103CB chips, basically 64K flash, 20K ram. I figured they would all be the same, but evidently I got a cheap assembler. Just wanted to throw that out to save someone else some trouble.
I've got it working out great now though, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.