Skip to content

Commit

Permalink
that was on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tralamazza committed Jun 21, 2019
1 parent 23d4ac8 commit c4f5268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const builtin = @import("builtin");
pub fn build(b: *Builder) void {
const mode = b.standardReleaseOptions();

const exe = b.addExecutable("firmware.elf", "main.zig");
const exe = b.addExecutable("firmware.elf", "startup.zig");
exe.setTarget(builtin.Arch{ .thumb = .v7m }, builtin.Os.freestanding, builtin.Abi.none);

const main_o = b.addObject("startup", "startup.zig");
const main_o = b.addObject("main", "main.zig");
main_o.setTarget(builtin.Arch{ .thumb = .v7m }, builtin.Os.freestanding, builtin.Abi.none);
exe.addObject(main_o);

Expand Down

0 comments on commit c4f5268

Please sign in to comment.