The reset function should reset cycle a single subsystem. Therefore it
should not assume every reset of each subsystem is deasserted, when
calling this function. Additionally add some comments for the intent of
the function itself.
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
Co-authored-by: Matt Knight <mattnite@proton.me>
The examples have been moved into a seperate repository. Other
controller specific repositories do not contain a copy of the examples.
The examples could be found in the folder raspberrypi-rp2040
within the repository ZigEmbeddedGroup/microzig-examples.
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
* Starts to rework build framework.
* First building version.
* Documents paths to supported devices.
* Tiny fix for MicroZig.
* Drops CI
---------
Co-authored-by: Felix "xq" Queißner <git@random-projects.net>
* flash enable xip calls stage two bootloader using inline assembly
* flash erase/program now works in all modes (Debug, ReleaseSmall, ReleaseSafe, ReleaseFast)
* further docs added
* WIP pio assembler
* add comparison tests against the official assembler
* tokenizer passing tests
* add buildkite pipeline
* comparison tests
* assembler now outputting a few programs similar to official
* largely complete
---------
Co-authored-by: Matt Knight <mattnite@proton.me>
* 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