2019-06-15 03:18 AM
Hello
I get errors when I generate a project with CMSIS_V2, but when I generate a project with CMSIS_V1 there are no such errors ...
Build started: Project: GPS_tracker_os
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'GPS_tracker_os'
compiling main.c...
linking...
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol eTaskGetState (referred from cmsis_os2.o).
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol uxTaskGetStackHighWaterMark (referred from cmsis_os2.o).
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol uxTaskGetSystemState (referred from cmsis_os2.o).
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol vTaskDelayUntil (referred from cmsis_os2.o).
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol xQueueGetMutexHolder (referred from cmsis_os2.o).
GPS_tracker_os\GPS_tracker_os.axf: Error: L6218E: Undefined symbol xTimerPendFunctionCallFromISR (referred from cmsis_os2.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 6 error messages.
"GPS_tracker_os\GPS_tracker_os.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:02
2019-06-21 02:12 AM
Hi @Dmytry
Thanks for the feedback.
You are right, i was able to reproduce the issue and it will be fixed in the next STM32CubeMX release.
Best Regards,
Nesrine.
2019-07-09 03:28 AM
also in Private includes Part of main.c which was created by CubeMX, it includes "cmsis_os.h" inteads of "cmsis_os2.h".
I think it should be "cmsis_os2.h", if we are talking about CMSIS RTOS v2 API.
2019-08-07 03:02 AM
Hi, I have de same problem. Whats is the solution?
2019-08-07 03:03 AM
Sorry, I have this problem whit a clean prgram generate by STM32CubeMX
2019-08-07 04:36 AM
Perhaps identify the source files that contain those functions, and add those to the project. Or look at command line defines that drive inclusion.