Hello,
I am trying to stub out some FreeRTOS API using FFF. At the moment, I am trying to stub out xTimerCreate:
FAKE_VALUE_FUNC(TimerHandle_t, xTimerCreate, const char * const, const TickType_t, const UBaseType_t, void * const, TimerCallbackFunction_t);
However, I am getting a compilation error:
error: use of deleted function 'xTimerCreate_Fake::xTimerCreate_Fake()'
FAKE_VALUE_FUNC(void *, xTimerCreate, const char * const, const TickType_t, const UBaseType_t, void * const, TimerCallbackFunction_t);
Unfortunately, I cannot change the production code to abstract out FreeRTOS.
Any ideas how I can get around this?
Thanks
Hello,
I am trying to stub out some FreeRTOS API using FFF. At the moment, I am trying to stub out xTimerCreate:
FAKE_VALUE_FUNC(TimerHandle_t, xTimerCreate, const char * const, const TickType_t, const UBaseType_t, void * const, TimerCallbackFunction_t);However, I am getting a compilation error:
Unfortunately, I cannot change the production code to abstract out FreeRTOS.
Any ideas how I can get around this?
Thanks