This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Transferring pca10056 project to nRF52811 hardware build error Output/Release/Exe/xxx_pca10056_s140.elf section `.init' will not fit in region `UNPLACED_SECTIONS'

Hi all,

I'm trying to transfer my custom project pca10056 (which is to broadcast a beacon) to nRF52811 hardware and I'm facing some issues in the last stage of build.

FYI:

1. My pca10056 project can be built and ran sucessfully on nRF52840DK and the beacon can be discovered by using phone with nRF Connect.

2. I'm using SDK nRF5_SDK_16.0.0_98a08e2 with Softdevice  s140_nrf52_7.0.1

2. I'm aware of developing for nRF52811 documetation and some of discussion on this forum on the configurations including: RAM and Flash size

 https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fnrf52811_user_guide.html

https://devzone.nordicsemi.com/f/nordic-q-a/48516/transferring-the-project-to-nrf52811-hardware---fpu-error/192748#192748

https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory

Here is the build issues I got:

      

Really appreciate help from all of you. Thank you

Parents Reply
  • Hi,

    This error is expected as you have set FLASH_START=0x25000, but the size of S140 7.0.1 is 0x27000 (you can see this from the SoftDevice release notes). So using that SoftDevice your FLASH_START must be set to 0x27000, and the size adjusted accordingly. Note that you will not have much room for other data using this SoftDevice on the nRF52811 so it may be a good idea to consider migrating to anther SoftDevice unless you need some S140 features and have a very small application.

Children
Related