diff --git a/drivers/src/memory_layout.rs b/drivers/src/memory_layout.rs index 61d24c4247..1de4524454 100644 --- a/drivers/src/memory_layout.rs +++ b/drivers/src/memory_layout.rs @@ -50,7 +50,6 @@ pub const ROM_ESTACK_ORG: u32 = 0x5001F800; pub const NSTACK_ORG: u32 = ESTACK_ORG + ESTACK_SIZE; pub const ROM_NSTACK_ORG: u32 = 0x5001FC00; - // // Memory Sizes In Bytes // @@ -74,9 +73,9 @@ pub const PCR_RESET_COUNTER_SIZE: u32 = 1024; pub const DATA_SIZE: u32 = 78 * 1024; pub const STACK_SIZE: u32 = 22 * 1024; pub const ROM_STACK_SIZE: u32 = 14 * 1024; -pub const ESTACK_SIZE: u32 = 1024; +pub const ESTACK_SIZE: u32 = 512; pub const ROM_ESTACK_SIZE: u32 = 1024; -pub const NSTACK_SIZE: u32 = 1024; +pub const NSTACK_SIZE: u32 = 512; pub const ROM_NSTACK_SIZE: u32 = 1024; pub const ICCM_RANGE: core::ops::Range = core::ops::Range { diff --git a/rom/dev/tests/rom_integration_tests/test_symbols.rs b/rom/dev/tests/rom_integration_tests/test_symbols.rs index 42f2db6ef7..cfa2af8447 100644 --- a/rom/dev/tests/rom_integration_tests/test_symbols.rs +++ b/rom/dev/tests/rom_integration_tests/test_symbols.rs @@ -29,8 +29,8 @@ fn test_linker_symbols_match_memory_layout() { assert_symbol_addr(&symbols, "DCCM_ORG", memory_layout::DCCM_ORG); assert_symbol_addr(&symbols, "DATA_ORG", memory_layout::ROM_DATA_ORG); assert_symbol_addr(&symbols, "STACK_ORG", memory_layout::ROM_STACK_ORG); - assert_symbol_addr(&symbols, "ESTACK_ORG", memory_layout::ESTACK_ORG); - assert_symbol_addr(&symbols, "NSTACK_ORG", memory_layout::NSTACK_ORG); + assert_symbol_addr(&symbols, "ESTACK_ORG", memory_layout::ROM_ESTACK_ORG); + assert_symbol_addr(&symbols, "NSTACK_ORG", memory_layout::ROM_NSTACK_ORG); assert_symbol_addr( &symbols,