Giter Site home page Giter Site logo

dh-o / crazyradio-firmware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitcraze/crazyradio-firmware

0.0 0.0 0.0 1.72 MB

Crazyradio firmware, programming scripts and driver.

License: Other

Makefile 0.96% C 71.17% Python 25.85% Assembly 1.89% Shell 0.13%

crazyradio-firmware's Introduction

Bitcraze Crazyradio dongle CI

Source code and tools for the Bitcraze Crazyradio USB dongle.

See Bitcraze Documentation for more information about Crazyradio and the USB protocol used.

Folders content:

  • firmware: The firmware source code
  • nrfProg: SPI programmer that uses jtagkey USB adapter
  • usbtools: Python scripts to reset and bootload Crazyradio from command line
  • lib: Software libraries to use Crazyradio with Python
  • fix_bootloader: Script to revive a Crazyradio

Building the firmware

Requirement:

  • SDCC
  • Binutils (needs objcopy)

On Ubuntu this can be installed with:

sudo apt-get install sdcc binutils

On Mac (using homebrew):

brew install sdcc
brew install binutils
ln -s /usr/local/opt/binutils/bin/gobjcopy /usr/local/bin/objcopy

To build the firmware you should navigate to the firmware directory.

Build for Crazyradio

make CRPA=0

Build for Crazyradio PA

make CRPA=1

Flashing the Firmware

To flash the firmware run the following from the firmware directory:

python ../usbtools/launchBootloader.py
sudo python ../usbtools/nrfbootload.py flash bin/cradio.bin

After flashing successfully, you need to replug the Crazyradio. More details are in the wiki.

Check your firmware version

Run the following command:

lsusb -d 1915:7777 -v | grep bcdDevice

crazyradio-firmware's People

Contributors

ataffanel avatar whoenig avatar krichardsson avatar gherlein avatar knmcguire avatar tobbeanton avatar nicksonyap avatar oswalpalash avatar mrmichaelrb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.