aggarg-aws wrote on Thursday, October 31, 2019:
If I don’t create the task which uses dynamic memory, the scheular runs without any issues.
Seems like some memory corruption.
- Are you using the same definition for callbacks as provided here: FreeRTOS - The Free RTOS configuration constants and configuration options - FREE Open Source RTOS for small real time embedded systems
- What does the dynamically allocated task do?
- Enable stack overflow checking: FreeRTOS - stacks and stack overflow checking
- Enable malloc failed hook: FreeRTOS - RTOS hook (callback) functions for task stack overflows, tick interrupts, idle task, daemon task startup, and malloc failure (pvPortMalloc() returning NULL)
Thanks.