Loading...
 
Skip to main content

Comments

  • topknot 2016-10-31 02:54

    The _estack values above should be:

    _estack = 0x20020000; /* one byte after last RAM address*/

    and

    _estack = 0x10010000; /* one byte after end of CCMRAM */

    to be 8-byte aligned or you will see errors printing longs and floats

    • dautrevaux 2016-10-31 18:08

      Hi

      Thanks for the heads-up; the linker scripts had been updated a while ago, but this documentation page was missed...

      Bernard (Ac6)

  • TQS-JSC 2018-01-29 11:34

    Hi, i think the line
    char in_ccram_buffer1024 attribute((section("ccmram")));
    is missing a dot in front of ccram, should be
    char in_ccram_buffer1024 attribute((section(".ccmram")));

  • kwastek 2019-12-30 17:30

    Are you sure this makes sense? I'm just learning this and I'm trying to figure this out, but comparing to code from STM32Cube, which seems reasonable, it should be
    _siccmram = LOADADDR(.ccmidata)

    and
    ldr r3, =_siccmram
    (although it wouldn't be called 'ram' now, as it would address of the section in flash)