606 Commits (682699b1468644ba8128b8f67a85841beeeb44cf)
 

Author SHA1 Message Date
Matt Knight a7f71cb0ca
update microzig (#17)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight b5edf6da6b
interrupt enable/disable for riscv and air (#127)
* rename disable/enable interrupt functions

* enable/disable interrupt functions for avr and riscv

* add todo panic
1 year ago
Matt Knight d1f1374c08
rename disable/enable interrupt functions (#126) 1 year ago
Matt Knight 6a5f42a15c
update microzig (#15)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 78da6fd10c
update microzig (#15)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight b0642a90d8
update microzig (#15)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 734ed2f5d8
update microzig (#16)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 4e2cdae13e
update microzig (#15)
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
Matt Knight 5e5e11c80f
update microzig (#16)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Philipp Wendel 658648b86b
Updated code to regz rewrite and added fix for i2c on ATmega328P (#125) 1 year ago
David Sugar 812fb44180
USB Device (#40) 1 year ago
Matt Knight dfeaf74bf9
update microzig (#14) 1 year ago
Matt Knight c9ff9fcc40
update microzig (#15) 1 year ago
Matt Knight 33a67724a7
update microzig (#14) 1 year ago
Matt Knight d96ce9cc50
update microzig (#14) 1 year ago
Matt Knight c2c9cc4912
update microzig (#14) 1 year ago
Matt Knight 8b7cbf09d3
update microzig (#14) 1 year ago
Matt Knight b0b01570c1
update microzig (#47) 1 year ago
David Sugar dd491cc84f
Abstract USB device implementation (#124) 1 year ago
David Sugar 975e5e446c
Random number generator (#46) 1 year ago
Matt Knight 109249913b
check if the thread of execution is in an ISR on Cortex M (#123) 1 year ago
Matt Knight 01dfc9aa19
Update microzig (#12)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight f1d338b3e2
Update microzig (#12)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight fa78bbfc4a
update microzig (#43)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 6cb89c778d
Update microzig (#13)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 541a3f8ed9
Update microzig (#12)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 9a8df1477b
Update microzig (#12)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 0fbf9ba106
Update microzig (#12)
* update microzig

* fixed build.zig

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight ae6e619197
update to new usage of build api (#122) 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
Matt Knight 433572081e
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 7df8396558
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 10e700b6e7
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight a548d0ef13
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 68ebc9a0ad
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Matt Knight 7f8246ea4c
update microzig (#11)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
1 year ago
Philipp Wendel 23482a6986
Updated parts of gpio and pin to reflect code changes from regz rewrite (#120) 1 year ago
Vlad Panazan a4de9d2f3e
add SPI hal (#33) 2 years ago
Matt Knight ea7bdcb3fb
Update microzig (#10)
* update microzig

* fix link

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 37031c26cb
Update microzig (#10)
* update microzig

* fix link

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight bdba656f9b
Update microzig (#10)
* update microzig

* fix link

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 623a7f24ee
update microzig (#32)
Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago
Matt Knight 422aa77f2e
Update microzig (#10)
* update microzig

* fix link

---------

Co-authored-by: mattnite <mattnite@users.noreply.github.com>
2 years ago