machine/rp2350: add flash support for rp2350 (#4803)

* 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
This commit is contained in:
Michael Smith
2025-03-16 04:45:53 -04:00
committed by GitHub
parent 4f7c64cb24
commit 4768c7d431
9 changed files with 427 additions and 12 deletions
+3
View File
@@ -12,6 +12,9 @@
"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",