microzig
microzig copied to clipboard
Unified abstraction layer and HAL for several microcontrollers
Deferred formating would be a nice feature to have in microzig. Deferred formating could help to - reduce binary size - speed up serial transmission - reduce cpu time >...
Hi, Regz generates almost the same code no matter if i use the --microzig option or not so `./regz --format svd rp.svd > rp.zig` generates almost the same code as:...
When generating a Zig header from the SVD found here: https://github.com/adafruit/broadcom-peripherals/blob/main-build/svd/gen/bcm2711_lpa.svd I noticed that it lacks the `GPIO` and `UART1` types. Another tool, SVDConv, was able to successfully generate both...
The ADC integration that was in the pins helper had completely bit-rotted, so in #303 I replaced it with FIXME comments. I think the change is trivial, I'm just not...
This PR is my (yet another) shot at a better USB driver implementation. Key changes: - Multi-function (composite) devices possible - Descriptors are automatically constructed at compile time by drivers...
Note: This is not the final version; renames and configuration corrections are still planned. - add clockhelper fork as a internal HAL import Includes tests for the following microcontrollers (tests...
A lot of this functionality was informed by https://github.com/robinjanssens/WCH-Toolchain
Add a driver for the DS18B20 temperature sensor. All commands except the Search Rom [0xF0] and Alarm Search [0xEC] have been implemented and successfully tested. The resolution can be configured...
The generated `VectorTable` struct depends on `microzig.interrupt.Handler` and `microzig.interrupt.unhandled`. ```zig pub const VectorTable = extern struct { const Handler = microzig.interrupt.Handler; const unhandled = microzig.interrupt.unhandled; // ... }; ```