-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Describe the bug
Commit 5d0306c of #88579 moved the slot0_partition
, slot1_partition
, scratch_partition
from the internal flash to the external OSPI NOR flash. At the same time, the nor
partition on the external NOR flash was deleted. This breaks all applications that rely on the slot0_partition
, slot1_partition
, scratch_partition
to be on internal flash as well as all applications that use the nor
partition on external flash with the stm32h573i_dk
board.
Additionally, a minor but related issue exists in the board's YAML file: stm32h573i_dk.yaml
still specifies flash: 2048
although executing from external flash the board has 16MB available.
To avoid breaking existing projects and maintain compatibility with previous versions of Zephyr, the default board configuration should be restored. I would propose introducing a board variant for applications stored in external flash. This approach allows users to opt-in to the new memory layout without affecting existing projects.
A good precedent for this is the ext_flash_app
variant proposed for the STM32H750B-DK in #97037. A similar variant for the stm32h573i_dk would be an ideal solution.
Regression
- This is a regression.
Steps to reproduce
No response
Relevant log output
Impact
Functional Limitation – Some features not working as expected, but system usable.
Environment
No response
Additional Context
No response