microzig
microzig copied to clipboard
Regz generates almost the same code no matter if you use the --microzig option
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:
./regz --microzig --format svd rp.svd > rp.zig
does
The only differences are that the --microzig option adds an
const micro = @import("microzig");
const mmio = micro.mmio
at the start and without the option it uses
const mmio = @import("mmio");
instead
This leads to undefined identifier "micro" in the generated Zig files without the --microzig option.