Message error after generation of default project for STM32F429I for FreeRTOS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-05 6:52 AM
Dear ST Hello,
I am using Cubmx to create an RTOS for stm32f429I discovery board.
I generated the default project for this board with FreeRTOS.
I have an error compilation,
Middlewares/Third_Party/FreeRTOS/Source/tasks.o: In function `prvAddNewTaskToReadyList':
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetObjectHandle'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceSetTaskNumberLow16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceSetTaskNumberHigh16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetTaskNumberLow16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceSetObjectName'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetTaskNumberLow16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceSetPriorityProperty'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetCurrentTaskHandle'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetTaskNumberHigh16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetTaskNumberHigh16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceGetTaskNumberLow16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvTraceStoreKernelCall'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1127: undefined reference to `prvAddTaskToStackMonitor'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1129: undefined reference to `prvTraceGetTaskNumberHigh16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1129: undefined reference to `prvTraceGetTaskNumberLow16'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1129: undefined reference to `prvTraceStoreTaskReady'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1152: undefined reference to `CurrentFilterGroup'
C:/Users/STarikUser/STM32CubeIDE/workspace_1.3.0/TS_RtosForTrace/Debug/../Middlewares/Third_Party/FreeRTOS/Source/tasks.c:1152: undefined reference to `CurrentFilterMask'
Thank you in advance,
S.Tarik,
- Labels:
-
FreeRTOS
-
STM32CubeMX
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-06 11:20 PM
Hi @NSemrHomeInit​ ,
Which version of CubeMX are you using ?
Can you please check with the latest version of CubeMX and CubeIDE?
Thanks, Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 4:32 AM
Hello Khouloud,
I am using the CubeMx 5.6.1 and CubeIDE 1.5.0. Could you confirm please that I am using the latest version?
My RTOS is running on this version of CubeIDE but have an issue.
- I am using TIM1 for RTOS ==> OK (task 1)
- I am using TIM3 to blink an Led and to handle an interrupt using FreeRTOS ==> NOK (task2)
I could understand why the TIM3 interrupt is not triggered? Could you please help to solve this?
The tim3 global interrupt is enabled and the preemption priority is 5. My RTOS configuration for the RTOS header file are:
Library_lovest_interrrupt_priority = 15
Library_max_syscall_interrupt_priority = 5
I am adding this call function HAL_NVIC_SetPriorityGrouping (NVIC_PRIORITYGROUP_4); but nothing changed, still have the same problem.
Thanks in advance,
S.Tarik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 5:43 AM
Hi @NSemrHomeInit​
The Latest CubeMX version is 6.1.0, please check if you still find compilation error with the default project.
Thanks, Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 6:32 AM
OK, the icone shows me 5.6.1, but the version I have is the same you menshed.
The default project build is okay.
How about :
My RTOS is running on this version of CubeIDE but have an issue.
- I am using TIM1 for RTOS ==> OK (task 1)
- I am using TIM3 to blink an Led and to handle an interrupt using FreeRTOS ==> NOK (task2)
I could understand why the TIM3 interrupt is not triggered? Could you please help to solve this?
The tim3 global interrupt is enabled and the preemption priority is 5. My RTOS configuration for the RTOS header file are:
Library_lovest_interrrupt_priority = 15
Library_max_syscall_interrupt_priority = 5
I am adding this call function HAL_NVIC_SetPriorityGrouping (NVIC_PRIORITYGROUP_4); but nothing changed, still have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 6:50 AM
One more information,
The TIM3.CNT register is always 0.
