Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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! ;-)


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs