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
  • Hi,

    Please look at the file "flash_placement.xml" in your project folder.

    you shoule see: 

        <ProgramSection alignment="4" load="Yes" name=".text" sizeof="0x4"/>
    and
        <ProgramSection alignment="4" load="Yes" name=".rodata" sizeof="0x4" />
    Just delete "sizeof="0x4" from both of them then it should fix your problem.
    Or you just go back to older SDK version such as 16.0.0
    Regards,
    Noom.
Reply
  • Hi,

    Please look at the file "flash_placement.xml" in your project folder.

    you shoule see: 

        <ProgramSection alignment="4" load="Yes" name=".text" sizeof="0x4"/>
    and
        <ProgramSection alignment="4" load="Yes" name=".rodata" sizeof="0x4" />
    Just delete "sizeof="0x4" from both of them then it should fix your problem.
    Or you just go back to older SDK version such as 16.0.0
    Regards,
    Noom.
Children
Related