Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC2640R2F: Always call the main task

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

Hello,

I am using CC2640 with ccsv7. My application has two tasks  (main task + idle task). I wont to have only my main task info ( call stack...etc), for that I used this API: Task_stat(Task_self(), &statbuf);

The issue that when I call Task_sleep(), I will switch from the main to idle task and Task_self() will call the idle task, hence I will get the data of the latter. Is there a way to get always the info of my main task?

Regards,


Viewing all articles
Browse latest Browse all 262198

Trending Articles