-
Couldn't load subscription status.
- Fork 0
Firmware Development Setup
Follow these instructions to set up a firmware development environment for HackRF.
Install the GCC ARM toolchain from https://launchpad.net/gcc-arm-embedded. (Other toolchains exist. YMMV). All you have to do is unpack the archive and add the bin directory to your PATH. The pre-compiled GCC ARM toolchain works with Ubuntu versions up to 10.x.
Download and install from mossmann's fork: https://github.com/mossmann/libopencm3
In the future, the LPC43xx support will hopefully be available upstream, but for now you will need the fork.
With your PATH set as above, simply do a make and make install.
You should now be able to cd into one of the HackRF firmware directories (try blinky first) and type make.
The resulting .bin file can be programmed directly onto the SPI flash with a GoodFET or Bus Pirate, or you can use a debugger to load directly into RAM, or you can use USB DFU boot.