cancel
Showing results for 
Search instead for 
Did you mean: 

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

Rodo
Senior

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".