Fix off-by-512-byte error in the app-side bootloader linker script

flash_with_bootloader.ld's rom region ended 512 bytes short of the
NVM region it's meant to butt up against (0x1F900 instead of
0x1FB00), leaving a small gap neither region could use. Corrected the
LENGTH and the matching maximum_size in boards/versapad.json (128K -
8K bootloader - 1.25K NVM = 121600 bytes, not 120832). Found while
double-checking the numbers for a flash-usage breakdown; current
19KB app image is nowhere near either boundary, so this never
affected anything on hardware.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Julian Appel 2026-08-05 22:30:03 +02:00
parent 6c71f5f057
commit 3986d2effe
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
"name": "VersaPad v2 (USB bootloader)",
"upload": {
"maximum_ram_size": 16384,
"maximum_size": 120832,
"maximum_size": 121600,
"offset": "0x2000",
"protocol": "custom"
},