Nut/OS 5.1.0 installation on Debian Jessie (example with ARM target)

From Nutwiki
Jump to: navigation, search

Prerequisites

sudo apt-get install make
sudo apt-get install pkg-config
sudo apt-get install libqtcore4 libqtgui4 libqt4-dev
sudo apt-get install lua5.1 liblua5.1-0 liblua5.1-0-dev iblua5.1-dev


Howto

Download Ethernut OS sources and unpack it.

Go to unpacked directory 'cd ethernut-5.1.0'

Run:

  ./configure --disable-nutconf --disable-nutdisc

Run:

  make
  sudo make install

Install GCC ARM compiler (see below)

Run:

  qnutconf

GCC for ARM

sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi binutils-arm-none-eabi

Install newlib (which is not included in Debian Jessie, so it has to be downloaded from Debian Sid): Go to following pages, download and install packages:

https://packages.debian.org/sid/libnewlib-dev
https://packages.debian.org/sid/libnewlib-arm-none-eabi