11 Commits (812fb44180d6d2ba141f0e7889e0c1e2345b52c2)

Author SHA1 Message Date
David Sugar 812fb44180
USB Device (#40) 1 year ago
David Sugar 975e5e446c
Random number generator (#46) 1 year ago
Matt Knight ed60b5f2e7
Pio updates (#41)
* program loading API

* build examples in CI

* build fixes
1 year ago
Vesim b0e346608e
PIO assembler (#25)
* 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>
1 year ago
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
1 year ago
Vlad Panazan a4de9d2f3e
add SPI hal (#33) 2 years ago
Matt Knight 3b129e1ca5
Update microzig (#26)
* update microzig

* update to new api

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 7d81ecf654
Regz rewrite (#20)
* update to new regz output

* snake case

* update with changes to microzig

* remove symlink

* add microzig submodule
2 years ago
Matt Knight 7c8d430237
adc bindings, mostly there but not quite (#14) 2 years ago
Felix Queißner 29aee14fd2
Update to latest master. (#13)
Co-authored-by: Felix "xq" Queißner <xq@random-projects.net>
2 years ago
Matt Knight d4a74cb4f3
move examples in here (#12) 2 years ago