microzig
microzig copied to clipboard
Unified abstraction layer and HAL for several microcontrollers
Just dumping this so it isn't lost in the Discord: An idea we could use for an abstract SPI transfer system: ```zig fn transceivev(actions: []const Transaction) !usize; const Transaction =...
## Emitting docs for microzig Issue for tracking microzig docs. Please feel free to add more things that you feel microzig is curently lacking in terms of documentation. - [x]...
The `test` directory under `core` is not used anymore (they are also very not up to date). There is also a `thoughts.md` file (which is also not up to date)....
These are currently ACKed without properly performing the requested tasks: - [ ] `SetIdle`: Requests bandwidth limits on the device. - [ ] `SetProtocol`: Switches between boot/non-boot report formats. -...
The host can send a SET_FEATURE setup request with the feature flag set to TEST_MODE. This is unhandled currently. There is no information about test mode in _USB Complete_ or...
We have a bunch of functions that take addresses in our various HALs, but the type is often u32 or usize. We should evaluate how they are used, and see...
Would it be possible to also provide a community on IRC? LiberaChat is used a lot and which is what zig uses itself. https://libera.chat/ Discord has privacy issues and is...
We hardcode 30 GPIOs in e.g. pins.zig, but there are more GPIOs on the rp2350 in the QFN80 package.
Per Zig documentation: If x is callable [a function], and x's return type is type, then x should be TitleCase. If x is otherwise callable, then x should be camelCase.
The generated linker script places .bss after .data: ``` ENTRY(microzig_main); MEMORY { flash0 (rx!w) : ORIGIN = 0x00000000, LENGTH = 0x0009D800 ram0 (rw!x) : ORIGIN = 0x20000000, LENGTH = 0x00040000...