mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-06 07:25:37 +01:00
Assign an SGPIO interrupt handler function at runtime, based on RX or TX mode. NOTE: This is incompatible with placing the vector table in ROM, which is fine on a device with no internal flash). Remove SGPIO interrupt-time dependency on volatile transceiver_mode variable. Side effect is that a few cycles are probably saved inside the SGPIO interrupt.
The primary firmware source code for USB HackRF devices is hackrf_usb. Most of the other directories contain firmware source code for test and development. The common directory contains source code shared by multiple HackRF firmware projects. The cpld directory contains HDL source for the CPLD present on the Jawbreaker and Jellybean designs. The firmware is set up for compilation with the GCC toolchain available here: https://code.launchpad.net/gcc-arm-embedded Required dependency: https://github.com/mossmann/libopencm3 For loading firmware into RAM with DFU you will also need: git://git.openezx.org/dfu-util.git