Exposes uf2.FamilyId from build.zig (#16)

Co-authored-by: Felix "xq" Queißner <git@random-projects.net>
wch-ch32v003
Felix Queißner 1 year ago committed by Matt Knight
parent 4aeb2cc77f
commit af34a0e321

@ -5,6 +5,8 @@ const FileSource = std.Build.FileSource;
const uf2 = @import("src/uf2.zig"); const uf2 = @import("src/uf2.zig");
pub const FamilyId = uf2.FamilyId;
pub fn from_elf(dep: *Dependency, exe: *CompileStep, opts: uf2.Options) FileSource { pub fn from_elf(dep: *Dependency, exe: *CompileStep, opts: uf2.Options) FileSource {
std.debug.assert(!opts.bundle_source); // TODO: bundle source in UF2 File std.debug.assert(!opts.bundle_source); // TODO: bundle source in UF2 File
const b = dep.builder; const b = dep.builder;

Loading…
Cancel
Save