diff --git a/Firmware-Development-Setup.md b/Firmware-Development-Setup.md new file mode 100644 index 0000000..8331baf --- /dev/null +++ b/Firmware-Development-Setup.md @@ -0,0 +1,17 @@ +# Toolchain + +Install the GCC ARM toolchain from [https://code.launchpad.net/gcc-arm-embedded](https://code.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. + +# libopencm3 + +Download and install from mossmann's fork: [https://github.com/mossmann/libopencm3](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. + +# HackRF firmware + +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. \ No newline at end of file