Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1 KB

readme.md

File metadata and controls

60 lines (41 loc) · 1 KB

LoWUSB

Low-power Wireless USB using CC2531 USB Dongle + Contiki-OS

Tested Environments

  • macOS Monterey 12.4

Setup

Clone the repository

git clone --recursive git@github.com:fetiu/lowusb.git

Prepare CC-Debugger tool

cd cc-tool
./bootstrap
./configure
make

Then, test flashing a example binary.

./cc-tool -ew ../CC2531ZNP-Prod.hex

If it succeeds, a serial port will be detected.

Now, please move binary to system directory for convenience.

mv cc-tool /usr/local/bin

Build SDCC Compiler

CC2531 USB Dongle is based on Intel 8051, so it requires special c compiler called SSDC.

cd sdcc
./sdcc-contiki.sh

Refer below for troubleshooting

Build LoWUSB2Serial exmaple

cd contiki/examples/cc2530dk/udp-ipv6
make
make flash