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.

CCS/LAUNCHXL-CC2640R2: ".task_stack" without a SECTIONS specification

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hi,

I wrote my on stack allocation function. When i create new task, i call the function to make allocation for stack.

Then, i got this warning

Description	Resource	Path	Location	Type
#10247-D creating output section ".task_stack" without a SECTIONS specification	uartecho_CC2640R2_LAUNCHXL_tirtos_ccs		 	C/C++ Problem


When code has been sent to the launchpad in debugger section. Resume, Suspend and Stop buttons are non-clickable.

This warning is so important or i can ignore it ?
Why the resume, suspend and stop buttons does not work?

Thanks you

Have a nice day

  • erdem simsek said:

    Then, i got this warning

    Description	Resource	Path	Location	Type
    #10247-D creating output section ".task_stack" without a SECTIONS specification	uartecho_CC2640R2_LAUNCHXL_tirtos_ccs		 	C/C++ Problem

    Please see this link for explanation of the warning.

    erdem simsek said:
    When code has been sent to the launchpad in debugger section. Resume, Suspend and Stop buttons are non-clickable.

    Normally when the debug session is launched the code gets loaded to target and is halted at main(). It sounds like that is not happening in your case and instead it comes up running. Is that what it shows in the Debug view? If this is a new issue introduced after adding your own stack allocation function to an example project, I would give that a closer look to see if it may be introducing problems.