Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Development environment:SDK15.1; 52840;Segger Embedded(V3.34a);Compile error:UNPLACED_SECTIONS

Hi,Sir:

 

I am developing a 52840’s project using SDK15.1,My development environment is Segger embedded (version 3.34a).When I added the RNG function to the code (the correct .c file, .h file, and macro were added correctly), the but finally compiler reported an error:

Linking uart_pca10056.elf

Output/Debug/Exe/uart_pca10056.elf section `.nrf_queue' will not fit in region `UNPLACED_SECTIONS'

section .nrf_queue LMA [00000000,00000013] overlaps section .vectors LMA [00000000,000001ff]

region `UNPLACED_SECTIONS' overflowed by 21 bytes

 

I still have a lot of RAM resources (100 KB RAM remaining), I looked at the code carefully and found no problems with the code.This looks strange. In my code, I used nrf_calloc (consuming 120 KB of RAM) and app_fifo (consuming 8 KB of RAM).My program is normal before I add the code for RNG.

Could you offer a solution to this problem? I look forward to your reply.

Parents Reply Children
No Data
Related