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


System Workbench for STM32 failed to run on Mac OS X

I too am having trouble installing on OS X.
High Sierra, 10.13.3

It gets this far then stops (command line install)

─────────────────────────────────────────────
Installation
─────────────────────────────────────────────

[[ Starting to unpack ]
[[ Processing package: System Workbench for STM32 (1/2) ]
------------------------------------------------------------------------------------------------------------------------
Execution Failed

Failed to install the bundled Java Runtime Environment into System Workbench for STM32 (error 16)
Application runtime will attempt to refer any already installed JRE
 
sed: can't read s,\(
*\)\(~/.eclipse_keyring\),\1\2\1-vm\1jre/Contents/Home/lib/jli/libjli.dylib,:
No such file or directory
 
Continue Installation?

------------------------------------------------------------------------------------------------------------------------
Enter Y for Yes, N for No: 


Can anyone guide me through this error?

I met this problem, too. Does anyone know how to solve it on OS X.

Looking this topic I did a test on a Macbook running High Sierra (10.13.3) too, everything works like a charm with latest SW version.

Note that the installer expands the JRE next to it, within a jre1.8.0_151.jre/ folder, renamed later to .jre/
Hence make sure before launching the installer that you have enough space on the disk, and that above directories do not exist at the installer location.

About the “sed” error, could you check when the error happened if :
- SystemWorkbench.app/Content/Info.plist exists ?
- JRE is succesfully copied in SystemWorkbench.app/Content/MacOS/jre ?

Thank you for your answer.

The problems is still on and info.plist exists.


For community sharing; the issue is related to the fact that homebrew is installed.

It contributes a sed version with unexcepted behavior using -i option.

To fix your installation you need to make sure that you are using the /usr/bin/sed :

$ which sed
/usr/bin/sed

Was seeing the ‘sed’ issue on Mac OS X Sierra (10.12.6). Had homebrew installed so:

% which sed
/usr/local/bin/sed

The simple fix was to temporarily move homebrew sed out of the way:

% cd /usr/local/bin
% mv sed sed0

Now sed reports using the stock one:

% which sed
/usr/bin/sed

Ran the installer. This time it ran to completion. Then renamed sed back to where it was:

% cd /usr/local/bin
% mv sed0 sed

Thanks for the tip.