2019-12-04 12:15 PM
Hello.
I run into a following error while building my project using ai:
make: *** No rule to make target '/home/user/git/stm32/Drivers/CMSIS/DSP/Source/SupportFunctions/arm_copy_q15.c', needed by 'Drivers/CMSIS/DSP/Source/SupportFunctions/arm_copy_q15.o'. Stop.
Everything else seems to be built nicely, but this one stucks out. As i figured out myself, the arm_copy_q15.c is not located in this subfolder, but the location should be: '/home/user/git/stm32/test_projects/test_board_ai_f767zi/Drivers/CMSIS/DSP/Source/SupportFunctions/arm_copy_q15.c'
Is thre some mistake pathing the file and what can I do to fix it.
I use CubeMX 5.4.0 and CubeAI 4.1.0.
2019-12-05 12:55 AM
Yes it is a bug in the project generation for SW4STM32 introduced AFAIK in CubeMX 5.4.
The workaround is to remove this file from the project and add it again with the correct location
This problem doesn't exist anymore with X-Cube-AI 5.0.0 that will be release by the end of the year. In this release we have decided to embed the DSP files that we need in the AI compiled library.
Regards
2019-12-12 06:57 PM
Could you post your entire console output after an attempt to build?