I recently developed BMS with S32K144 on S32DS and I encountered this promble when adding freertos，but I found the definition in StackMacros.h，what do i need to configure，thanks for your help！
I tested it on SDK_Beta 0.9 FreeRTOS example - and there is no problem with Stack overflow check. These two macros (taskFIRST_CHECK... and taskSECOND_CHECK...) are defined StackMacros.h and functions called by this macros are implemented in rtos.c So - on my machine with Beta_0.9 SDK is everything working okay.
So - are your errors "real" errors? Sometimes is design studio showing bunch of errors - but it is known refresh issue which will be fixed in next version of S32DS. Rebuild index (right click on project) may help fix the fake error messages. Just make sure that the elf file is not really generated.
yes,These two macros (taskFIRST_CHECK... and taskSECOND_CHECK...) are defined StackMacros.h, and functions called by this macros are implemented in tasks.c,,configCHECK_FOR_STACK_OVERFLOW is defined FreeRTOSConfig.h it's value is 2, portSTACK_GROWTH is defined portmacro.h, it's value is -1, but after build , show error as "undefined reference to vApplicationStackOverflowHook" and "undefined reference to vApplicationStackOverflowHook", so i send you my project ,may i help you to analyze it,thanks very much.
the project will be helpful for me. It looks like as some linker error. If you can send it - I'll look at the issue.
The problem is solved , thanks for your help!
Oh - perfect ;-)
Can you tell me how to use "FLEXCAN_DRV_IRQHandler" 's callback function , do you have an example 。
Retrieving data ...