Skip to content

Conversation

@TD-JBL
Copy link
Contributor

@TD-JBL TD-JBL commented Nov 19, 2025

This adresses nr. 6 of #99505

Change the zephyr,memory-attr of the ext_memory / ext_flash_mem node to ATTR_MPU_FLASH because ATTR_MPU_IO does not allow unaligned memory accesses.

Also remove the ext_memory: memory@70000000 node from the SoC's dt, as the external flash memory is part of the board design. Same as with psram-node which is only defined at board level at the stm32h7s78_dk.
When someone connects the flash to XSPI1 or switches ports with XSPIM, external flash will not be at 0x70000000.
Note: The nucleo_h7s3l8 and stm32h7s78_dk boards already have this node.

Remove the ext_memory: memory@70000000 node as the external flash memory
is part of the board design. The nucleo_h7s3l8 and stm32h7s78_dk boards
already have this node.

Signed-off-by: Thomas Decker <[email protected]>
Change the zephyr,memory-attr of the ext_memory / ext_flash_mem node to
ATTR_MPU_FLASH because ATTR_MPU_IO does not allow unaligned memory access.

Signed-off-by: Thomas Decker <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants