This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2630: Linker Error[Lp011]: section placement failed unable to allocate space for sections/blocks with a total estimated minimum size of 0xcc5f bytes

Part Number: CC2630

Tool/software: TI-RTOS

hi,

I'm trying to Log info using UART in cc2630, for that i'm following this doc in wiki.ti.com.

I'm playing with sample switch application, in that But editing  the TI-RTOS config file from the above doc with below configuration

// Tell the Idle module to add our flush() function to the idle loop (before Power)
var Idle = xdc.useModule('ti.sysbios.knl.Idle'); // Add if Idle isn't already imported.
Idle.addFunc('&uartLog_flush');

it throws the following Linker Error:

IAR ELF Linker V7.80.4.12462/W32 for ARM
Copyright 2007-2017 IAR Systems AB.
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0xcc5f bytes (max align 0x4) in <[0x00000000-0x0000cfff]> (total uncommitted space 0xcad8).
Uncommitted:
[0x00000000-0x000000ff]: 0xc4
[0x00000510-0x00000513]: 0x3
[0x0000058c-0x0000058f]: 0x3
[0x000005e8-0x0000cfff]: 0xca14

44 822 bytes of readonly code memory
9 132 bytes of readonly data memory
13 984 bytes of readwrite data memory

Errors: 1
Warnings: none

Link time: 0.30 (CPU) 0.23 (elapsed)
Error while running Linker