Skip to content

Commit a565f70

Browse files
authored
rp2xxx: Set entry point symbol for flashless targets (#659)
1 parent 37136e3 commit a565f70

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

port/raspberrypi/rp2xxx/build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ pub fn init(dep: *std.Build.Dependency) Self {
181181
.ram_image = true,
182182
// we can use the default generated linker script
183183
.linker_script = .{},
184+
.entry = .{ .symbol_name = "_entry_point" },
184185
.board = .{
185186
.name = "RaspberryPi Pico (ram image)",
186187
.url = "https://www.raspberrypi.com/products/raspberry-pi-pico/",
@@ -199,6 +200,7 @@ pub fn init(dep: *std.Build.Dependency) Self {
199200
.linker_script = .{
200201
.file = b.path("ld/rp2350/arm_ram_image_sections.ld"),
201202
},
203+
.entry = .{ .symbol_name = "_entry_point" },
202204
.board = .{
203205
.name = "RaspberryPi Pico 2 (ram image)",
204206
.url = "https://www.raspberrypi.com/products/raspberry-pi-pico2/",

0 commit comments

Comments
 (0)