Skip to content

Commit 7148502

Browse files
committed
boards: opta: allow memory mapping external QSPI flash
This commit enable QSPI flash memory mapping on OPTA Signed-off-by: Mattia Pennasilico <[email protected]>
1 parent 06a072c commit 7148502

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
zephyr,code-partition = &slot0_partition;
2222
zephyr,bt-hci = &bt_hci_uart;
2323
};
24+
25+
ext_memory: memory@90000000 {
26+
compatible = "zephyr,memory-region";
27+
reg = <0x90000000 DT_SIZE_M(16)>; /* max addressable area */
28+
zephyr,memory-region = "EXTMEM";
29+
/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
30+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
31+
};
2432
};
2533

2634
zephyr_udc0: &usbotg_fs {

0 commit comments

Comments
 (0)