cancel
Showing results for 
Search instead for 
Did you mean: 

No rule to make target in CubeIDE with a CubeMX Example (STM32WL)

LLr.1
Senior

After an export then import (whether in "file system" or "archive file") of a working project, I cannot "build" this project agin after this export/import. While the basic project (before the export and the import i.e. the displacement) works perfectly on the same computer. It looks like there is a link problem.

12:39:41 **** Incremental Build of configuration Debug for project LoRaWAN_End_Node ****

make -j16 all 

make: *** No rule to make target 'C:/Utilities/trace/adv_trace/stm32_adv_trace.c', needed by 'Utilities/stm32_adv_trace.o'. Stop.

"make -j16 all" terminated with exit code 2. Build might be incomplete.

12:39:42 Build Failed. 1 errors, 0 warnings. (took 363ms)

4 REPLIES 4
Sara BEN HADJ YAHYA
ST Employee

Hi @LLr.1​ ,

In order to solve this issue, you just need to clean the project and then rebuild it. Please refer to the attachment.

0693W00000GXPQnQAP.pngRegards,

Sara.

Unfortunately, this also appears right after the clean.

Maybe the reason, it is git in my files ?

Louis

LLr.1
Senior

The bad solution I found, it's to add the cited file in the cited path of folders

Dana Myers
Senior

Perhaps this stand-alone project is interesting, though I based it on the 'WLE5 for the Seeed and RAK modules https://github.com/danak6jq/Seeed-LoRa-E5

Dana