Difference between revisions of "First Project on Zolertia Firefly"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
Line 1: Line 1:
'''Step 0. Install tools:'''
+
'''Step 1. Install tools:'''
  
 
sudo apt-get update
 
sudo apt-get update
Line 5: Line 5:
 
sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi
 
sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi
  
'''Step 1. Clone Contiki Repo:'''
+
'''Step 2. Clone Contiki Repo:'''
  
 
git clone https://github.com/contiki-os/contiki.git
 
git clone https://github.com/contiki-os/contiki.git
Line 14: Line 14:
  
 
git submodule update --init
 
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

Revision as of 03:02, 22 June 2017

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