Skip to content

Commit c494032

Browse files
committed
match addresses to kernel
1 parent 15fe060 commit c494032

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

boards/wm1110_dev-bootloader/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ fn main() {
1111
} else {
1212
String::from("1.1.3")
1313
};
14-
bootloader_attributes::write_flags(&mut f, &version, 0x8000);
14+
bootloader_attributes::write_flags(&mut f, &version, 0x10000);
1515
bootloader_attributes::write_attribute(&mut f, "board", "wm1110_dev");
1616
bootloader_attributes::write_attribute(&mut f, "arch", "cortex-m4");
17-
bootloader_attributes::write_attribute(&mut f, "appaddr", "0x40000");
17+
bootloader_attributes::write_attribute(&mut f, "appaddr", "0x50000");
1818
if let Ok(bootloader) = env::var("BOOTLOADER_HASH") {
1919
bootloader_attributes::write_attribute(&mut f, "boothash", &bootloader);
2020
}

boards/wm1110_dev-bootloader/layout.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MEMORY
22
{
3-
rom (rx) : ORIGIN = 0x00000000, LENGTH = 32K
4-
prog (rx) : ORIGIN = 0x00008000, LENGTH = 480K
3+
rom (rx) : ORIGIN = 0x00000000, LENGTH = 64K
4+
prog (rx) : ORIGIN = 0x00010000, LENGTH = 480K
55
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
66
}
77

0 commit comments

Comments
 (0)