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


Make: Error 258

Hello All,

I have a problem using SW4STM32; when it comes time to build my project, it gives me a make: ... Error 258. Could you please shed some light on why this is happening.

I uninstalled SW4STM32 and reinstalled it. I then went through all the steps of building a new blinky project successfully and debugging it. I then had SW4STM32 upgrade itself from the online repositories and all the problems started again. So something must be conflicting in the updates or I need to adjust a configuration within SW4STM32 to accept the new updates. Attached is a screen shot of the errors encountered. Can someone please advise?

Thank you for your time.

Dylan Reynolds

Hi Dylan,
Are you using the SW4STM32 V1.13?
If it is so, you have to know that the SW4STM32 v1.13 seems to face a regression.
Here are the different workarounds collected on the web/forums :
1 – Workaround #1:
In the following post, the user reverted the installation (back to V1.12) and it solved the issue.
http://www.openstm32.org/tiki-view_forum_thread.php?forumId=7&comments_parentId=4390#threadId7Question
How to revert : Help menu >> Installation Details >> Installation History tab >> Select the V1.12 configuration >> Revert

2 – Workaround #2:
2.1 - Navigate to /plugins/fr.ac6.mcu.externaltools.arm-none.win32/tools/make;
2.2 - Make a backup of the folder;
2.3 - Remove the files:
echo.exe
msys-1.0.dll
msys-iconv-2.dll
make/msys-intl-8.dll
msys-regex-1.dll
msys-termcap-0.dll
sh.exe


Hi Vetch,

Thank you very much for your assistance, I went with the second option and it worked a treat! I am running V1.13. I have been using Atollic in the mean time, but it is good to know that I have a back up until SW4STM32 is sorted out.

Any idea until it is sorted out?

Kind regards,

Dylan

I am importing CubeMX project to SW4STM32 (eclipse) When I am trying to build it I have 44 errors
Program “make” not found in PTH error
Type ’ _HAL_.....()’ could not be resolved errors

Hello ahmetari,
I think that the issue you are facing is not related with the current subject of this thread. Any way there is too few information to help you efficiently (SW4STM32 version, CubeMX version, OS, STM32 series, board, full error log)


Hi Dylan,
Good news : ST+Ac6 just published a patch. Using Help menu >> Check for Updates, the V1.13.1 version is installed. I made few trials : it seems to work. Feel free to share any issue you face.


Nice! Thanks Vetch. Installing as I type! Will report back soon...

We will see if the patch mentioned above works, but this is the way I have been making this work,

Change (example for Eclipse and STSW4STM32) in Tool Settings - MCU GCC Compiler - Symbols,

from
weak=attribute__weak
packed=attributepacked__
to
weak=attribute__weak
packed=attributepacked__

I also see in the forum that STCubeMx has been updated in the last week.

In other words - Update everything and hope for the best! ;-)