Skip to content

Commit 30fdd20

Browse files
committed
test(port_arm): fix the memory permissions
1 parent c953ad9 commit 30fdd20

File tree

1 file changed

+3
-2
lines changed
  • src/constance_port_arm_test_driver/src

1 file changed

+3
-2
lines changed

src/constance_port_arm_test_driver/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ macro_rules! instantiate_test {
7979
#[cfg(feature = "board-rza1")]
8080
const MEMORY_MAP: &'static [port::MemoryMapSection] = &[
8181
// On-chip RAM (10MB)
82-
port::MemoryMapSection::new(0x2000_0000..0x2050_0000, 0x2000_0000).with_executable(true),
83-
port::MemoryMapSection::new(0x2050_0000..0x20a0_0000, 0x2050_0000)
82+
port::MemoryMapSection::new(0x2000_0000..0x2050_0000, 0x2000_0000)
83+
.with_executable(true)
8484
.with_writable(false),
85+
port::MemoryMapSection::new(0x2050_0000..0x20a0_0000, 0x2050_0000),
8586
// I/O areas
8687
port::MemoryMapSection::new(0x3fe0_0000..0x4000_0000, 0x3fe0_0000).as_device_memory(),
8788
port::MemoryMapSection::new(0xe800_0000..0xe830_0000, 0xe800_0000).as_device_memory(),

0 commit comments

Comments
 (0)