2025-04-14 10:46 AM
I get an error message when I go to debug after doing a build but not if I go directly to DEBUG after a clean project. When I build my project and then go to DEBUG I get the following error message:
10:36:15 **** Incremental Build of configuration Debug for project Tx2B ****
make -j32 all
make: stat: F:/Projects/Smart-Fly/IC/MCUs/STM32/STM32G0xx/Drivers/STM32G0xx_LL_Driver/Inc/stm32g0xx_ll_bus.h F:/Projects/Smart-Fly/IC/MCUs/STM32/STM32G0xx/Drivers/STM32G0xx_LL_Driver/Inc/stm32g0xx_ll_comp.h: Invalid argument
make: *** No rule to make target 'F:/Projects/Smart-Fly/IC/MCUs/STM32/STM32G0xx/Drivers/STM32G0xx_LL_Driver/Inc/stm32g0xx_ll_bus.h F:/Projects/Smart-Fly/IC/MCUs/STM32/STM32G0xx/Drivers/STM32G0xx_LL_Driver/Inc/stm32g0xx_ll_comp.h', needed by 'Sources/Units/IC-Tx2B/MCUs/STM32G030C6/Firmware/Unit/src/SysCtl.o'. Stop.
"make -j32 all" terminated with exit code 2. Build might be incomplete.
10:36:15 Build Failed. 1 errors, 0 warnings. (took 190ms)
Why do I get this and how to stop it?
Solved! Go to Solution.
2025-04-14 7:16 PM
2025-04-14 11:39 AM - edited 2025-04-14 11:42 AM
In your debug configuration, is "enable auto build" checked? Disable auto build to prevent starting make .
Perhaps some antivirus does its shadow business.
2025-04-14 12:00 PM
No, auto build is not enabled. What is enabled is "Use Workspace Settings". I went into that and the only thing check is "rebuild if necessary". Should I check "Disable Auto Build"?
2025-04-14 7:16 PM
Yes try this.