-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Description
Hello everyone,
I am currently developing a rather memory-consuming project on the STM32H747I_DISCO_M7 chip. We are utilizing 1.7 megabytes out of the 2 megabytes flash area available. According to the STM32H747I Disco manual, 1 megabyte is allocated for the M7 and 1 megabyte for the M4 chip. It is necessary to use the STM32CubeProgrammer to reconfigure the BOOT_CM7 and BOOT_CM4 addresses, as described here: [link]. The Zephyr board man-page also confirms this.
Desired Solution:
It would be advantageous to configure the M7 and M4 flash areas in KConfig or devicetree. Using the STM32Cube programmer to set the BOOT_CM_ADDR1 makes production more time-consuming and error-prone. The USER_VECT_TAB_ADDRESS in system_stm32h7xx_dualcore_boot_cm4_cm7 already provides the possibility to change the Flash bank values. Is there a native Zephyr way to achieve this? Am I overlooking something?
Let me know if my point is valide?
Best regards