Date : 7 january 2019
The following programs are supposed to work on Ubuntu 18.04 and Centos 7.
The default eclipse in ubuntu deposits is for java-coding.
The previous version ( eclipse luna ) can be downloaded here :
Verify that /local/sdk_elec folder is in the PATH :
As a result, the following commands are known :
get the open source qtcreator at : https://www.qt.io/download
I don’t recommand the last scilab version ( v6 ) since all libraries work with v5.5.2 only.
There’s a bug with scilab 5.5.2 on ubuntu 18.04. This can be resolved with :
in scilab : Application –> Module Manager - ATOMS : WG Serial XCOS IO Block
REM the project makefile must have : STM32F446_ENIB
unzip in X2C/Library/
if compilation is needed : X2C/System/Scilab/Scripts/initX2C(%t)
in scilab : initX2C(%f)
it can be necessary to remove ~/.Scilab
open X2C/System/Java/BlockGenerator.jar ( works on windows only ).
Then in BIB library ( X2C/Library/BIB), we’ll find :
change ID Value in X2C/library/BIB/Controller/src/comp.h
if there is tuning parameters through dialog box in the block :
Download and install Eclipse-java: https://eclipse.org/downloads//
Open a workspace BIB/Conversion/Java/
Modify BIB/Conversion/Java/src/at/lcm/x2c/library/BIB/comp.java source, then compile on Eclipse.
Compilation in Scilab (run scilab as root):
Download at : https://developer.android.com/studio/
you’ll need to update usb rights :