Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/stm32: fix ld script for SRAM4 #19842

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cpu/stm32/ldscripts/stm32.ld
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @}
*/

ccmram_length = DEFINED( ccmram_len ) ? ccmram_len : 0x0 ;
sram4_length = DEFINED( sram4_length ) ? sram4_length : 0x0 ;
ccmram_length = DEFINED( _ccmram_len ) ? _ccmram_len : 0x0 ;
sram4_length = DEFINED( _sram4_length ) ? _sram4_length : 0x0 ;

MEMORY
{
Expand All @@ -31,7 +31,7 @@ SECTIONS
{
.heap2 ALIGN(4) (NOLOAD) :
{
_sheap2 = . ;
_sheap2 = ORIGIN(sram4);
_eheap2 = ORIGIN(sram4) + LENGTH(sram4);
} > sram4
}
Expand Down