Skip to content

Commit 6f3b72a

Browse files
Felix "xq" QueißnerGrazfather
authored andcommitted
Add pico2 arm flashless target board
1 parent c54ed36 commit 6f3b72a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

port/raspberrypi/rp2xxx/build.zig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ boards: struct {
1717
pico: *const microzig.Target,
1818
pico_flashless: *const microzig.Target,
1919
pico2_arm: *const microzig.Target,
20+
pico2_arm_flashless: *const microzig.Target,
2021
pico2_riscv: *const microzig.Target,
2122
},
2223
waveshare: struct {
@@ -191,6 +192,14 @@ pub fn init(dep: *std.Build.Dependency) Self {
191192
.root_source_file = b.path("src/boards/raspberry_pi_pico2.zig"),
192193
},
193194
}),
195+
.pico2_arm_flashless = chip_rp2350_arm.derive(.{
196+
.ram_image = true,
197+
.board = .{
198+
.name = "RaspberryPi Pico 2 (ram image)",
199+
.url = "https://www.raspberrypi.com/products/raspberry-pi-pico2/",
200+
.root_source_file = b.path("src/boards/raspberry_pi_pico2.zig"),
201+
},
202+
}),
194203
.pico2_riscv = chip_rp2350_riscv.derive(.{
195204
.board = .{
196205
.name = "RaspberryPi Pico 2",

0 commit comments

Comments
 (0)