Commit 53b8f40
committed
Add GD32F30X TIMER7 definitions for soft UART
Introduce a GD32F30X-specific preprocessor branch in lib-gd32/src/softuart0/uart0.cpp that maps TIMERx to TIMER7 and sets RCU_TIMERx, TIMERx_IRQHandler, and TIMERx_IRQn accordingly. This enables the soft UART code to compile and use the correct timer/IRQ on GD32F30X devices.1 parent b9824b3 commit 53b8f40
2 files changed
Lines changed: 5 additions & 43 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments