2019-12-08 04:04 PM
I have been trying to set up the initial code from cubeMX for my Thread Project.
The Steps that i have taken are as follow:
1) Set up RCC
2) Set up HSEM
3) Turn on RTC
4) Activate RF
Here are where the problems start, since i could compile until here
5) Select Thread from WPAN
Also from utilities Sequencer and TinyLPM have been checked.
When I compile I get this:
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:185: undefined reference to `UTIL_LPM_Init'
Core/Src/app_entry.o: In function `appe_Tl_Init':
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:205: undefined reference to `UTIL_SEQ_RegTask'
Core/Src/app_entry.o: In function `APPE_SysEvtReadyProcessing':
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:283: undefined reference to `UTIL_LPM_SetOffMode'
Core/Src/app_entry.o: In function `shci_notify_asynch_evt':
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:335: undefined reference to `UTIL_SEQ_SetTask'
Core/Src/app_entry.o: In function `shci_cmd_resp_release':
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:342: undefined reference to `UTIL_SEQ_SetEvt'
Core/Src/app_entry.o: In function `shci_cmd_resp_wait':
STM32CubeIDE/workspace_/wpan/Debug/../Core/Src/app_entry.c:349: undefined reference to `UTIL_SEQ_WaitEvt'
STM32_WPAN/App/app_thread.o: In function `APP_THREAD_Init':
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:144: undefined reference to `UTIL_LPM_SetOffMode'
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:160: undefined reference to `UTIL_SEQ_RegTask'
STM32_WPAN/App/app_thread.o: In function `Pre_OtCmdProcessing':
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:432: undefined reference to `UTIL_SEQ_WaitEvt'
STM32_WPAN/App/app_thread.o: In function `Wait_Getting_Ack_From_M0':
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:443: undefined reference to `UTIL_SEQ_WaitEvt'
STM32_WPAN/App/app_thread.o: In function `RxCpltCallback':
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:484: undefined reference to `UTIL_SEQ_SetTask'
STM32_WPAN/App/app_thread.o: In function `APP_THREAD_Init_UART_CLI':
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:576: undefined reference to `UTIL_SEQ_RegTask'
STM32CubeIDE/workspace_/wpan/Debug/../STM32_WPAN/App/app_thread.c:582: undefined reference to `MX_USART1_UART_Init'
Does anyone know how to fix this?
Solved! Go to Solution.
2019-12-10 07:42 AM
I had the same issue. To resolve it, I have added "Utilities" path in C/C++ General->Path and Symbols->Source Location. Because if you read the complete log, you can see compiler never reads this folder.
This issue exists if you use the standalone CubeMX or the integrated CubeMX wizard in CubeIDE.
2019-12-09 08:47 AM
2019-12-09 10:12 AM
2019-12-10 02:51 AM
Strange to see ../tiny_lpm here as it is not the right path. The correct path is the one just below it. This may create a conflict.
2019-12-10 07:42 AM
I had the same issue. To resolve it, I have added "Utilities" path in C/C++ General->Path and Symbols->Source Location. Because if you read the complete log, you can see compiler never reads this folder.
This issue exists if you use the standalone CubeMX or the integrated CubeMX wizard in CubeIDE.
2019-12-10 08:00 AM
Thank you so much, this fixed the problem! I have been trying to solve this for a while now.