cancel
Showing results for 
Search instead for 
Did you mean: 

MC Workbench 6.1.0 CubemX 6.6.1 Code generation error when not "Copy all used libraries into the project folder" selected

lantiati
Associate II

I am using the latest motor control workbench (6.1.0) and the CubeMx (6.6.1). The motor control code generation is working if all the files copied to the project folder. If I select the "Copy only the necessary library files" some header files will missing during compilation. See picture below. The "Add necessary library files as reference in the toolchain project configuration file" also fails. It does not reference the motor control lib files at all.

I have the motor control lib and the HAL lib in the right folder in my PC.

Our workflow based on the "references" method, and it is a problem now to get it work easily.

Do you have any solution for this?

0693W00000Y8B5nQAF.png0693W00000Y8B38QAF.png

1 REPLY 1
lantiati
Associate II

Project can checked out from the following public git repo:

https://github.com/lantiati/st_motor_control