Difference between revisions of "First Project on Zolertia Firefly"
From Cyber-Physical Systems Laboratory
Jump to navigationJump to searchLine 14: | Line 14: | ||
git submodule update --init | git submodule update --init | ||
− | ''' | + | |
− | Step 4. Compile and download the program:''' | + | '''Step 4. Compile and download the program:''' |
make all TARGET=zoul BOARD=firefly | make all TARGET=zoul BOARD=firefly | ||
python contiki/tools/cc2538-bsl/cc2538-bsl.py -e -w -v -p /dev/ttyUSB0 image.bin | 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