Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
git clone --recursive https://github.com/osdomotics/osd-contiki
if you have problems with the osd version, try some branches from piccaso/osd-contiki.
they are probably not as up to date as the osdomotics fork but have been tested.
the contiki os history is quite large, if you are not planing any development it should be sufficient to shallow-clone a single branch:
git clone --recursive -b rgb-blink-rebase-2017-02-11 --single-branch --depth 1 firstname.lastname@example.org:piccaso/osd-contiki.git
Start the container
connect your device and find out the name (
/dev/ttyUSB* with your device.
cd osd-contiki docker run --rm -it --device /dev/ttyUSB0 -v $PWD:/src 0xff/opentrigger-osd-contiki-buildenv
if your version of docker does not support device you might get away with
Inside the container
cd /src/examples/osd/opentrigger-board make TARGET=osd-merkur-256 clean make TARGET=osd-merkur-256 AVRDUDE_PORT=/dev/ttyUSB0 NUM_LEDS=1 flash
in some branches an older version can be found in
View Debug Messages
screen /dev/ttyUSB0 38400
this will reset contiki but if you kill
^a K) it will continue to run
cd /src/examples/osd/rpl-border-router make TARGET=osd-merkur-256 clean make TARGET=osd-merkur-256 AVRDUDE_PORT=/dev/ttyUSB0 flash
Channel, PanID, etc... can be found in
Error while Reading/Writing eeprom
ATOW the eeprom is not in use, so you can ignore these errors.
Building and flashing has been tested from a Raspberry Pi 3 with success.
But there where some Problems with USB-Timing.
Make sure that your Pi does not do anything else when you flash.