Error when building Modem_Shell for Thingy91 -> ld.bfd: region `FLASH' overflowed by 64612 bytes

When I execute the command:  west build -p -b thingy91_nrf9160_ns -- -DDTC_OVERLAY_FILE=ppp.overlay -DOVERLAY_CONFIG=overlay-ppp.conf

I get: 

ld.bfd: region `FLASH' overflowed by 64612 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /home/xavier/ncs/v2.2.99-dev3/nrf/samples/nrf9160/modem_shell/build

I only wish to use the modem shell for the PPP functionality, and do not care about including support that is not necessary to achieve PPP dial up service. Any suggestions on how to build this image with only PPP that will fit on the Thingy91 would be IMMENSELY appreciated!   

Parents
  • Hello, 

    Could you please test with latest tagged version v2.2.0? You are currently on the main branch. The nRF Connect SDK repository is described in our documentation. As stated, the main branch can often be unstable as this is where the latest development is added. The tagged versions are stable versions. 

    Are you able to share more information about you setup and environment?  I tested on my side on Linux, MacOS, and Windows, the latter using VS Code. extension. The former two built with success, however, with Windows I got the same issue. I updated the SDK and Toolchain, and it successfully built.

    Can you test on your side?

    Kind regards,
    Øyvind

Reply
  • Hello, 

    Could you please test with latest tagged version v2.2.0? You are currently on the main branch. The nRF Connect SDK repository is described in our documentation. As stated, the main branch can often be unstable as this is where the latest development is added. The tagged versions are stable versions. 

    Are you able to share more information about you setup and environment?  I tested on my side on Linux, MacOS, and Windows, the latter using VS Code. extension. The former two built with success, however, with Windows I got the same issue. I updated the SDK and Toolchain, and it successfully built.

    Can you test on your side?

    Kind regards,
    Øyvind

Children
Related