2025-05-20 5:45 PM
I created a project based on PLL+Profile, when compile the project, I get a ERROR, about include path. I search the file and add the path(../../Drivers/CMSIS/DSP/Include) into project manaully, compile success. Is this a bug?
Solved! Go to Solution.
2025-05-23 1:04 AM
Hello @ZHOUXIANG,
Generating project from scratch with MCV1_57_PLL_PROFILE.stwb6, I do not have compile error. Project generated with "MC Workbench 6.3.2 / CubeMX 6.14.1 / STM32 FW 1.6.1 / HAL" and compiled with CubeIDE 1.18.1.
2025-05-20 10:27 PM - edited 2025-05-20 10:28 PM
Bug described in my post
STM32CubeIde BUG – wrong behavior with __has_include(“xxx.h”)
can generate this error.
Double check if it is your case.
2025-05-22 12:02 AM - edited 2025-05-22 12:03 AM
Hello @ZHOUXIANG,
Thank you for your report.
This is issue could occur if you generate first a project without Motor Profiler feature enabled and regenerate it with Motor Profiler feature enabled. Generating a Motor Profiler project from scratch, compile error should not be present.
2025-05-22 7:05 PM
As the screenshot shows above, I creat 3 independent projects, MCV1_57_PLL_FOC(without profile), MCV1_57_PLL_PROFILE(with profile). I need to read the codes in these 3 projects at the same time, I will not want to regenerate again and again, it takes too much time. For verifying this issue, based on these 3 stwb6 files, I generate, compile, delete the output folder and repeat again. MCV1_57_PLL_FOC is always ok, but MCV1_57_PLL_PROFILE is always failed.
I have upload the stwb6 and json files, and list version and info below:
Environment Version:
MC Workbench 6.3.2
CubeMX 6.14.1
CubeIDE 1.18.1
PROJECT INFO:
MCV1_57_PLL_PROFILE.stwb6 = MCV1.json + TB 57BL75S10-225TF9HQ.json(unprofiled)
MCV1_57_PLL_FOC.stwb6 = MCV1.json + 57LSPRO2.json(have been profiled)
Thanks for your reply.
2025-05-23 1:04 AM
Hello @ZHOUXIANG,
Generating project from scratch with MCV1_57_PLL_PROFILE.stwb6, I do not have compile error. Project generated with "MC Workbench 6.3.2 / CubeMX 6.14.1 / STM32 FW 1.6.1 / HAL" and compiled with CubeIDE 1.18.1.
2025-05-23 2:29 AM
Hello @GMA ,
I repeat as your description and compile success. I notice that "STM32 FW 1.6.1", maybe this is the point, I always used "STM32 FW 1.6.0", and always had compile error. I compare the output folders and found this, screenshot below, left side is 1.6.0 and right side is 1.6.1. Thanks for your help!