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.
microzig/src/boards.zig

16 lines
451 B
Zig

const std = @import("std");
const microzig = @import("../deps/microzig/src/main.zig");
const chips = @import("chips.zig");
fn root_dir() []const u8 {
return std.fs.path.dirname(@src().file) orelse ".";
}
const board_path = std.fmt.comptimePrint("{s}/boards/raspberry_pi_pico.zig", .{root_dir()});
pub const raspberry_pi_pico = microzig.Board{
.name = "Raspberry Pi Pico",
.source = .{ .path = board_path },
.chip = chips.rp2040,
};