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
gd32: update includes, IRQs, and timer flag clears
Add compiler options and tidy up GD32 platform code:
- Add common/make/gd32/Gd32FirmwareOps.mk with GD32FIRMWAREOPS warnings flags.
- Change include handling to use -isystem for CMSIS and lib-gd32 headers, reorder/include common and project include paths (common/make/gd32/Includes.mk).
- Remove redundant static_cast<uint32_t> when clearing TIMER_INTF flags in lib-dmx/src/gd32/dmx.cpp, lib-gd32/src/softuart0/uart0.cpp, and lib-gd32/src/timer6.cpp.
- Add IRQ naming support for GD32F30X_XD in uart0.cpp.
- Simplify gd32xxxx.h by removing GCC diagnostic push/pop pragmas and add support for GD32F30X_XD in MCU selection.
These changes reduce noisy casts, improve include handling for third-party headers, and add device/IRQ support.
0 commit comments