Skip to content

CCMRAM for stm32 misprint #21698

@Sleader-m1

Description

@Sleader-m1

Description

cpu/stm32/ldscripts/stm32.ld:
ccmram_length = DEFINED( _ccmram_len ) ? _ccmram_len : 0x0 ;
ccmram_length defined with the value of "_ccmram_len". But there is no "_ccmram_len" at all, so "ccmram_length" always has the same default value "0x0"
In cpu/stm32/Makefile.icnlude we define "_ccmram_length":
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ccmram_lenght=$(CCMRAM_LEN)
I think that it should be:
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ccmram_len=$(CCMRAM_LEN)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: cpuArea: CPU/MCU portsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions