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


Error: Program "make" not found in PATH

Hello,

I have created simple project in fresh installation.
On the Linux Mint - downloaded latest eclipse (Version: Mars.1 Release 4.5.1 Build id: 20150924-1200) and System Workbench for STM32 installed from the eclipse.

When I am trying to build project then I got the error:

22:09:20 **** Incremental Build of configuration Debug for project OpenSTM32_TestLED ****
make all
Cannot run program “make”: Unknown reason

Error: Program “make” not found in PATH
PATH=/SHARED/SSD_DATA/00_Tools/Eclipse4C/eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.3.0.201507241112/tools/compiler/bin:/SHARED/SSD_DATA/00_Tools/Eclipse4C/eclipse/plugins/fr.ac6.mcu.externaltools.linux64_1.3.0.201507241112/tools/make

22:09:20 Build Finished (took 21ms)


Seems that this directory not exists:

/SHARED/SSD_DATA/00_Tools/Eclipse4C/eclipse/plugins/fr.ac6.mcu.externaltools.linux64_1.3.0.201507241112/tools/make


What is missing?

(eclipse config attached)

Thanks.

Hi,

On the Linux version, make is not provided. As you’re on Linux, GNU make should be installed by default.
If GNU Make is not installed, you might need more packages and libraries. Install the build-essential before running System Workbench (cmd: sudo apt-get install build-essential)
The PATH variable seems also incomplete, /usr/bin and /bin are missing. Can you added them, then relaunch System Workbench ?

Hope it solve the issue.
Kevin.


Hi Kevin,

thanks for clarification.

Make I have already installed. So it was enought to correct the path.

Regards
Jan

Hi Jan

You can try to change toolchain by “Alt+Enter”, or Right click your project -> properties ->C/C++ build->Tool
Chain Editor-> Choose “AC6 STM32 MCU GCC” is default setting in my environment. When I change that will show the same error message. This is my experience, and I refer web is
“http://hashdefineelectronics.com/arm-setting-up-a-clean-stm32-eclipse-and-cmsis-environment-creating-template/”
short web address is
“http://ppt.cc/agn4G”

Regards
Ben

Hi Jan,
You may simply install make, which we ignore for most time.
For ubuntu:
sudo apt install make
Regards