Skip to content

Toolchain installation on Linux

Harald edited this page Mar 2, 2018 · 4 revisions

Install development tools for OSD-Contiki

Start by installing some necessary packages:

$ sudo apt update
$ sudo apt install build-essential doxygen git curl wireshark python-serial
$ sudo apt install python-pip
$ pip install intelhex
$ sudo apt install picocom libcoap-1-0-bin

Install AVR compiler

An AVR compiler is needed to compile for AVR-based platforms such as osd-merkur and avr-rss2

$ sudo apt-get install avr-libc binutils-avr gcc-avr gdb-avr simulavr avrdude

Clone OSD-Contiki

$ git clone https://github.com/osdomotics/osd-contiki.git
$ git submodule update --init --recursive

Note: we recommend cloning and then initializing the submodules rather than using git clone --recursive. The latter results in submodules that use absolute paths to the top-level git, rather than relative paths, which are more flexible for a number of reasons.

Clone this wiki locally