Repository navigation
Commit fa3faff
authored
chore: drop the 64-bit division and keep INFO_UF2.TXT text in flash only (#74)
* fix(dfu): compute the startup timeout ticks in 32 bits
APP_TIMER_TICKS is 64-bit and pulls __udivmoddi4 into the image for one
call site. The 32-bit form gives the same tick count for any timeout under
131 s.
* chore: keep INFO_UF2.TXT text in flash only and build the file in bss1 parent 22f4736 commit fa3faff
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
| |||
0 commit comments