File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ pub fn init(dep: *std.Build.Dependency) Self {
178178 }),
179179 .pico_flashless = chip_rp2040 .derive (.{
180180 .ram_image = true ,
181- // we do not need any modifications to the default generated linker script
181+ // we can use the default generated linker script
182182 .linker_script = .{},
183183 .board = .{
184184 .name = "RaspberryPi Pico (ram image)" ,
Original file line number Diff line number Diff line change @@ -126,25 +126,25 @@ pub fn main() !void {
126126 \\
127127 );
128128
129- if (parsed_args .ram_image ) {
129+ if (! parsed_args .ram_image ) {
130130 try writer .print (
131- \\ .ram_start :
131+ \\ .flash_start :
132132 \\ {{
133- \\ KEEP(*(microzig_ram_start ))
133+ \\ KEEP(*(microzig_flash_start ))
134134 \\ }} > {s}
135135 \\
136136 ,
137- .{ram_region_name },
137+ .{flash_region_name },
138138 );
139139 } else {
140140 try writer .print (
141- \\ .flash_start :
141+ \\ .ram_start :
142142 \\ {{
143- \\ KEEP(*(microzig_flash_start ))
143+ \\ KEEP(*(microzig_ram_start ))
144144 \\ }} > {s}
145145 \\
146146 ,
147- .{flash_region_name },
147+ .{ram_region_name },
148148 );
149149 }
150150
You can’t perform that action at this time.
0 commit comments