Added the state of the FreeRTOS stack (free heap/total heap)
This commit is contained in:
parent
66a3c87131
commit
60cf47b142
@ -38,9 +38,13 @@ void user_task_main(void *param)
|
||||
if(buf)
|
||||
{
|
||||
UBaseType_t writtenSize = vTaskList((char *)buf, 800);
|
||||
APP_LOG_INFO("Available RAM (bytes)/Total RAM (bytes) : %u/%u"NEW_LINE"Reset reason : %d"NEW_LINE"Clk : apb(%u), cpu(%u), wlan(%u)"NEW_LINE"Tasks (%lu) :"NEW_LINE,
|
||||
tls_mem_get_avail_heapsize(),
|
||||
total_mem_size,
|
||||
APP_LOG_INFO("Available RAM (bytes)/Total RAM (bytes) : %u/%u"NEW_LINE
|
||||
"FreeRTOS heap : %u/%u byte(s)"NEW_LINE
|
||||
"Reset reason : %d"NEW_LINE
|
||||
"Clk : apb(%u), cpu(%u), wlan(%u)"NEW_LINE
|
||||
"Tasks (%lu) :"NEW_LINE,
|
||||
tls_mem_get_avail_heapsize(), total_mem_size,
|
||||
xPortGetFreeHeapSize(), configTOTAL_HEAP_SIZE,
|
||||
tls_sys_get_reboot_reason(),
|
||||
clk.apbclk, clk.cpuclk, clk.wlanclk,
|
||||
writtenSize);
|
||||
|
Loading…
Reference in New Issue
Block a user