We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c70118 commit fb46b49Copy full SHA for fb46b49
1 file changed
sw-emulator/lib/periph/src/dma/axi_root_bus.rs
@@ -31,7 +31,7 @@ pub type AxiAddr = u64;
31
32
const TEST_SRAM_SIZE: usize = 4 * 1024;
33
const EXTERNAL_TEST_SRAM_SIZE: usize = 1024 * 1024;
34
-const MCU_SRAM_SIZE: usize = 384 * 1024;
+const MCU_SRAM_SIZE: usize = 512 * 1024;
35
36
pub struct AxiRootBus {
37
pub reg: u32,
@@ -69,7 +69,7 @@ impl AxiRootBus {
69
*SS_MCI_OFFSET + 0xc0_0000
70
}
71
pub fn mcu_sram_end() -> AxiAddr {
72
- Self::mcu_sram_offset() + 2 * 1024 * 1024 - 1
+ Self::mcu_sram_offset() + MCU_SRAM_SIZE as u64 - 1
73
74
pub fn mcu_mbox0_sram_offset() -> AxiAddr {
75
*SS_MCI_OFFSET + 0x40_0000
0 commit comments