Commit 266aabe
committed
Refactor display/timing/watchdog APIs
Unify and modernize display and HAL code: replace udelay() calls with timing::DelayUs() and add timing includes; switch watchdog to watchdog::Init()/Feed() and include watchdog.h; rename hal::statusled enum values to k-prefixed variants and update display handling. Apply style/formatting cleanups (brace placement, indentation), modernize casts (reinterpret_cast/static_cast), make framebuffer static inline, tighten DrawLine to use signed ints, and update debug::Dump calls. Also bump copyright years and perform assorted small fixes in SPI/paint, SPI LCD, ST77xx drivers, HD44780 I2C, flashcode, and FMC operation sources.1 parent 8f46e56 commit 266aabe
62 files changed
Lines changed: 1056 additions & 2974 deletions
File tree
- bootloader-tftp/firmware
- lib-display
- include
- spi
- src/i2c
- lib-flashcodeinstall/src
- lib-flashcode/src/gd32/f4xx
- lib-gd32
- device/enet/ptp
- include
- board
- src
- f
- softuart0
- lib-hal
- include
- gd32
- rtc
- gd32
- i2c
- src
- gd32
- superloop
- lib-remoteconfig/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | | - | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
74 | | - | |
| 69 | + | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
| |||
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
118 | | - | |
119 | | - | |
| 113 | + | |
| 114 | + | |
120 | 115 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 116 | + | |
| 117 | + | |
124 | 118 | | |
125 | 119 | | |
126 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments