Thanks for your tip, I increased stack size by 2024 but after increasing the stack size i got another error related to watch dog,chegewara wrote:Actually not. Espressif version freertos we are using is using uint8 in stack depth.smit.italiya wrote: #define configSTACK_DEPTH_TYPE uint32_t
it takes uint32_t ,so we can say that 256 bytes is enough for esp_logi also i tried with increasing the stack size by 1024 but got the same output. anything else did i wrong in the code?
Small tip here:
- minimum stack size is 1500-2000
- with logs, printf, sprintf etc its safe to start with stack size 3500-4000
**ERROR**
E (15317) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (15317) task_wdt: - IDLE0 (CPU 0)
E (15317) task_wdt: Tasks currently running:
E (15317) task_wdt: CPU 0: main
E (15317) task_wdt: CPU 1: IDLE1
E (15317) task_wdt: Print
CPU 0 (current core) backtrace
Then i searched online and found solution that guy suggest to - Not Set The Watchdog of IDEAL task for both core 0 and 1 from menuconfig that it i did not got any error on Monitor window but this is the right way ? any effect on running FreeRTOS task ?