CommunityGD32Cores / ArduinoCore-GD32

Arduino core for GD32 devices, community developed, based on original GigaDevice's core
Other
85 stars 33 forks source link

Add GD32F10x SPL files from GD32F10x_Firmware_Library_V2.2.4 #110

Open dmlambo opened 9 months ago

dmlambo commented 9 months ago

In preparation for further F103 changes. No changes made to the files yet, these are directly from GD32F10x_Firmware_Library_V2.2.3.rar

maxgerhardt commented 9 months ago

I remember there were some ever-standing bugs in the verbatim SPL, like them defining their own BOOL / FALSE / TRUE type or a bug in the SPI frequency setting code not clearing the previous value. Will have to look at it carefully.

dmlambo commented 9 months ago

Yep, I have those changes in my messy branch. I just wanted to get the verbatim files in there so the changes I make to get it working are more obvious.

dmlambo commented 9 months ago

To be clear I won't be adding any changes to this pull request... I intend break up my monolith draft PR into smaller more readable chunks to facilitate discussion, and not litter with thousands of lines of added 3rd party code.

dmlambo commented 9 months ago

Just kidding, I couldn't find my source for the rar file, so I grabbed the latest from GigaDevices.