First Project on Zolertia Firefly

From Cyber-Physical Systems Laboratory
Revision as of 03:06, 22 June 2017 by Bowen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Step 1. Install tools:

sudo apt-get update

sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi

Step 2. Clone Contiki Repo:

git clone https://github.com/contiki-os/contiki.git

Step 3. Update the dependencies:

cd contiki

git submodule update --init

Step 4. Compile and download the program:

make all TARGET=zoul BOARD=firefly

python contiki/tools/cc2538-bsl/cc2538-bsl.py -e -w -v -p /dev/ttyUSB0 image.bin