CommunityGD32Cores / ArduinoCore-GD32

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

Timer enums for the XD series match the CL series, not the HD series. #40

Closed obra closed 2 years ago

obra commented 2 years ago

Without this change, it's impossible to build the core on an XD series device

This is a prereq for #39 working

maxgerhardt commented 2 years ago

Thanks, I'll be checking what the core does there and what interrupts each series is supposed to have shortly. There might other bugs of this sort lurking around.

maxgerhardt commented 2 years ago

Verified against the startup files and original ARM files at https://github.com/CommunityGD32Cores/gigadevice-firmware-and-docs/tree/main/GD32F30x/GD32F30x_Firmware_Library_V2.1.2/Firmware/CMSIS/GD/GD32F30x/Source/ARM, looks good.