Loading...
 
Skip to main content

System Workbench for STM32


how to make a project with existing source code and makefile

Hey,

I am having a similar problem and have followed the steps given. The error is still present however. It seems as if it is ignoring the directory choice.

This is the designated build directory:
C:\Users\****\Local Documents\Projects\Multi\Examples\VL6180X\RangingAndALS\SW4STM32\STM32F401RE-Nucleo

Within that folder lies all the necessary folders including the makefile and the drivers.

Despite this, I get the same "make: *** No rule to make target `all'. Stop. " error.

Plus some additional warnings:
Invalid project path: Include path not found (C:\Users\****\Local Documents\Drivers\BSP\Components\VL6180x).

That was one of six such warnings. The path they are looking for exists in the dircetory I set, but it is obviously not taking the bait.

Any idea why it is not working? Thanks.

Hi,
I had similar problem with existing projects from ST example. The only solution for me to make it work was to place workspace directory to C:\workspace and import there the example project.
There is some BUG probably, maybe the problem raise when there is too deep subdirs structure of the projects.


Hi,

I tried moving the workspace into the root directory but the "no rule to make target" error is still persisting I'm afraid. As for the thought on deep structure in the folders I don't think they can really be much shortened than that. I tried reducing the folder structure to the smallest it can be and then put that into the root as well:

C:\RangingAndALS\

But this brings up over a hundred semantic errors:

Description Resource Path Location Type
Field 'AddressingMode' could not be resolved main.c /RangingAndALS_NucleoF401/src line 1004 Semantic Error

This is in addition to the original error.


 
Collapse/expand modules below