45 Commits (b0e346608e4abef37302412c5f62c389cd04e5bd)
 

Author SHA1 Message Date
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
Matt Knight e9af302b69
uart improvements and improved definition of how many clock units there are (#16) 2 years ago
Felix "xq" Queißner b0b90a7cf0 Implements UART.reader() 2 years ago
Felix "xq" Queißner 7b69211d41 Implements gpio.setPullUpDown 2 years ago
Felix "xq" Queißner 86d383e673 Implements ADC and PWM support in pin config, simplifies Pins() type. 2 years ago
Felix "xq" Queißner 5c07800cdb Removes debug code. 2 years ago
Felix "xq" Queißner c899778c87 Clock setup fixes. 2 years ago
Felix "xq" Queißner a55df1b52c Some debug logs in adc.reset() and resets.reset(), fixes some bugs with booleans. 2 years ago
Felix "xq" Queißner fe14d4f03b Implements input, pull up/down and uart routing. 2 years ago
Matt Knight 5c853fd23a
use compile errors instead of comments (#15) 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
Matt Knight 9fa748ff13
Pin config (#9)
* pin config

* wip

* wip

* try some experimental pwm stuff
2 years ago
Matt Knight f0e51f8302
Uart (#8)
* refined clock configuration, uart works with clk_peri at xosc frequency

* fix pll_sys configuration
2 years ago
Matt Knight f75a019aa5
try lf endings to fix windows compile error (#7) 2 years ago
Matt Knight 2d89410305
add directive to inline asm (#6) 2 years ago
Matt Knight 8751f6753d
Clock config (#5)
* use array access for better codegen

* frequency counter

* wip

* wip

* refactor clock config and plls to reduce binary size
2 years ago
Matt Knight 9f3aa1e375
Merge pull request #4 from mattnite/gpio-fix
clean up gpios
2 years ago
Matt Knight ed05258e7e clean up gpios 2 years ago
Matt Knight c71e73759c
Merge pull request #3 from mattnite/busy-sleep
add busy sleep functions
2 years ago
Matt Knight 303c9f183f add busy sleep functions 2 years ago
Vesim cbc9b56769
Merge pull request #2 from ZigEmbeddedGroup/multicore
multicore: use camelCase for function names
2 years ago
Maciej 'vesim' Kuliński 0659bcd8c6 multicore: use camelCase for function names 2 years ago
Matt Knight 5c6ef47aa2
Merge pull request #1 from ZigEmbeddedGroup/multicore
multicore support
2 years ago
Maciej 'vesim' Kuliński e541f966d4 multicore: add initial support 2 years ago
Matt Knight 7d68b0bcba pads bank bits set when setting gpio function 2 years ago
Matt Knight c2a6b718e7 add license
remove microzig submodule

remove submodule
2 years ago
Matt Knight a501e63286 init 2 years ago