Commit a7a86e9
committed
Move flashcode to shared gd32_fmc layer
Refactors flash read/erase/write logic out of lib-flashcode into a new shared `gd32::fmc` API in `lib-gd32` (`gd32_fmc.h` plus F/F4 implementations), and updates `FlashCode` to delegate to that API. Removes old family-specific flashcode/FMC files, adds FMC debug macros, and adjusts GD32 makefiles/rules to pull sources/includes from the new structure. Also adds GD32F10X softuart0 timer/IRQ mapping support.1 parent 05d98a2 commit a7a86e9
14 files changed
Lines changed: 515 additions & 842 deletions
File tree
- lib-flashcodeinstall
- lib-flashcode
- src/gd32
- f4xx
- h7xx
- lib-gd32
- include
- src
- f
- fmc4
- fmc
- softuart0
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
This file was deleted.
This file was deleted.
0 commit comments