@@ -12,7 +12,7 @@ pub const image_def_block = if (microzig.config.ram_image and arch == .arm) Bloc
12
12
.image_def = .{
13
13
.image_type_flags = .{
14
14
.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 ,
16
16
.cpu = .arm ,
17
17
.chip = .RP2350 ,
18
18
.try_before_you_buy = false ,
@@ -21,26 +21,26 @@ pub const image_def_block = if (microzig.config.ram_image and arch == .arm) Bloc
21
21
// We must specify a custom entry point since by default RP2350 expects
22
22
// the vector table at the start of the image.
23
23
.entry_point = .{
24
- .entry = & microzig . cpu . startup_logic . ram_image_entrypoint ,
24
+ .entry = @ptrFromInt ( 0x2000_0001 ), // start of ram
25
25
.sp = microzig .config .end_of_stack ,
26
26
},
27
27
},
28
- .link = root .microzig_options .hal .next_metadata_block ,
28
+ .link = root .microzig_options .hal .bootmeta . next_block ,
29
29
} else Block (extern struct {
30
30
image_def : ImageDef ,
31
31
}){
32
32
.items = .{
33
33
.image_def = .{
34
34
.image_type_flags = .{
35
35
.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 ,
37
37
.cpu = std .meta .stringToEnum (ImageDef .ImageTypeFlags .Cpu , @tagName (arch )).? ,
38
38
.chip = .RP2350 ,
39
39
.try_before_you_buy = false ,
40
40
},
41
41
},
42
42
},
43
- .link = root .microzig_options .hal .next_metadata_block ,
43
+ .link = root .microzig_options .hal .bootmeta . next_block ,
44
44
};
45
45
46
46
comptime {
@@ -123,3 +123,4 @@ pub fn EntryPoint(with_stack_limit: bool) type {
123
123
};
124
124
}
125
125
}
126
+
0 commit comments