Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


how to make a project with existing source code and makefile

Hey,

I am trying to make a project with existing source code includes and makefile.
The compiler automatically includes the auto generated makefile how do i change that in my own makefile?

Tunisia
Could you try to uncheck “Generate Makefile automatically” in Project Properties > C/C++ Build > Builder Settings (TAB)

thanks it doesnt generate a auto make file now.
now i have the following problem:
15:39:51 **** Build of configuration Debug for project trillwekker test ****
make all
make: *** No rule to make target `all’. Stop.

i think it is because i dont have a set path or link to my make file. i dont now where i need to declare that. can you help me with that ?

in the same TAB Project Properties > C/C++ Build > Builder Settings
try to inform the Build directory


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.