I would like to share with you all my short guide on how to install MCUxpresso 11 on Debian 10. The NPX website clearly states that Debian >=9 are not supported. There is although a workaround to satisfy all dependancies.
I am currently using Debian 10, but the installation on Debian 9 is more straight forward.
Please test it, provide feedback or even transform it to an automatic script and publish it online. The following text is released under public domain.
Disclaimer: I am providing these commands WITHOUT ANY WARRANTY. I am not able to provide any troubleshooting if things goes wrong. All downloaded packages are from an official source.Use it at your own risk.
1) Multiarch
Activate Multiarch, and in particular the i386 architecture. More info here - https://wiki.debian.org/Multiarch/HOWTO
2) Install dependencies
Before running the MCUxpresso installer, please install the following dependencies:
libncurses-dev
Code: Select all
$ sudo apt-get install libncurses-dev:i386
Code: Select all
$ sudo apt-get install libusb-1.0:i386
Code: Select all
$ sudo apt-get install dfu-util:i386
Code: Select all
$ sudo apt-get install libjavascriptcoregtk-1.0-0:i386 libatk1.0-0:i386 libcairo2:i386 libenchant1c2a:i386 libfontconfig1:i386 libfreetype6:i386 libgdk-pixbuf2.0-0:i386 libgl1-mesa-glx:i386 libgl1:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libgtk2.0-0:i386 libharfbuzz-icu0:i386 libharfbuzz0b:i386 libicu57:i386 libjpeg62-turbo:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libsecret-1-0:i386 libsoup2.4-1:i386 libsqlite3-0:i386 libwebp6:i386 libx11-6:i386 libxcomposite1:i386 libxdamage1:i386 libxfixes3:i386 libxml2:i386 libxrender1:i386 libxslt1.1:i386 libxt6:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 geoclue-2.0:i386
Create libwebkitgtk.txt
Code: Select all
$ echo 'http://ftp.uk.debian.org/debian/pool/main/w/webkitgtk/libwebkitgtk-1.0-0_2.4.9-1~deb8u1_i386.deb
http://security.debian.org/debian-security/pool/updates/main/i/icu/libicu52_52.1-8+deb8u8_i386.deb
http://ftp.uk.debian.org/debian/pool/main/w/webkitgtk/libwebkitgtk-1.0-common_2.4.9-1~deb8u1_all.deb
http://ftp.uk.debian.org/debian/pool/main/w/webkitgtk/libjavascriptcoregtk-1.0-0_2.4.9-1~deb8u1_i386.deb
http://ftp.uk.debian.org/debian/pool/main/libw/libwebp/libwebp5_0.4.1-1.2+b2_i386.deb
https://downloads.sourceforge.net/project/libpng/libpng12/1.2.59/libpng-1.2.59.tar.gz' > libwebkitgtk.txt
Code: Select all
$ wget -i libwebkitgtk.txt
Code: Select all
$ tar -zxvf libpng-1.2.59.tar.gz
$ cd libpng-1.2.59
$ ./configure --host=i386 --libdir=/usr/lib/i386-linux-gnu/
$ make check
$ sudo make install
Code: Select all
$ sudo dpkg -i libicu52_52.1-8+deb8u8_i386.deb
Code: Select all
$ sudo dpkg -i libwebkitgtk-1.0-common_2.4.9-1_deb8u1_all.deb
Code: Select all
$ sudo dpkg -i libwebp5_0.4.1-1.2+b2_i386.deb
Code: Select all
$ sudo dpkg -i --force-depends libwebkitgtk-1.0-0_2.4.9-1_deb8u1_i386.deb
Code: Select all
$ sudo dpkg -i libjavascriptcoregtk-1.0-0_2.4.9-1_deb8u1_i386.deb
Link: https://www.nxp.com/design/software/dev ... presso-IDE
Run the bin file as root
Code: Select all
$ sudo ./mcuxpressoide-11.0.1_2563.x86_64.deb.bin
Code: Select all
$ sudo apt autoremove
4) Download the SDK
I am using thi SDK-2.6.0-MK22FN512xxx12-MCUX
5) Import openGD77
Now you can import the openGD77 GitHub repo as usual. Probably it wont compile for two reasons:
a) You cannot execute M$ software (you have to install 'mono');
b) There is a flag in the compiling settings that must be changed to point at the right executable.
I'll try to write a different guide for it. If you resolve all by yourself, have fun editing and compiling the OpenGD77 firmware.
M6KDU - Andrea