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/EK-TM4C123GXL: Task definition in main.cpp showing an unresolved symbol.

Part Number: EK-TM4C123GXL

Tool/software: TI-RTOS

Hi TI Forum,

I am new to TI-RTOS and TIVA C. I'm planning to use C++ with TI-RTOS. I am facing a problem while creating a Task in static way. I'm giving task definition in main.cpp. I'm getting the following error

warning #10229-D: output section ".data" refers to load symbol "[Task Function name]" and hence cannot be compressed; compression "lzss" is ignored

when i searched in .map file . I found that [Task Function name] is allocated with address UNDEFED.

I tried creating dynamically in main.cpp . The code is compiling cleanly and detecting the [Task Function name] with some defined address.

my question is can't we use .cpp with combination of TI-RTOS. If yes, we can you say where am i going wrong.?

Thanks in advance.