Skip to main content
Rodo
Senior
September 1, 2023
Solved

STM32F746-disco project: How to limit the application end address to 0x0807FFFF?

Hi all,

At the bottom of the readme file for the BSP project for this board says:

readme.txt.png

 How do you limit the application end address?

This topic has been closed for replies.
TDK
TDKBest answer
September 2, 2023

In the linker script, set the FLASH section to be 512kB in length:

/* Memories definition */
MEMORY
{
 ...
 FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K
}

 

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
September 2, 2023

In the linker script, set the FLASH section to be 512kB in length:

/* Memories definition */
MEMORY
{
 ...
 FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K
}

 

"If you feel a post has answered your question, please click ""Accept as Solution""."