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

section '.init' will not fit in region 'UNPLACED_SECTIONS' and region 'UNPLACED_SECTIONS' overflowed

Hello

While converting from nRF52832 to nRF52810, we found a problem that the SEGGER compiler returns with the message 

section '.init' will not fit in region 'UNPLACED_SECTIONS' and region 'UNPLACED_SECTIONS' overflowed....

Checking the steps one by one - means to make a step, recompile, and than do in the next one,  which described in the https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fnrf52810_user_guide.html, it seems that after changing the target CPU, the Segger change the FLASH session to FLASH1, which cause to linker error.

The Segger section located at: Project option -> common-> debugger-> target_device, and the FLASH1 changed in Linker->Memory Segments.

Changing it manually to FLASH resolve this problem.

Environment:

nRF5_SDK_17.0.2_d674dde (downloaded yesterday from your site),

Segger V5.20,

Example starting project: ble_app_uart_pca10040_s112 

 FYI

Related