microzig
microzig copied to clipboard
Unified abstraction layer and HAL for several microcontrollers
Expose common functions like `install()` and `setBuildMode()`, also `installRaw()`
STM32F103 sad file did not define which cortex-m core it had so it wasn't able to output a vector table. The resulting code causes a compiler error where it should...
This work requires upstreaming to https://github.com/ziglang/zig As a repro compile this program with the following build command: ```zig export fn foo(a: i32, b: i32) i32 { return a * b;...
For AVR, it must be in RAM to be efficiently accessed, for ARM devices, it is less important
* `MAIN_CLK` * 48MHz on startup via `DFLL48M -> GCLK0 -> GCLK_MAIN` * `GPIO` * `PA{0..31}` * `PB{0..31}` * `UART` * Via `SERCOM5` (`PB16` (TX) and `PB17` (RX)) * Clocked...
Add executable methods (addOptions, addObjectFile) and fix recursive call in addIncludePath. For #72.
This field is a bit tricky: It belongs to the EXECCTRL register, while most of the other fields can determined based on the directives used in the assembled program, this...