microzig
microzig copied to clipboard
Unified abstraction layer and HAL for several microcontrollers
# Introduction Figured I'd share my progress so far in enabling tinyusb with microzig. This compiles tinyusb + pico-sdk headers into a static library and links to the firmware. The...
From 11.3.1 in the RP2350 [datasheet](https://pip-assets.raspberrypi.com/categories/1214-rp2350/documents/RP-008373-DS-2-rp2350-datasheet.pdf?disposition=inline]: ``` .define (PUBLIC) .clock_div .fifo .mov_status rxfifo < .mov_status txfifo < .mov_status irq set .in (left|right) (auto) () .program .origin .out (left|right) (auto) ()...
Summary: - Change the default timeout behavior in protocols that behave like streams - Analyze ambiguity between the current Datagram and StreamDevices interfaces - Extra case: Analyze the use case...
The current `Datagram_Device` interface, while functional for basic communication, presents several limitations when working with I²C and SPI peripherals: 1. No type-safety: Drivers cannot enforce that they receive the correct...
As [commented here](https://github.com/ZigEmbeddedGroup/microzig/pull/449#issuecomment-3148617844) I am trying to make a RP2040 act as a basic USB HID keyboard using MicroZig but I keep seeing the following `dmesg` output when connecting the...
It would be interesting to add microzig to [platformio](https://platformio.org). I haven't added a framework to platformio before, but I imagine that it involves adding code to the platform repos like...
Platform: AVR atmega328p Zig version: 0.15.1 Microzig version / commit: 039d2da63bf507c42a669e2233c52afa89ab1dcb (current main) Repo: https://github.com/jlucaso1/zig-duino/blob/eu-te-amo/src/firmware.zig#L60 Observed: Building with `inline for` produces a larger hex (e.g. 2304 bytes) and the firmware...
This PR tracks the changes i'm doing in Ashet Technologies-related parts. I will clean them up when i have the time, feel free to cherry-pick changes into MicroZig
First I tried to compile the example in the microchip/avr directory, but I got these errors: [log.txt](https://github.com/user-attachments/files/20999006/log.txt) So then I looked at the "getting started" page on the microzig website...
Add support for patches such as `add_struct`, `set_struct_type` to regz. This requires quite a bit of refactoring to be done in the code. Something like this would be useful in...