mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
4768c7d431
* machine/rp2350: add flash support for rp2350 * combine duplicate files * clean things up and group by source file * add stubbed out xip cache clean func if needed in the future * update flash_enable_xip_via_boot2 * remove unused macros and fix inconsistent formatting * make flash size configurable like rp2040 * add missing flash size configs * retain big Go CGo compatibility per #4103 * clarify CS0_SIZE source and remove single-use typedef
23 lines
727 B
JSON
23 lines
727 B
JSON
{
|
|
"inherits": ["cortex-m33"],
|
|
"build-tags": ["rp2350", "rp"],
|
|
"flash-1200-bps-reset": "true",
|
|
"flash-method": "msd",
|
|
"serial": "usb",
|
|
"msd-volume-name": ["RP2350"],
|
|
"msd-firmware-name": "firmware.uf2",
|
|
"binary-format": "uf2",
|
|
"uf2-family-id": "0xe48bff59","comment":"See page 393 of RP2350 datasheet: RP2350 Arm Secure image (i.e. one intended to be booted directly by the bootrom)",
|
|
"extra-files": [
|
|
"src/device/rp/rp2350.s",
|
|
"targets/rp2350_embedded_block.s"
|
|
],
|
|
"ldflags": [
|
|
"--defsym=__flash_size=2M"
|
|
],
|
|
"linkerscript": "targets/rp2350.ld",
|
|
"openocd-interface": "picoprobe",
|
|
"openocd-transport": "swd",
|
|
"openocd-target": "rp2350"
|
|
}
|