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
  • Make sure you not only enable the NRFX_ defines in sdk_config.h but also the corresponding legacy defines, as they take precedence. For instance, you must set SPIS1_ENABLED and SPIS_ENABLED to 1.

    Regarding the BLE related errors those seem related to you having switched to another SoftDevice (different from S140 or S132 which are the only two that support extend advertising), but still refer to that in your code.

Children
Related