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
+4 -1
View File
@@ -4,5 +4,8 @@
],
"build-tags": ["pico2"],
"serial-port": ["2e8a:000A"],
"default-stack-size": 8192
"default-stack-size": 8192,
"ldflags": [
"--defsym=__flash_size=4M"
]
}