afry-south / dragonfly-fcb

ÅF Dragonfly Quadrotor UAV Project
Other
7 stars 3 forks source link

Implement command to print active threads and status - Needs to be verified #64

Open stenbergd opened 9 years ago

stenbergd commented 9 years ago

See FreeRTOS Plus CLI command samples

vTaskList

stenbergd commented 9 years ago

http://www.freertos.org/rtos-run-time-stats.html

Need to provide some defines and portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() function that provides a timer/counter with suitable time base.

stenbergd commented 8 years ago

@khayyami Is this done now then? Can we close this issue?

khayyami commented 8 years ago

This is done, unfortunately I tagged it as #69 in my commits... sorry. To see task status use command "task-status".

khayyami commented 8 years ago

Task status command "task-status" is implemented but it needs to be verified in order to now that the values are accurate.

adam-at-epsilon commented 8 years ago

I think we should add the task stack high water mark functionality into the task list, this will help with task #33 .

http://www.freertos.org/uxTaskGetStackHighWaterMark.html

adam-at-epsilon commented 8 years ago

vTaskGetRunTimeStats uses sprintf, not snprintf this causes a buffer overrun.