I have modified the file FreeRTOSConfig.h to include setting the options (to 1):
configUSE_TIMERS
INCLUDE_xTimerPendFunctionCall
and
INCLUDE_xEventGroupSetBitFrmISR
just as described in the ref manual. (The manual’s only reference to event groups)
However, my build fails, unable to resolve several basic types which are referenced in event_groups.h
TickType_t, BaseType_t, UBaseType_t
I searched the whole source tree and there is no instance of these (undefined) so I must have missed something when we created this instance of FreeRTOS.
Yes, but the header file is included from a C file, so which source file are you building when the error occurs. Is it your own file or is it the event_groups.c file?
If you are genuinely using FreeRTOS V8.0.1 (or 8.1 as you say - although 8.1 is only available in SVN at this time) then TickType_t, BaseType_t, UBaseType_t are used throughout the FreeRTOS source files, so I’m not sure why you say you can’t find them defined anywhere or why your compiler would be happy with them in task.c, queue.c etc. but not event_groups.c.
Have you included “FreeRTOS.h” before you include “event_groups.h”. I think you will hit a
#error
if not anyway.
Open up the other FreeRTOS source files and look at the version number at the top. I would guess you are mixing source files from different versions.
I am running freeRTOS. Maybe I have the version number wrong - I am sure that the freeRTOS I downloaded is at least version 8.0.1 (I am away from the work site now and can’t look at it).
I think the problem may be that stm32CubeX configured the build for an F207 (correctly) and that there is no support for the cortex event in that processor.
If that i snot the problem, perhaps I will recover the configuration I need when I reconfigure with cubeX.
In any event, I am going to dothat Monday morning and I’ll post a message either way.