Skip to main content
CSant.17
Visitor II
Oct 16, 2018 11:31 AM UTC
Question

STM32CubeMX: Linker script for STM32L433CB

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

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Oct 16, 2018 12:39 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
ST Employee
Oct 16, 2018 1:22 PM UTC

Hello @CSant.17​ ,

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

Khouloud.

Nawres GHARBI
ST Technical Moderator
Nov 15, 2018 1:55 PM UTC

hi @CSant.17​ 

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