Update to latest master. (#13)

Co-authored-by: Felix "xq" Queißner <xq@random-projects.net>
wch-ch32v003
Felix Queißner 2 years ago committed by GitHub
parent d4a74cb4f3
commit 29aee14fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
deps/microzig vendored

@ -1 +1 @@
Subproject commit 4159581b4848bfb8bbdf91dabdebd15ecd503427
Subproject commit 681b3b0d7a6b2fc5d0f8918c583c790c646a31f1

@ -12,7 +12,7 @@ const baud_rate = 115200;
const uart_tx_pin = 0;
const uart_rx_pin = 1;
pub fn panic(message: []const u8, _: ?*std.builtin.StackTrace) noreturn {
pub fn panic(message: []const u8, _: ?*std.builtin.StackTrace, _: ?usize) noreturn {
std.log.err("panic: {s}", .{message});
@breakpoint();
while (true) {}

@ -5,7 +5,7 @@ const regs = @import("microzig").chip.registers;
const assert = std.debug.assert;
const comptimePrint = std.fmt.comptimePrint;
const StructField = std.builtin.TypeInfo.StructField;
const StructField = std.builtin.Type.StructField;
pub const Pin = enum {
GPIO0,

@ -2,7 +2,7 @@ const std = @import("std");
const microzig = @import("microzig");
const regs = microzig.chip.registers;
const EnumField = std.builtin.TypeInfo.EnumField;
const EnumField = std.builtin.Type.EnumField;
const Mask = @typeInfo(@TypeOf(regs.RESETS.RESET)).Pointer.child.underlying_type;
pub const Module = enum {

Loading…
Cancel
Save