This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

zephyr/zephyr_prebuilt.elf section `text' will not fit in region `FLASH'

Hello,

I've been experimenting with nRF Connect SDK and compiling a program which supports provisioner mode, provisioning and direction finding.

Everything compiles and works fine, until I started adding direction finding code to it. The actual files seem to compile, but then I faced with an error:

My prf.conf has been changed accordingly to the sample. How to fix this?

Parents Reply Children
  • Hey Ilias,

    My first thought was that this might actually be too much for the nRF5340 flash wise.

    unkn0wnerr0r said:
    To clarify: I'm using "nrf5340dk_nrf5340_cpunet" board option. Could that be the issue?

    Yeah that might be it. Try building for the app-core, the child image should flash itself to the net-core.

    Best regards,

    Elfving

Related