78 Commits (d9cbc3654e2925dfdf2ccf4cd8179728dbc2d0bb)
 

Author SHA1 Message Date
Felix Queißner d9cbc3654e
Microzig Generation 2 Build Interface (#82)
* 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>
1 year ago
Felix Queißner 2a0c0ff281
Implements proper support for different stage2 bootloaders (#80)
Co-authored-by: Felix "xq" Queißner <git@random-projects.net>
1 year ago
Matt Knight 6f201f7f4c
stabilize on 0.11.0 (#77) 1 year ago
Matt Knight 1dbdd0f80e
Fix eval branch quota for PIO comparison tests (#76) 1 year ago
Matt Knight 695d3dc0e4
SourceFile -> LazyFile (#75) 1 year ago
David Sugar 1cef56ad9d
Enable XIP using stage 2 bootloader (#73)
* 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
1 year ago
Felix Queißner d6b3be320f
rp2040-flasher inital commit (#72)
Co-authored-by: Felix (xq) Queißner <git@random-projects.net>
1 year ago
Vlad Panazan 35e9757bdb
fix i2c reading and add bus scan example (#71) 1 year ago
Vlad Panazan 360655dbe2
use zig package manager (#70) 1 year ago
Matt Knight 2b5c6096b0
builtin type inference fix (#68) 1 year ago
Matt Knight c197a15312
update microzig (#67)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Felix Queißner 371d4efde4
Runs zig fmt, implements a good bunch of I²C functions (#65)
Co-authored-by: Felix "xq" Queißner <xq@random-projects.net>
1 year ago
Matt Knight 316e241a88
DMA API, and time API improvements from SYCL 2023 workshop (#63) 1 year ago
Matt Knight 7b7caa9eb4
improve ADC API (#62) 1 year ago
Hubert Jasudowicz d1e35696d4
examples: Set LED GPIO function (#61)
Set the pin function to SIO instead of null (default).
1 year ago
Vlad Panazan abff6d1f4b
add ws2812 pio example (#54) 1 year ago
Matt Knight 886234b882
improve timer API (#60) 1 year ago
Matt Knight a2ccaff13f
improve GPIO API (#59) 1 year ago
Matt Knight d05e8779b8
workaround for compiler bug where volatile is not propagated over a field access (#57) 1 year ago
Matt Knight ed12908afc
turn on PIO comparison tests (#58) 1 year ago
Matt Knight 81142fdfc0
update microzig (#56)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
joelpaulkoch c74f6f0634
Fix: call renamed is_uart functions (#55) 1 year ago
Matt Knight f343617ca4
update microzig (#52)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight c1c19d221e
Gpio api (#51)
* improve GPIO API

* fix test, update microzig

* first DMA functions, new abstraction for enumerating peripherals

* rebase main

* fix call to reset()
1 year ago
Matt Knight bc4582cf4d
update microzig (#50)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight a2fccb3c73
update microzig (#48)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
David Sugar 812fb44180
USB Device (#40) 1 year ago
Matt Knight b0b01570c1
update microzig (#47) 1 year ago
David Sugar 975e5e446c
Random number generator (#46) 1 year ago
Matt Knight fa78bbfc4a
update microzig (#43)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 344f60b864
add comptime keyword where it's needed (#42) 1 year ago
Matt Knight ed60b5f2e7
Pio updates (#41)
* program loading API

* build examples in CI

* build fixes
1 year ago
Vlad Panazan 08779dfe02
Add SPI read function (#38) 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
Matt Knight 666f444037
Readme fix (#37)
* fix link
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
Matt Knight f250134e2f
update microzig (#34)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Vlad Panazan a4de9d2f3e
add SPI hal (#33) 2 years ago
Matt Knight 623a7f24ee
update microzig (#32)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 7c781dc377
Update microzig (#31)
* update microzig

* add zig version

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 160bee73e0
update microzig (#30)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 3cef646006
update microzig (#29) 2 years ago
Matt Knight 9a47a0183e
update microzig (#27)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
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 58d73abc08
Update microzig (#24)
* update microzig

* update paths and for loops

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 026af75f81
update microzig (#22)
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 e3562492df
update to master (#19) 2 years ago
Matt Knight 0713809eaf
catch up to master (#17) 2 years ago
Matt Knight 144d557357 remove hal.uart.panic 2 years ago