cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK 6.3.2 GenerateCode error about include path

ZHOUXIANG
Associate III

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?

ZHOUXIANG_0-1747788304788.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

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.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

View solution in original post

5 REPLIES 5
mbarg.1
Senior III

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.

 

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.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

ZHOUXIANG_0-1747964010760.png

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.

 

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.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

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!

ZHOUXIANG_0-1747992393107.png