Hello,
I noticed a difference in the STM32G4 GCC linker scripts.
For most G4 devices, the default RAM region aliases (MAIN_STACK_RAM, PROCESS_STACK_RAM, DATA_RAM, BSS_RAM, HEAP_RAM) point to ram2 (SRAM1).
For the G491 family, these aliases point to ram0 (SRAM1 + SRAM2 + CCM).
Would it be possible to align the G491 linker scripts with the other G4 scripts and use ram2 (SRAM1) as the default as well?
Thanks,
Alexandre
align all stm32g4xx linker script to use ram2 Topic is solved
align all stm32g4xx linker script to use ram2
- Attachments
-
- stm32g491_ram2_patch.zip
- (658 Bytes) Downloaded 190 times
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: align all stm32g4xx linker script to use ram2
Fixed in repository already, forgot to close this, thanks.
Giovanni
Giovanni