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


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.