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
536 B
Zig

const std = @import("std");
pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const args_dep = b.dependency("args", .{});
const args_mod = args_dep.module("args");
const flash_tool = b.addExecutable(.{
.name = "uf2-flash",
.root_source_file = .{ .path = "src/main.zig" },
.optimize = optimize,
.target = target,
});
flash_tool.addModule("args", args_mod);
b.installArtifact(flash_tool);
}