WARNING: This entry will be deprecated. All content has been moved to doc.riot-os.org
The UDOO is a twitter board consisting of a high-power Freescale iMX Arm Cortex-A9 Dual or Quadcore soldered on the same board as an Atmel SAM3x8e Cortex-M3, which is also used by the arduino-due. So with other words the UDOO combines an arduino-due with something like the Raspberry-Pi, just (way) more powerful!
The UDOO comes in different configurations, the top-of-the-shelf version is shipped with and quad-core, 1GHz A9, on-board Wifi and gigabit ethernet. For IoT connectivity external sensors as IEEE802.15.4 USB-dongles or arduino shields with transceivers have to be added.
RIOT is so far supported to run on the arduino part of the board.
See description page for the arduino-due.
Flashing the device
Plug your USB cable just like you would to program the Arduino part of the UDOO board. To flash the Hello World for instance, open a shell and go to the examples/hello-world/ directory. Then type in the following commands.
Set the BOARD type to UDOO:
# export BOARD=udoo
Then set the PORT variable to the USB port connecting the UDOO board to your computer:
# export PORT=/dev/tty.YOUR-USB-PORT-NAME-HERE
Then compile with the following command:
# make clean all
Note that, on MacOS, it is recommended to use -B option for make:
# make -B clean all
To flash the obtained binary on your board, then type:
# make flash
RIOT is now loaded on the Arduino part of the UDOO board. You can now open a shell by typing:
# make term
All you need now is to reboot the UDOO board and it will say hello via your terminal!
Reverting to an Arduino sketch
The bootloader is untouched, so you can simply open your Arduino IDE, compile your sketch and flash the device as you are used to (just don't forget to first quit the term where RIOT was running before that).