Project

General

Profile

Dooba Firmware

Introduction

This page serves as the documentation for the Firmware collection, also known as the Dooba SDK - a set of libraries and applications for the Maker community.

Where to start?

If this is your first time here, we recommend you have a look at Getting started before anything else.

Child pages

Setup

The SDK can be used in different ways.

To get all the details, go check out the setup instructions.

SDK Organization

At the root of the distribution, the following are available:

src contains the source tree, containing all firmware elements, both libraries and applications.
The build script, when run, collects elements from the source tree and builds them, recursively including their dependencies.

Building

Building the source tree is as simple as running the dbuild script:

./dbuild -v

Firmware images (.hex files) will be placed in out/bin (from your current working directory).

The dbuild script is actually pretty smart - check out building with dbuild for more info.

Flashing

Flashing will require avrdude. This is should usually be available in your operating system's package repositories (YUM / APT / Portage).
The following command will flash a project called foobar_test to an ioNode connected to USB as /dev/ttyUSB0 (adapt the paths and other arguments to your liking):

avrdude -c arduino -P /dev/ttyUSB0 -p atmega1284p -U flash:w:out/bin/foobar_test.hex