CSSE4011: Arduino-Sense: Zephyr Board Guide
1.0 Prerequisites
Complete following OS tutes
- Getting Started
- First Program
2.0 Arduino Sense - Zephyr
This Arduino board requires an extra step compared to building and flashing a most other boards. This particular board requires "the Arduino variant of bossac". Where, BOSSA - "Basic Open Source Sam-ba Application" and "SAM-BA" is the "SAM Boot Assistant". BOSSAC is a command-line implementation of BOSSA.
2.1 Getting the BOSSAC
The bossac can be setup in a few different ways, the easiest is to clone the appropriate repository and compile the program.
In the csse4011-vm, after completing the getting started guide, perform the following.
Step 1: Install Dependencies
Step 2: Clone BOSSA Step 3: Make Bossa Step 4: Verify that bin/ has been successfully created with a binary named 'bossac'.2.2 TTY Permissions for Flashing
To allow for west to load binary into bootloader, tty permissions must be given to the user. An easy way to do this is to add the current user to the 'dialout' group.
You will typically need to log out and log in or reboot to see this effect.
2.3 Building and Flashing
Ensure that the USB is connected to the Arduino Sense board, and that it is passed through by the host machine into the virtual machine.
An application for this board can be built with, (from within Zephyr Application directory - see OS.1)
and flashed withwhere $HOME is typically, /home/user, so ensure that the path to 'bossac' is correct.