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 ACCEPTED SOLUTION

Accepted Solutions

Hello @nicolas ,

 

Let me thank you for bringing this issue to our attention.

An internal ticket is submitted to the Development Team (Ticket Number: 210768).

 

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.

View solution in original post

4 REPLIES 4
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.

I have also found differences in the startup file. Some IRQ handler doesn't have the same name (GPDMA1_ChannelX_IRQHandler vs GPDMA1_CHX_IRQHandler).

nicolas
Senior

Here are my project files

Hello @nicolas ,

 

Let me thank you for bringing this issue to our attention.

An internal ticket is submitted to the Development Team (Ticket Number: 210768).

 

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.