Difference between revisions of "First Project on Zolertia Firefly"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Step 0. Install tools:'''
+
'''Step 1. Install tools:'''
  
 
sudo apt-get update
 
sudo apt-get update
 +
 
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
 +
 
'''Step 3. Update the dependencies:'''
 
'''Step 3. Update the dependencies:'''
 +
 
cd contiki
 
cd contiki
 +
 
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

Latest revision as of 03:06, 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