How do I enable the FreeRTOS function eTaskGetState in Halcogen 4.04.00?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How do I enable the FreeRTOS function eTaskGetState in Halcogen 4.04.00?
In order to use this function, INCLUDE_eTaskGetState must be defined as 1.
"See the configuration section for more information."
So in FreeRTOS.h change:
#ifndef INCLUDE_eTaskGetState
#define INCLUDE_eTaskGetState 0
by
#ifndef INCLUDE_eTaskGetState
#define INCLUDE_eTaskGetState 1
Are you using MPU in your FreeRtos implementation?
Check in os_mpu_wrappers.h There is a redefinition of :
#define eTaskGetState MPU_eTaskGetState
Maybe you can have a look on FreeRtos forum.
Nathan,
I was able to get some help from FreeRtos on your problem.
Halcogen does not generate code for FreeRtos. We just use their code.
The MPU support is in progress, and the release used by Halcogen does not have all the support.
Please have a look at this post, it is a similar question with a full description on how to fix the problem.