Closed mhuangwm closed 6 years ago
This was the same as https://github.com/meekrosoft/fff/issues/3
I noticed the fix was for C only, so I've compiled the file under C-only and it seems to be compiling that file with no errors.
Out of curiosity, I am wondering why is the fix C-Only? i.e. what limitations of the fix does it not translate to C++ as well?
Hi William, Glad for the feedback. I suppose the fix in C-only since that was what was in the pull request. I would be happy to accept a pull request that adds C++ support :-) Best regards, Mike
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