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


Installation problems with OSX

Not a question, just a note about some trouble I had installing the V2.1 release on my max running OSX (macOS) Sierra.

First, the download image is a bash shell script file. That could be made more clear when it comes to how to acually running it.

Only when you run from the command line do you get the error message that made thisfail on my system.

dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/bin/bash
Reason: image not found

My machine had libreadline installed through homebrew but a recent upgrade of Python bumped the version up to 7 so the SystemWorkbench installer had a sulk.

With Homebrew, you can check the varsions installed on your machine with:

brew info readline

and verify that there is a version 6 library there:

readline: stable 7.0.3 (bottled) keg-only
Library for command-line editing
https://tiswww.case.edu/php/chet/readline/rltop.htmlQuestion
/usr/local/Cellar/readline/6.3.6 (46 files, 2MB)
Poured from bottle on 2014-05-29 at 03:25:42
/usr/local/Cellar/readline/6.3.8 (46 files, 2MB)
Poured from bottle on 2014-09-08 at 23:20:56
/usr/local/Cellar/readline/7.0.3_1 (46 files, 1.5MB)
Poured from bottle on 2017-07-30 at 23:34:57
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/readline.rbQuestion
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only..

For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include

And then you can switch verisons with:

brew switch readline 6.3.8

and the SystemWorkbench installer will happily get on with the job.

 

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