cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U575ZIT6 and xcube-Freertos

IN short, it's not working.

I normally use the standard (not x-cube) and L5 processors.  I'm going to the U5 processors for a larger project.  I've gone to Cube MX 6.17.0 and CubeMXIDE 2.1.1.

Starting with a blank project, I configure the pins as usual and enable xcube-FreeRTOS.  Go to CubeIDE, and without FreeRTOS, everything compiles properly.  With FreeRTOS, I get 237 errors, some understandable, and some of the following:

./Middlewares/Third_Party/FreeRTOS/Source/include/task.h:34:6: error: #error "include FreeRTOS.h must appear in source files before include task.h"
   34 |     #error "include FreeRTOS.h must appear in source files before include task.h"
      |      ^~~~~
In file included from ../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:37:
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:62:6: error: #error "FreeRTOS.h must be included before list.h"
   62 |     #error "FreeRTOS.h must be included before list.h"
      |      ^~~~~
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:147:25: error: unknown type name 'TickType_t'; did you mean 'osTimerType_t'?
  147 |     configLIST_VOLATILE TickType_t xItemValue;          /**< The value being listed.  In most cases this is used to sort the list in ascending order. */
      |                         ^~~~~~~~~~
      |                         osTimerType_t
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:175:25: error: unknown type name 'UBaseType_t'
  175 |     configLIST_VOLATILE UBaseType_t uxNumberOfItems;
 

Which indicates to me that something fundamental is wrong somewhere.

Any ideas?

Harvey

 

0 REPLIES 0