You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
377 B
Zig

const micro = @import("microzig");
const builtin = @import("builtin");
pub const interrupts = switch (builtin.cpu.arch) {
.avr => struct {
pub fn INT0() void {
@panic("hit PCINT0");
}
},
else => struct {
pub fn SysTick() void {
@panic("hit systick!");
}
},
};
pub fn main() void {
while (true) {}
}