cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX: Linker script for STM32L433CB

CSant.17
Associate

Hi

I used STM32CubeMX (4.27.0) to generate the files for the STM32L433CB and noticed that in the link script (STM32L433CB_FLASH.ld) the memories are incomplete (RAM2 "is" in RAM).

I checked the examples of STM32Cube_FW_L4_V1.13.0 (NUCLEO-L433RC-P) and they are different (RAM2 is separated ).

The end of RAM (_estack) and some ALIGN are different too.

On Release Notes for NUCLEO-L433RC-P Templates (and LL) there is the following entry:

V1.13.0 / 27-July-2018

Main Changes

- Correction of stm32l433xx_flash.icf RAM sections definition

I suppose that the update was not replicated on STM32CubeMX.

Shouldn't the generated link script be the same as the template?

Best Regards,

Carlos

3 REPLIES 3

RAM2 appears at TWO memory locations, and it is generally more convenient to let RAM1 and RAM2 run concurrently. ​

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
Lead II

Hello @CSant.17​ ,

This is highlighted internally for further check. We will answer you ASAP.

Khouloud.

Nawres GHARBI
ST Employee

hi @CSant.17​ 

STM32CubeMX manage only now the first RAM, a module to manage all memories will be added soon in the tool.