I saw similar topics but non of them helped me.
I am working with Ameba IoT board and Ameba SDK v4.0. I have an application which connects to AWS Cloud using AWS SDK, mbedtls and LwIP.
FreeRTOS v8.2 is used.
I am seeing errornous addresses in uxListRemove which crashes the system.
configAssert is defined.
I tried to change configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY and it is 1 now.
configAssert called for Priority Grouping
configASSERT( ( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue );
In fail case portAIRCR_REG & portPRIORITY_GROUP_MASK value was 768
ulMaxPRIGROUPValue value was 256
Therefore I called " NVIC_SetPriorityGrouping( 0 );" and I passed the configAssert() but still crashes in uxListRemove.
What problem can be? Any suggestion?