Skip to content

Commit

Permalink
Fixed to make correct file format for gd32 examples. (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: nosuz <[email protected]>
  • Loading branch information
nosuz and nosuz authored Nov 7, 2024
1 parent a3b3b33 commit 16dc205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/gigadevice/gd32/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ pub fn build(b: *std.Build) void {
// and allows installing the firmware as a typical firmware file.
//
// This will also install into `$prefix/firmware` instead of `$prefix/bin`.
microzig.install_firmware(b, firmware, .{});
microzig.install_firmware(b, firmware, .{ .format = .bin });

// For debugging, we also always install the firmware as an ELF file
microzig.install_firmware(b, firmware, .{ .format = .bin });
microzig.install_firmware(b, firmware, .{});
}
}

Expand Down

0 comments on commit 16dc205

Please sign in to comment.