cancel
Showing results for 
Search instead for 
Did you mean: 

"Unable to Generate Command Line" in STM32CubeIDE while compiling in Release mode

Prashant15
Associate
Hello Team

I'm facing below error in STM32CubeIDE while compiling the source code in "Release" mode:
"Unable to Generate Command Line in STM32CubeIDE"
 
And it's getting stuck at below point:
# Each subdirectory must supply rules for building sources it contributes
Src/%.o Src/%.su Src/%.cyclo: ../Src/%.c Src/subdir.mk
$(error unable to generate command line)

Issue snap as below:
Prashant15_2-1748954098206.png

 



Further I disabled the "Cyclomatic complexity" setting as well to resolve this issue, but not get any success:

Prashant15_1-1748953956162.png

 


So could you please support in this case.
- regards
0 REPLIES 0