'UNPLACED SECTIONS' issue - Segger Embedded Studio


I am trying to run a simple ble_app_hrs example from the SDK v12, but I am getting the same error as in this post devzone.nordicsemi.com/.../

Building ‘ble_app_hrs_pca10040_s132’ from solution ‘ble_app_hrs_pca10040_s132’ in configuration ‘nrf52832_xxaa’

Generating linker script ‘ble_app_hrs_pca10040_s132.ld’ Linking ble_app_hrs_pca10040_s132.elf Output/nrf52832_xxaa/Exe/ble_app_hrs_pca10040_s132.elf section .fs_data' will not fit in regionUNPLACED_SECTIONS' region UNPLACED_SECTIONS' overflowed by 16 bytes Output/ble_app_hrs_pca10040_s132 nrf52832_xxaa/Obj/fstorage.o: In functioncheck_config': undefined reference to __start_fs_data' undefined reference to__stop_fs_data' Output/ble_app_hrs_pca10040_s132 nrf52832_xxaa/Obj/fstorage.o: In function fs_init': undefined reference to__stop_fs_data' undefined reference to `__start_fs_data' Build failed

I can see that the question has been answered, but I am still not quite sure what the solution is.

  1. How is the flash_placement.xml file added to the project and what is the correct content of this file?

  2. The post also mentions that I need to 'import' and modify the standard thumb_crt.s file. It is already added under 'internal files', but If I try to modify the thumb_crt.s file then I get a warning, that this file can't be modified.?

If anyone could sum up exactly how to cope with this 'UNPLACED SECTIONS' issue it will be very much appreciated.

Thanks in advance.

Cheers, Jan