-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
278 changed files
with
1,113 additions
and
2,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ microzig-deploy/ | |
.direnv/ | ||
__pycache__/ | ||
.venv | ||
boxzer-out |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.{ | ||
.name = "microzig/bsp/espressif/esp", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.{ | ||
.name = "microzig/bsp/gigadevice/gd32", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
const std = @import("std"); | ||
const MicroZig = @import("microzig/build"); | ||
|
||
pub const microzig_board_support = MicroZig.registerBoardSupport(@This()); | ||
|
||
pub fn build(b: *std.Build) void { | ||
_ = b; | ||
// Dummy func to make package manager happy | ||
} | ||
|
||
fn root() []const u8 { | ||
return comptime (std.fs.path.dirname(@src().file) orelse "."); | ||
} | ||
|
||
const build_root = root(); | ||
|
||
pub const chips = struct { | ||
pub const atsamd51j19 = MicroZig.Target{ | ||
.preferred_format = .elf, | ||
.chip = .{ | ||
.name = "ATSAMD51J19A", | ||
.url = "https://www.microchip.com/en-us/product/ATSAMD51J19A", | ||
.cpu = MicroZig.cpus.cortex_m4, | ||
.register_definition = .{ | ||
.atdf = .{ .path = build_root ++ "/src/chips/ATSAMD51J19A.atdf" }, | ||
}, | ||
.memory_regions = &.{ | ||
.{ .kind = .flash, .offset = 0x00004000, .length = 512 * 1024 }, // Embedded Flash | ||
.{ .kind = .ram, .offset = 0x20000000, .length = 192 * 1024 }, // Embedded SRAM | ||
.{ .kind = .ram, .offset = 0x47000000, .length = 8 * 1024 }, // Backup SRAM | ||
.{ .kind = .flash, .offset = 0x00804000, .length = 512 }, // NVM User Row | ||
}, | ||
}, | ||
}; | ||
}; | ||
|
||
pub const boards = struct { | ||
// empty right now | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.{ | ||
.name = "microzig/bsp/microchip/atsam", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.{ | ||
.name = "microzig/bsp/microchip/avr", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.{ | ||
.name = "microzig/bsp/nordic/nrf5x", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.{ | ||
.name = "microzig/bsp/nxp/lpc", | ||
.version = "0.0.0", | ||
.dependencies = .{ | ||
.@"microzig/build" = .{ .path = "../../../build" }, | ||
}, | ||
.paths = .{ | ||
"build.zig", | ||
"build.zig.zon", | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.