main

@ -4,25 +4,26 @@ const Build = std.Build;
const MicroZig = @import("build/definitions");
const example_dep_names: []const []const u8 = &.{
"examples/nordic/nrf5x",
"examples/nxp/lpc",
"examples/microchip/atsam",
// "examples/nordic/nrf5x",
// "examples/nxp/lpc",
// "examples/microchip/atsam",
//"examples/microchip/avr",
"examples/gigadevice/gd32",
// "examples/gigadevice/gd32",
"examples/stmicro/stm32",
//"examples/espressif/esp",
"examples/raspberrypi/rp2040",
// "examples/raspberrypi/rp2040",
"examples/wch/ch32",
};
const bsps = .{
.{ "bsp/nordic/nrf5x", @import("bsp/nordic/nrf5x") },
.{ "bsp/nxp/lpc", @import("bsp/nxp/lpc") },
.{ "bsp/microchip/atsam", @import("bsp/microchip/atsam") },
.{ "bsp/microchip/avr", @import("bsp/microchip/avr") },
.{ "bsp/gigadevice/gd32", @import("bsp/gigadevice/gd32") },
// .{ "bsp/nordic/nrf5x", @import("bsp/nordic/nrf5x") },
// .{ "bsp/nxp/lpc", @import("bsp/nxp/lpc") },
// .{ "bsp/microchip/atsam", @import("bsp/microchip/atsam") },
// .{ "bsp/microchip/avr", @import("bsp/microchip/avr") },
// .{ "bsp/gigadevice/gd32", @import("bsp/gigadevice/gd32") },
.{ "bsp/stmicro/stm32", @import("bsp/stmicro/stm32") },
.{ "bsp/espressif/esp", @import("bsp/espressif/esp") },
.{ "bsp/raspberrypi/rp2040", @import("bsp/raspberrypi/rp2040") },
// .{ "bsp/espressif/esp", @import("bsp/espressif/esp") },
// .{ "bsp/raspberrypi/rp2040", @import("bsp/raspberrypi/rp2040") },
.{ "bsp/wch/ch32", @import("bsp/wch/ch32") },
};

@ -17,6 +17,7 @@
.@"bsp/stmicro/stm32" = .{ .path = "bsp/stmicro/stm32" },
.@"bsp/espressif/esp" = .{ .path = "bsp/espressif/esp" },
.@"bsp/raspberrypi/rp2040" = .{ .path = "bsp/raspberrypi/rp2040" },
.@"bsp/wch/ch32" = .{ .path = "bsp/wch/ch32" },
// examples so that we can build them all in one go
.@"examples/nordic/nrf5x" = .{ .path = "examples/nordic/nrf5x" },

Loading…
Cancel
Save