Finalize linker script
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mkoverlay"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
edition = "2021"
|
||||
|
||||
[profile.release]
|
||||
|
@@ -19,7 +19,7 @@ pub fn write(output: &mut Output, overlay_desc: &OverlayDesc) -> Result<(), Erro
|
||||
writeln!(output, "\t/*{}*/", slot.name)?;
|
||||
writeln!(output, "\tOVERLAY {} : NOCROSSREFS SUBALIGN(4) {{", slot_start_adr)?;
|
||||
write_section(output, &slot.sections, false)?;
|
||||
writeln!(output, "\t}} > ram")?;
|
||||
writeln!(output, "\t}} > ram_alt")?;
|
||||
writeln!(output, "\t. = ALIGN(4);")?;
|
||||
writeln!(output, concat!("\t", section_end_name_template!(), " = .;"), slot.name)?;
|
||||
writeln!(output, "")?;
|
||||
|
Reference in New Issue
Block a user