@@ -12,7 +12,7 @@ pub const image_def_block = if (microzig.config.ram_image and arch == .arm) Bloc
1212 .image_def = .{
1313 .image_type_flags = .{
1414 .image_type = .exe ,
15- .exe_security = root .microzig_options .hal .image_def_exe_security ,
15+ .exe_security = root .microzig_options .hal .bootmeta . image_def_exe_security ,
1616 .cpu = .arm ,
1717 .chip = .RP2350 ,
1818 .try_before_you_buy = false ,
@@ -21,26 +21,26 @@ pub const image_def_block = if (microzig.config.ram_image and arch == .arm) Bloc
2121 // We must specify a custom entry point since by default RP2350 expects
2222 // the vector table at the start of the image.
2323 .entry_point = .{
24- .entry = & microzig . cpu . startup_logic . ram_image_entrypoint ,
24+ .entry = @ptrFromInt ( 0x2000_0001 ), // start of ram
2525 .sp = microzig .config .end_of_stack ,
2626 },
2727 },
28- .link = root .microzig_options .hal .next_metadata_block ,
28+ .link = root .microzig_options .hal .bootmeta . next_block ,
2929} else Block (extern struct {
3030 image_def : ImageDef ,
3131}){
3232 .items = .{
3333 .image_def = .{
3434 .image_type_flags = .{
3535 .image_type = .exe ,
36- .exe_security = root .microzig_options .hal .image_def_exe_security ,
36+ .exe_security = root .microzig_options .hal .bootmeta . image_def_exe_security ,
3737 .cpu = std .meta .stringToEnum (ImageDef .ImageTypeFlags .Cpu , @tagName (arch )).? ,
3838 .chip = .RP2350 ,
3939 .try_before_you_buy = false ,
4040 },
4141 },
4242 },
43- .link = root .microzig_options .hal .next_metadata_block ,
43+ .link = root .microzig_options .hal .bootmeta . next_block ,
4444};
4545
4646comptime {
@@ -123,3 +123,4 @@ pub fn EntryPoint(with_stack_limit: bool) type {
123123 };
124124 }
125125}
126+
0 commit comments