VersaMCU/boards/versapad.json
Julian Appel 3986d2effe 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>
2026-08-05 22:30:03 +02:00

30 lines
702 B
JSON

{
"build": {
"arduino": {
"ldscript": "flash_with_bootloader.ld",
"variant": "versapad"
},
"core": "arduino",
"variant": "versapad",
"cpu": "cortex-m0plus",
"extra_flags": "-DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -D__SAMD21G18A__",
"f_cpu": "48000000L",
"hwids": [
["0x239A", "0x0042"]
],
"mcu": "samd21g17d",
"usb_product": "VersaPad v2",
"usb_manufacturer": "Custom"
},
"connectivity": ["usb"],
"frameworks": ["arduino"],
"name": "VersaPad v2 (USB bootloader)",
"upload": {
"maximum_ram_size": 16384,
"maximum_size": 121600,
"offset": "0x2000",
"protocol": "custom"
},
"url": "",
"vendor": "Custom"
}