Build error

Hi, 

I'm getting an error when building the example program blinky that says: ".text is larger than specified size" and ".rodata is larger than specified size".

I'm using version 17.1.0 of the nRF5 SDK, and version 6.32 of SES for ARM (64 bit).



Parents Reply
  • A minor clarification...

    Look in flash_placement.xml in the ses subdirectory.

    You should see:

     <ProgramSection alignment="4" load="Yes" name=".text" size="0x4" />

    and

    <ProgramSection alignment="4" load="Yes" name=".rodata" size="0x4" />

    Remove: size="0x4" from both lines resulting in:

    <ProgramSection alignment="4" load="Yes" name=".text" />

    and

    <ProgramSection alignment="4" load="Yes" name=".rodata" />

    I have no idea why this works.

Children
Related