cancel
Showing results for 
Search instead for 
Did you mean: 

Creating CMake project for STM32U5 divide memory

nicolas
Senior

I'm using STM32CubeIDE 1.18.1 and when i create a new STM32 CMake Project for a STM32U5, the generated ld file contain only half the memory.

For example here what is generated in STM32U575ZITXQ_FLASH.ld:

MEMORY
{
  RAM	(xrw)	: ORIGIN = 0x20040000,	LENGTH = 512K     /* Memory is divided. Actual start is 0x20000000 and actual length is 768K */
  SRAM4	(xrw)	: ORIGIN = 0x28000000,	LENGTH = 16K
  FLASH	(rx)	: ORIGIN = 0x08100000,	LENGTH = 1024K    /* Memory is divided. Actual start is 0x08000000 and actual length is 2048K */
}

This doesn't happens when creating a classic STM32 project.

1 REPLY 1
Mahmoud Ben Romdhane
ST Employee

Hello @nicolas 

First let me thank you for posting.

Your request is under investigation, and I will get back to you ASAP.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.