raspberrypi-rp2040 github 镜像仓库
Go to file
David Sugar 20e4c9f8f6
Flash from user code (#35)
* support for a subset of the bootrom functions added: fast bit count/ manipulation functions (tested), fast bulk memory fill/ copy functions (tested), flash access functions (NOT tested), debugging support functions (not implemented), miscellaneous functions (not implemented).

* added support for erasing and programming flash from user code. between the first and last call in a programming sequence, the SSI is not in a state where it can handle XIP accesses, so the code that calls the intervening functions must be located in SRAM. this is why I added the time_critical section to rp2040.ld (maybe one should create a dedicated section in ram that is rwx and keep data rwNx).

* flash_program.zig example added
2023-04-05 17:29:08 -07:00
deps update microzig (#34) 2023-04-05 17:20:16 -07:00
examples Flash from user code (#35) 2023-04-05 17:29:08 -07:00
src Flash from user code (#35) 2023-04-05 17:29:08 -07:00
.gitattributes try lf endings to fix windows compile error (#7) 2022-07-10 17:31:17 -07:00
.gitignore init 2022-06-07 01:18:02 -07:00
.gitmodules move examples in here (#12) 2022-09-17 16:54:45 -07:00
build.zig Flash from user code (#35) 2023-04-05 17:29:08 -07:00
LICENSE add license 2022-06-07 01:22:47 -07:00
README.adoc Update microzig (#31) 2023-03-23 08:28:01 -07:00
rp2040.ld Flash from user code (#35) 2023-04-05 17:29:08 -07:00