Package: hackrf / 2015.07.2-10~bpo8+1

Metadata

Package Version Patches format
hackrf 2015.07.2-10~bpo8+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Si5351C Extract low level driver code.patch | (download)

firmware/common/hackrf_core.c | 1 1 + 0 - 0 !
firmware/common/si5351c.c | 50 2 + 48 - 0 !
firmware/common/si5351c.h | 5 0 + 5 - 0 !
firmware/common/si5351c_drv.c | 74 74 + 0 - 0 !
firmware/common/si5351c_drv.h | 41 41 + 0 - 0 !
firmware/hackrf-common.cmake | 1 1 + 0 - 0 !
firmware/hackrf_usb/usb_api_register.c | 2 1 + 1 - 0 !
7 files changed, 120 insertions(+), 54 deletions(-)

 [patch 01/68] si5351c: extract low-level driver code.


0002 Si5351C Un singleton the high and low level drivers..patch | (download)

firmware/common/hackrf_core.c | 61 32 + 29 - 0 !
firmware/common/hackrf_core.h | 4 4 + 0 - 0 !
firmware/common/si5351c.c | 69 35 + 34 - 0 !
firmware/common/si5351c.h | 31 17 + 14 - 0 !
firmware/common/si5351c_drv.c | 14 7 + 7 - 0 !
firmware/common/si5351c_drv.h | 10 7 + 3 - 0 !
firmware/hackrf_usb/hackrf_usb.c | 2 1 + 1 - 0 !
firmware/hackrf_usb/usb_api_register.c | 6 3 + 3 - 0 !
8 files changed, 106 insertions(+), 91 deletions(-)

 [patch 02/68] si5351c: un-singleton the high- and low-level drivers.
 Proper.


0003 MAX2837 Extract hardware bus dependent stuff into se.patch | (download)

firmware/common/max2837.c | 155 24 + 131 - 0 !
firmware/common/max2837.h | 34 24 + 10 - 0 !
firmware/common/max2837_drv.c | 159 159 + 0 - 0 !
firmware/common/max2837_drv.h | 45 45 + 0 - 0 !
firmware/hackrf-common.cmake | 1 1 + 0 - 0 !
5 files changed, 253 insertions(+), 141 deletions(-)

 [patch 03/68] max2837: extract hardware/bus dependent stuff into
 separate layer.

Conflicts:
	firmware/CMakeLists.txt
	firmware/hackrf_usb/Makefile
	firmware/mixertx/Makefile
	firmware/sgpio/CMakeLists.txt
	firmware/simpletx/Makefile
	firmware/spiflash/CMakeLists.txt
	firmware/startup/Makefile
	firmware/startup_systick/Makefile
	firmware/startup_systick_perfo/Makefile

0004 MAX2837 De singleton the driver.patch | (download)

firmware/common/hackrf_core.c | 4 3 + 1 - 0 !
firmware/common/hackrf_core.h | 3 3 + 0 - 0 !
firmware/common/max2837.c | 171 83 + 88 - 0 !
firmware/common/max2837.h | 50 16 + 34 - 0 !
firmware/common/max2837_drv.c | 25 16 + 9 - 0 !
firmware/common/max2837_drv.h | 25 17 + 8 - 0 !
firmware/common/max2837_regs.def | 15 9 + 6 - 0 !
firmware/common/rf_path.c | 10 5 + 5 - 0 !
firmware/common/tuning.c | 15 8 + 7 - 0 !
firmware/hackrf_usb/usb_api_register.c | 6 4 + 2 - 0 !
firmware/hackrf_usb/usb_api_transceiver.c | 6 3 + 3 - 0 !
firmware/mixertx/mixertx.c | 10 5 + 5 - 0 !
firmware/simpletx/simpletx.c | 10 5 + 5 - 0 !
13 files changed, 177 insertions(+), 173 deletions(-)

 [patch 04/68] max2837: de-singleton the driver.

Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h

0005 RFFC5071 Separate hardware specific code.patch | (download)

firmware/common/rffc5071.c | 200 3 + 197 - 0 !
firmware/common/rffc5071_drv.c | 229 229 + 0 - 0 !
firmware/common/rffc5071_drv.h | 31 31 + 0 - 0 !
firmware/hackrf-common.cmake | 1 1 + 0 - 0 !
4 files changed, 264 insertions(+), 197 deletions(-)

 [patch 05/68] rffc5071: separate hardware-specific code.

Conflicts:
	firmware/CMakeLists.txt
	firmware/hackrf_usb/Makefile
	firmware/mixertx/Makefile
	firmware/sgpio/CMakeLists.txt
	firmware/simpletx/Makefile
	firmware/spiflash/CMakeLists.txt
	firmware/startup/Makefile
	firmware/startup_systick/Makefile
	firmware/startup_systick_perfo/Makefile

0006 RFFC507x De singleton the driver code.patch | (download)

firmware/common/hackrf_core.c | 2 2 + 0 - 0 !
firmware/common/hackrf_core.h | 2 2 + 0 - 0 !
firmware/common/rf_path.c | 28 14 + 14 - 0 !
firmware/common/rffc5071.c | 195 95 + 100 - 0 !
firmware/common/rffc5071.h | 33 14 + 19 - 0 !
firmware/common/rffc5071_drv.c | 11 7 + 4 - 0 !
firmware/common/rffc5071_drv.h | 14 11 + 3 - 0 !
firmware/common/rffc5071_regs.def | 15 9 + 6 - 0 !
firmware/common/tuning.c | 6 3 + 3 - 0 !
firmware/hackrf_usb/usb_api_register.c | 4 2 + 2 - 0 !
firmware/mixertx/mixertx.c | 2 1 + 1 - 0 !
11 files changed, 160 insertions(+), 152 deletions(-)

 [patch 06/68] rffc507x: de-singleton the driver code.


0007 W25Q80BV Extract hardware specific code into separat.patch | (download)

firmware/common/w25q80bv.c | 107 32 + 75 - 0 !
firmware/common/w25q80bv.h | 1 1 + 0 - 0 !
firmware/common/w25q80bv_drv.c | 88 88 + 0 - 0 !
firmware/common/w25q80bv_drv.h | 35 35 + 0 - 0 !
firmware/hackrf_usb/CMakeLists.txt | 1 1 + 0 - 0 !
5 files changed, 157 insertions(+), 75 deletions(-)

 [patch 07/68] w25q80bv: extract hardware-specific code into separate
 layer.

Conflicts:
	firmware/hackrf_usb/Makefile

0008 W25Q80BV De singleton the driver.patch | (download)

firmware/common/hackrf_core.c | 2 2 + 0 - 0 !
firmware/common/hackrf_core.h | 2 2 + 0 - 0 !
firmware/common/rom_iap.c | 4 2 + 2 - 0 !
firmware/common/w25q80bv.c | 102 51 + 51 - 0 !
firmware/common/w25q80bv.h | 12 7 + 5 - 0 !
firmware/common/w25q80bv_drv.c | 13 8 + 5 - 0 !
firmware/common/w25q80bv_drv.h | 12 8 + 4 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 10 6 + 4 - 0 !
8 files changed, 86 insertions(+), 71 deletions(-)

 [patch 08/68] w25q80bv: de-singleton the driver.


0009 W25Q80BV Make flash command details private.patch | (download)

firmware/common/w25q80bv.c | 11 11 + 0 - 0 !
firmware/common/w25q80bv.h | 12 0 + 12 - 0 !
2 files changed, 11 insertions(+), 12 deletions(-)

 [patch 09/68] w25q80bv: make flash command details private.


0010 W25Q80BV Separate structures into algorithm and hard.patch | (download)

firmware/common/hackrf_core.h | 2 1 + 1 - 0 !
firmware/common/w25q80bv.c | 84 44 + 40 - 0 !
firmware/common/w25q80bv.h | 13 9 + 4 - 0 !
firmware/common/w25q80bv_drv.c | 16 8 + 8 - 0 !
firmware/common/w25q80bv_drv.h | 10 5 + 5 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 19 10 + 9 - 0 !
6 files changed, 77 insertions(+), 67 deletions(-)

 [patch 10/68] w25q80bv: separate structures into algorithm and
 hardware access layers.

Also extract #define constants for W25Q80BV into driver structure. Driver could eventually extend to other devices.

0011 W25Q80BV Un const data argument to program function.patch | (download)

firmware/common/w25q80bv.c | 2 1 + 1 - 0 !
firmware/common/w25q80bv.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 [patch 11/68] w25q80bv: un-const data argument to program function.


0012 W25Q80BV Move SPI functions to top of file since the.patch | (download)

firmware/common/w25q80bv_drv.c | 30 15 + 15 - 0 !
1 file changed, 15 insertions(+), 15 deletions(-)

 [patch 12/68] w25q80bv: move spi functions to top of file, since
 they're static and used later.


0013 W25Q80BV Consolidate API to perform entire transfers.patch | (download)

firmware/common/w25q80bv.c | 99 41 + 58 - 0 !
firmware/common/w25q80bv_drv.c | 23 22 + 1 - 0 !
firmware/common/w25q80bv_drv.h | 18 13 + 5 - 0 !
3 files changed, 76 insertions(+), 64 deletions(-)

 [patch 13/68] w25q80bv: consolidate api to perform entire transfers
 in one call.


0014 MAX2837 Remove test code.patch | (download)

firmware/common/max2837.c | 39 0 + 39 - 0 !
firmware/common/max2837_drv.c | 16 0 + 16 - 0 !
2 files changed, 55 deletions(-)

 [patch 14/68] max2837: remove test code.

Hardware abstraction should make for easier test harnessing in the future.

0015 RFFC5071 Remove debug test code.patch | (download)

firmware/common/rffc5071.c | 36 0 + 36 - 0 !
firmware/common/rffc5071_drv.c | 18 0 + 18 - 0 !
2 files changed, 54 deletions(-)

 [patch 15/68] rffc5071: remove debug/test code.


0016 RFFC5071 Refactor a bunch.patch | (download)

firmware/common/rffc5071.c | 15 15 + 0 - 0 !
firmware/common/rffc5071_drv.c | 220 88 + 132 - 0 !
firmware/common/rffc5071_drv.h | 3 1 + 2 - 0 !
3 files changed, 104 insertions(+), 134 deletions(-)

 [patch 16/68] rffc5071: refactor a bunch.


0017 RFFC5071 Delay switching data direction until after .patch | (download)

firmware/common/rffc5071_drv.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 17/68] rffc5071: delay switching data direction until after
 target unselected.


0018 RFFC5071 Further refactoring to create common SPI in.patch | (download)

firmware/common/rffc5071.c | 6 3 + 3 - 0 !
firmware/common/rffc5071_drv.c | 81 42 + 39 - 0 !
firmware/common/rffc5071_drv.h | 14 8 + 6 - 0 !
3 files changed, 53 insertions(+), 48 deletions(-)

 [patch 18/68] rffc5071: further refactoring to create common spi
 interface.


0019 RFFC5071 Rename rffc5071_drv rffc5071_spi.patch | (download)

firmware/common/hackrf_core.h | 2 1 + 1 - 0 !
firmware/common/rffc5071.c | 2 1 + 1 - 0 !
firmware/common/rffc5071.h | 2 1 + 1 - 0 !
firmware/common/rffc5071_drv.c | 173 0 + 173 - 0 !
firmware/common/rffc5071_drv.h | 40 0 + 40 - 0 !
firmware/common/rffc5071_spi.c | 173 173 + 0 - 0 !
firmware/common/rffc5071_spi.h | 40 40 + 0 - 0 !
firmware/hackrf-common.cmake | 2 1 + 1 - 0 !
8 files changed, 217 insertions(+), 217 deletions(-)

 [patch 19/68] rffc5071: rename rffc5071_drv->rffc5071_spi.


0020 RFFC5071 Further work abstracting SPI details out of.patch | (download)

firmware/common/hackrf_core.c | 11 10 + 1 - 0 !
firmware/common/rffc5071.c | 7 3 + 4 - 0 !
firmware/common/rffc5071.h | 11 10 + 1 - 0 !
firmware/common/rffc5071_spi.c | 10 9 + 1 - 0 !
firmware/common/rffc5071_spi.h | 12 2 + 10 - 0 !
firmware/common/spi.c | 34 34 + 0 - 0 !
firmware/common/spi.h | 45 45 + 0 - 0 !
firmware/hackrf-common.cmake | 1 1 + 0 - 0 !
8 files changed, 114 insertions(+), 17 deletions(-)

 [patch 20/68] rffc5071: further work abstracting spi details out of
 driver.


0021 MAX2837 Refactoring toward abstracted SPI.patch | (download)

firmware/common/hackrf_core.c | 36 7 + 29 - 0 !
firmware/common/hackrf_core.h | 2 1 + 1 - 0 !
firmware/common/max2837.c | 28 21 + 7 - 0 !
firmware/common/max2837.h | 20 18 + 2 - 0 !
firmware/common/max2837_drv.c | 150 0 + 150 - 0 !
firmware/common/max2837_drv.h | 54 0 + 54 - 0 !
firmware/common/max2837_spi.c | 70 70 + 0 - 0 !
firmware/common/max2837_spi.h | 34 34 + 0 - 0 !
firmware/common/max2837_target.c | 137 137 + 0 - 0 !
firmware/common/max2837_target.h | 37 37 + 0 - 0 !
firmware/common/tuning.c | 1 1 + 0 - 0 !
firmware/hackrf-common.cmake | 3 2 + 1 - 0 !
12 files changed, 328 insertions(+), 244 deletions(-)

 [patch 21/68] max2837: refactoring toward abstracted spi.

Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h
	firmware/common/tuning.c

0022 MAX2837 Finish SPI abstraction.patch | (download)

firmware/common/hackrf_core.c | 10 8 + 2 - 0 !
firmware/common/max2837.c | 7 3 + 4 - 0 !
firmware/common/max2837_spi.c | 19 14 + 5 - 0 !
firmware/common/max2837_spi.h | 1 1 + 0 - 0 !
4 files changed, 26 insertions(+), 11 deletions(-)

 [patch 22/68] max2837: finish spi abstraction.

Conflicts:
	firmware/common/hackrf_core.c

0023 MAX5864 Abstract SPI extract target code.patch | (download)

firmware/common/hackrf_core.c | 49 13 + 36 - 0 !
firmware/common/hackrf_core.h | 1 1 + 0 - 0 !
firmware/common/max5864.c | 44 24 + 20 - 0 !
firmware/common/max5864.h | 20 14 + 6 - 0 !
firmware/common/max5864_spi.c | 78 78 + 0 - 0 !
firmware/common/max5864_spi.h | 33 33 + 0 - 0 !
firmware/common/max5864_target.c | 38 38 + 0 - 0 !
firmware/common/max5864_target.h | 29 29 + 0 - 0 !
firmware/common/rf_path.c | 9 5 + 4 - 0 !
firmware/hackrf-common.cmake | 2 2 + 0 - 0 !
firmware/hackrf_usb/hackrf_usb.c | 2 0 + 2 - 0 !
firmware/mixertx/mixertx.c | 1 0 + 1 - 0 !
firmware/sgpio-rx/sgpio-rx.c | 1 0 + 1 - 0 !
firmware/sgpio/sgpio_test.c | 4 2 + 2 - 0 !
firmware/sgpio_passthrough/sgpio_passthrough.c | 1 0 + 1 - 0 !
firmware/simpletx/simpletx.c | 1 0 + 1 - 0 !
16 files changed, 239 insertions(+), 74 deletions(-)

 [patch 23/68] max5864: abstract spi, extract target code


0024 MAX2837 Header clean up.patch | (download)

firmware/common/max2837_spi.h | 1 0 + 1 - 0 !
firmware/common/max2837_target.h | 2 0 + 2 - 0 !
2 files changed, 3 deletions(-)

 [patch 24/68] max2837: header clean-up.


0025 W25Q80BV Finish abstracting SPI code.patch | (download)

firmware/common/hackrf_core.c | 2 0 + 2 - 0 !
firmware/common/hackrf_core.h | 2 0 + 2 - 0 !
firmware/common/w25q80bv.c | 29 20 + 9 - 0 !
firmware/common/w25q80bv.h | 7 5 + 2 - 0 !
firmware/common/w25q80bv_drv.c | 112 0 + 112 - 0 !
firmware/common/w25q80bv_drv.h | 47 0 + 47 - 0 !
firmware/common/w25q80bv_spi.c | 102 102 + 0 - 0 !
firmware/common/w25q80bv_spi.h | 35 35 + 0 - 0 !
firmware/hackrf_usb/CMakeLists.txt | 2 1 + 1 - 0 !
9 files changed, 163 insertions(+), 175 deletions(-)

 [patch 25/68] w25q80bv: finish abstracting spi code.


0026 SSP1 Merge MAX2837 and MAX5864 SPI code to use singl.patch | (download)

firmware/common/hackrf_core.c | 55 40 + 15 - 0 !
firmware/common/hackrf_core.h | 6 6 + 0 - 0 !
firmware/common/max2837.c | 2 1 + 1 - 0 !
firmware/common/max2837_spi.c | 79 0 + 79 - 0 !
firmware/common/max2837_spi.h | 34 0 + 34 - 0 !
firmware/common/max2837_target.c | 10 10 + 0 - 0 !
firmware/common/max2837_target.h | 4 4 + 0 - 0 !
firmware/common/max5864.c | 6 4 + 2 - 0 !
firmware/common/max5864_spi.c | 78 0 + 78 - 0 !
firmware/common/max5864_spi.h | 33 0 + 33 - 0 !
firmware/common/max5864_target.c | 10 10 + 0 - 0 !
firmware/common/max5864_target.h | 3 3 + 0 - 0 !
firmware/common/rffc5071.c | 2 1 + 1 - 0 !
firmware/common/rffc5071_spi.c | 3 2 + 1 - 0 !
firmware/common/rffc5071_spi.h | 2 1 + 1 - 0 !
firmware/common/spi.c | 4 2 + 2 - 0 !
firmware/common/spi.h | 5 3 + 2 - 0 !
firmware/common/spi_ssp1.c | 79 79 + 0 - 0 !
firmware/common/spi_ssp1.h | 44 44 + 0 - 0 !
firmware/common/w25q80bv.c | 3 2 + 1 - 0 !
firmware/common/w25q80bv_spi.c | 3 2 + 1 - 0 !
firmware/common/w25q80bv_spi.h | 2 1 + 1 - 0 !
firmware/hackrf-common.cmake | 3 1 + 2 - 0 !
23 files changed, 216 insertions(+), 254 deletions(-)

 [patch 26/68] ssp1: merge max2837 and max5864 spi code to use single
 SPI interface.

Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h

0027 SSP1 Fix argument name to match SPI naming.patch | (download)

firmware/common/spi_ssp1.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 27/68] ssp1: fix argument name to match spi naming.


0028 SSP0 Extract SPI interface from W25Q80BV code.patch | (download)

firmware/common/hackrf_core.c | 22 22 + 0 - 0 !
firmware/common/hackrf_core.h | 2 2 + 0 - 0 !
firmware/common/spi_ssp0.c | 104 104 + 0 - 0 !
firmware/common/spi_ssp0.h | 44 44 + 0 - 0 !
firmware/common/w25q80bv.c | 19 5 + 14 - 0 !
firmware/common/w25q80bv.h | 2 0 + 2 - 0 !
firmware/common/w25q80bv_spi.c | 103 0 + 103 - 0 !
firmware/common/w25q80bv_spi.h | 35 0 + 35 - 0 !
firmware/common/w25q80bv_target.c | 48 48 + 0 - 0 !
firmware/common/w25q80bv_target.h | 32 32 + 0 - 0 !
firmware/hackrf-common.cmake | 3 3 + 0 - 0 !
firmware/hackrf_usb/CMakeLists.txt | 2 0 + 2 - 0 !
12 files changed, 260 insertions(+), 156 deletions(-)

 [patch 28/68] ssp0: extract spi interface from w25q80bv code.


0029 SPI Move SCU pin config to target layers.patch | (download)

firmware/common/max2837_target.c | 7 6 + 1 - 0 !
firmware/common/max5864_target.c | 5 5 + 0 - 0 !
firmware/common/spi_ssp0.c | 25 0 + 25 - 0 !
firmware/common/spi_ssp1.c | 6 0 + 6 - 0 !
firmware/common/w25q80bv_target.c | 22 22 + 0 - 0 !
5 files changed, 33 insertions(+), 32 deletions(-)

 [patch 29/68] spi: move scu/pin config to target layers.


0030 SSP Merge SSP0 and SSP1 code into single unit.patch | (download)

firmware/common/hackrf_core.c | 37 22 + 15 - 0 !
firmware/common/hackrf_core.h | 3 1 + 2 - 0 !
firmware/common/max2837.c | 2 1 + 1 - 0 !
firmware/common/max5864.c | 2 1 + 1 - 0 !
firmware/common/spi.h | 1 1 + 0 - 0 !
firmware/common/spi_ssp.c | 102 102 + 0 - 0 !
firmware/common/spi_ssp.h | 44 44 + 0 - 0 !
firmware/common/spi_ssp0.c | 79 0 + 79 - 0 !
firmware/common/spi_ssp0.h | 44 0 + 44 - 0 !
firmware/common/spi_ssp1.c | 73 0 + 73 - 0 !
firmware/common/spi_ssp1.h | 44 0 + 44 - 0 !
firmware/common/w25q80bv.c | 2 1 + 1 - 0 !
firmware/hackrf-common.cmake | 3 1 + 2 - 0 !
13 files changed, 174 insertions(+), 262 deletions(-)

 [patch 30/68] ssp: merge ssp0 and ssp1 code into single unit.

Conflicts:
	firmware/common/hackrf_core.c

0031 MAX2837 Add virtual function for setting device mode.patch | (download)

firmware/common/hackrf_core.c | 1 1 + 0 - 0 !
firmware/common/max2837.c | 35 10 + 25 - 0 !
firmware/common/max2837.h | 2 2 + 0 - 0 !
firmware/common/max2837_target.c | 46 26 + 20 - 0 !
firmware/common/max2837_target.h | 8 2 + 6 - 0 !
firmware/common/tuning.c | 2 1 + 1 - 0 !
6 files changed, 42 insertions(+), 52 deletions(-)

 [patch 31/68] max2837: add virtual function for setting device mode.


0032 SPI Remove MAX2837 5864 W25Q80BV driver dependence o.patch | (download)

firmware/common/hackrf_core.c | 3 3 + 0 - 0 !
firmware/common/max2837.c | 3 1 + 2 - 0 !
firmware/common/max2837.h | 8 6 + 2 - 0 !
firmware/common/max5864.c | 3 1 + 2 - 0 !
firmware/common/max5864.h | 8 6 + 2 - 0 !
firmware/common/tuning.c | 1 0 + 1 - 0 !
firmware/common/w25q80bv.c | 4 2 + 2 - 0 !
firmware/common/w25q80bv.h | 8 6 + 2 - 0 !
8 files changed, 25 insertions(+), 13 deletions(-)

 [patch 32/68] spi: remove max2837/5864, w25q80bv driver dependence on
 target code.

Conflicts:
	firmware/common/tuning.c

0033 SPI Pull remaining hardware bits out of MAX2837 5864.patch | (download)

firmware/common/hackrf_core.c | 3 3 + 0 - 0 !
firmware/common/max2837.c | 3 0 + 3 - 0 !
firmware/common/max5864.c | 3 0 + 3 - 0 !
firmware/common/rffc5071.c | 2 0 + 2 - 0 !
firmware/common/rom_iap.c | 1 1 + 0 - 0 !
firmware/common/w25q80bv.c | 3 0 + 3 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 2 2 + 0 - 0 !
7 files changed, 6 insertions(+), 11 deletions(-)

 [patch 33/68] spi: pull remaining hardware bits out of
 MAX2837/5864/W25Q80BV device drivers.


0034 RFFC5071 Remove extraneous include.patch | (download)

firmware/common/rffc5071_spi.c | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 [patch 34/68] rffc5071: remove extraneous #include.


0035 Si5351C Change write data arg to be const.patch | (download)

firmware/common/si5351c_drv.c | 2 1 + 1 - 0 !
firmware/common/si5351c_drv.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 [patch 35/68] si5351c: change write data arg to be const.


0036 SI5351C Rewrite si5351c_write_single to use si5351c_.patch | (download)

firmware/common/si5351c_drv.c | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 [patch 36/68] si5351c: rewrite si5351c_write_single() to use
 si5351c_write().


0037 Si5351C Widen write data_count argument type to size.patch | (download)

firmware/common/si5351c_drv.c | 2 1 + 1 - 0 !
firmware/common/si5351c_drv.h | 3 2 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 [patch 37/68] si5351c: widen write() data_count argument type to
 size_t.


0038 Si5351C Extract I2C code into single transfer functi.patch | (download)

firmware/common/si5351c_drv.c | 51 29 + 22 - 0 !
1 file changed, 29 insertions(+), 22 deletions(-)

 [patch 38/68] si5351c: extract i2c code into single transfer
 function.


0039 I2C Finish extracting from Si5351C code.patch | (download)

firmware/common/hackrf_core.c | 31 28 + 3 - 0 !
firmware/common/i2c_bus.c | 35 35 + 0 - 0 !
firmware/common/i2c_bus.h | 50 50 + 0 - 0 !
firmware/common/i2c_lpc.c | 57 57 + 0 - 0 !
firmware/common/i2c_lpc.h | 41 41 + 0 - 0 !
firmware/common/si5351c_drv.c | 34 2 + 32 - 0 !
firmware/common/si5351c_drv.h | 3 3 + 0 - 0 !
7 files changed, 216 insertions(+), 35 deletions(-)

 [patch 39/68] i2c: finish extracting from si5351c code.


0040 Si5351C Bring I2C wrapper into main driver.patch | (download)

firmware/common/hackrf_core.h | 2 1 + 1 - 0 !
firmware/common/si5351c.c | 27 25 + 2 - 0 !
firmware/common/si5351c.h | 11 10 + 1 - 0 !
firmware/common/si5351c_drv.c | 48 0 + 48 - 0 !
firmware/common/si5351c_drv.h | 49 0 + 49 - 0 !
firmware/hackrf-common.cmake | 1 0 + 1 - 0 !
6 files changed, 36 insertions(+), 102 deletions(-)

 [patch 40/68] si5351c: bring i2c wrapper into main driver.


0041 SPI Interface Rename init start add stop.patch | (download)

firmware/common/hackrf_core.c | 17 10 + 7 - 0 !
firmware/common/rffc5071_spi.c | 6 5 + 1 - 0 !
firmware/common/rffc5071_spi.h | 3 2 + 1 - 0 !
firmware/common/rom_iap.c | 2 1 + 1 - 0 !
firmware/common/spi.c | 8 6 + 2 - 0 !
firmware/common/spi.h | 6 4 + 2 - 0 !
firmware/common/spi_ssp.c | 6 5 + 1 - 0 !
firmware/common/spi_ssp.h | 3 2 + 1 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 4 2 + 2 - 0 !
9 files changed, 37 insertions(+), 18 deletions(-)

 [patch 41/68] spi: interface: rename init()->start(), add stop().


0042 SPI Rename spi_t to spi_bus_t to match I2C naming.patch | (download)

firmware/common/hackrf_core.c | 22 11 + 11 - 0 !
firmware/common/max2837.c | 4 2 + 2 - 0 !
firmware/common/max2837.h | 4 2 + 2 - 0 !
firmware/common/max2837_target.c | 8 4 + 4 - 0 !
firmware/common/max2837_target.h | 6 3 + 3 - 0 !
firmware/common/max5864.c | 2 1 + 1 - 0 !
firmware/common/max5864.h | 4 2 + 2 - 0 !
firmware/common/max5864_target.c | 8 4 + 4 - 0 !
firmware/common/max5864_target.h | 6 3 + 3 - 0 !
firmware/common/rffc5071.c | 4 2 + 2 - 0 !
firmware/common/rffc5071.h | 4 2 + 2 - 0 !
firmware/common/rffc5071_spi.c | 92 46 + 46 - 0 !
firmware/common/rffc5071_spi.h | 10 5 + 5 - 0 !
firmware/common/rom_iap.c | 2 1 + 1 - 0 !
firmware/common/spi.c | 38 0 + 38 - 0 !
firmware/common/spi.h | 49 0 + 49 - 0 !
firmware/common/spi_bus.c | 38 38 + 0 - 0 !
firmware/common/spi_bus.h | 49 49 + 0 - 0 !
firmware/common/spi_ssp.c | 60 30 + 30 - 0 !
firmware/common/spi_ssp.h | 14 7 + 7 - 0 !
firmware/common/w25q80bv.c | 12 6 + 6 - 0 !
firmware/common/w25q80bv.h | 4 2 + 2 - 0 !
firmware/common/w25q80bv_target.c | 8 4 + 4 - 0 !
firmware/common/w25q80bv_target.h | 6 3 + 3 - 0 !
firmware/hackrf-common.cmake | 2 1 + 1 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 4 2 + 2 - 0 !
26 files changed, 230 insertions(+), 230 deletions(-)

 [patch 42/68] spi: rename spi_t to spi_bus_t to match i2c naming.


0043 I2C Interface Rename init start add stop.patch | (download)

firmware/common/hackrf_core.c | 10 6 + 4 - 0 !
firmware/common/i2c_bus.c | 8 6 + 2 - 0 !
firmware/common/i2c_bus.h | 6 4 + 2 - 0 !
firmware/common/i2c_lpc.c | 7 6 + 1 - 0 !
firmware/common/i2c_lpc.h | 3 2 + 1 - 0 !
5 files changed, 24 insertions(+), 10 deletions(-)

 [patch 43/68] i2c: interface: rename init()->start(), add stop().


0044 Add pin interface to abstract GPIO pins.patch | (download)

firmware/common/pin.h | 37 37 + 0 - 0 !
firmware/common/pin_lpc.c | 52 52 + 0 - 0 !
firmware/common/pin_lpc.h | 41 41 + 0 - 0 !
firmware/hackrf-common.cmake | 1 1 + 0 - 0 !
4 files changed, 131 insertions(+)

 [patch 44/68] add "pin" interface to abstract gpio pins.


0045 Use new GPIO API to abstract GPIO in various drivers.patch | (download)

firmware/blinky/blinky.c | 21 9 + 12 - 0 !
firmware/common/cpld_jtag.c | 31 14 + 17 - 0 !
firmware/common/cpld_jtag.h | 16 15 + 1 - 0 !
firmware/common/gpio.h | 38 38 + 0 - 0 !
firmware/common/gpio_lpc.c | 58 58 + 0 - 0 !
firmware/common/gpio_lpc.h | 70 70 + 0 - 0 !
firmware/common/hackrf_core.c | 186 172 + 14 - 0 !
firmware/common/hackrf_core.h | 149 13 + 136 - 0 !
firmware/common/max2837.h | 14 14 + 0 - 0 !
firmware/common/max2837_target.c | 123 35 + 88 - 0 !
firmware/common/max2837_target.h | 4 0 + 4 - 0 !
firmware/common/max5864_target.c | 13 0 + 13 - 0 !
firmware/common/max5864_target.h | 3 0 + 3 - 0 !
firmware/common/pin.h | 37 0 + 37 - 0 !
firmware/common/pin_lpc.c | 52 0 + 52 - 0 !
firmware/common/pin_lpc.h | 41 0 + 41 - 0 !
firmware/common/rf_path.c | 131 66 + 65 - 0 !
firmware/common/rf_path.h | 35 28 + 7 - 0 !
firmware/common/rffc5071.c | 3 3 + 0 - 0 !
firmware/common/rffc5071.h | 2 2 + 0 - 0 !
firmware/common/rffc5071_spi.c | 52 27 + 25 - 0 !
firmware/common/rffc5071_spi.h | 8 8 + 0 - 0 !
firmware/common/sgpio.c | 97 27 + 70 - 0 !
firmware/common/sgpio.h | 31 22 + 9 - 0 !
firmware/common/spi_ssp.c | 7 5 + 2 - 0 !
firmware/common/spi_ssp.h | 5 3 + 2 - 0 !
firmware/common/streaming.c | 10 4 + 6 - 0 !
firmware/common/streaming.h | 6 4 + 2 - 0 !
firmware/common/tuning.c | 18 9 + 9 - 0 !
firmware/common/w25q80bv.h | 3 3 + 0 - 0 !
firmware/common/w25q80bv_target.c | 19 4 + 15 - 0 !
firmware/common/w25q80bv_target.h | 3 0 + 3 - 0 !
firmware/common/xapp058/micro.c | 234 124 + 110 - 0 !
firmware/common/xapp058/micro.h | 4 3 + 1 - 0 !
firmware/common/xapp058/ports.c | 31 16 + 15 - 0 !
firmware/common/xapp058/ports.h | 10 6 + 4 - 0 !
firmware/hackrf-common.cmake | 2 1 + 1 - 0 !
firmware/hackrf_usb/hackrf_usb.c | 31 14 + 17 - 0 !
firmware/hackrf_usb/usb_api_cpld.c | 15 8 + 7 - 0 !
firmware/hackrf_usb/usb_api_transceiver.c | 10 4 + 6 - 0 !
firmware/mixertx/mixertx.c | 13 3 + 10 - 0 !
firmware/sgpio-rx/sgpio-rx.c | 29 13 + 16 - 0 !
firmware/sgpio/sgpio_test.c | 21 7 + 14 - 0 !
firmware/sgpio_passthrough/sgpio_passthrough.c | 5 1 + 4 - 0 !
firmware/simpletx/simpletx.c | 12 3 + 9 - 0 !
firmware/spiflash/spiflash.c | 16 7 + 9 - 0 !
firmware/startup/startup.c | 18 9 + 9 - 0 !
firmware/startup_systick/startup_systick.c | 19 9 + 10 - 0 !
firmware/startup_systick_perfo/perf_mips.c | 3 0 + 3 - 0 !
firmware/startup_systick_perfo/startup_systick.c | 19 8 + 11 - 0 !
50 files changed, 889 insertions(+), 889 deletions(-)

 [patch 45/68] use new gpio api to abstract gpio in various drivers.

Had to do it all at once due to name conflicts with API exposed in libopencm3.
Quite invasive patch! Also precipitated an LED API...

0046 allow user to specify frequencies in MHz and scienti.patch | (download)

host/hackrf-tools/src/hackrf_transfer.c | 40 33 + 7 - 0 !
1 file changed, 33 insertions(+), 7 deletions(-)

 [patch 46/68] allow user to specify frequencies in mhz and scientific
 notation


0047 Update build instructions to include pkg config.patch | (download)

host/README.md | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 47/68] update build instructions to include pkg-config


0048 Update build instructions to include pkg config.patch | (download)

host/README.md | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 48/68] update build instructions to include pkg-config


0049 Adapt code to signed samples.patch | (download)

firmware/sgpio-rx/sgpio-rx.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 49/68] adapt code to signed samples.

Necessary due to change in CPLD to produce signed samples.

0050 Change frequency to center of 2.4GHz ISM.patch | (download)

firmware/sgpio-rx/sgpio-rx.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 50/68] change frequency to center of 2.4ghz ism.


0051 Fix calculation of mag 2.patch | (download)

firmware/sgpio-rx/sgpio-rx.c | 8 2 + 6 - 0 !
1 file changed, 2 insertions(+), 6 deletions(-)

 [patch 51/68] fix calculation of mag^2.


0053 Configure SGPIO slice mode early.patch | (download)

firmware/sgpio-rx/sgpio-rx.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch 53/68] configure sgpio slice mode early.


0056 rad1o USB idProduct cleanups.patch | (download)

host/libhackrf/53-hackrf.rules.in | 11 8 + 3 - 0 !
host/python/max2837_dump.py | 4 2 + 2 - 0 !
host/python/set_transceiver_mode.py | 4 2 + 2 - 0 !
3 files changed, 12 insertions(+), 7 deletions(-)

 [patch 56/68] rad1o usb idproduct cleanups

- udev rule should be lowercase (https://github.com/rad1o/f1rmware/pull/29)
- add entries for rad1o storage from https://github.com/rad1o/f1rmware/blob/master/smartflash/90-rad1o-flash.rules
- Rad1o -> rad1o
- hackrf.h was NOT adjusted to lowercase cc15

0057 Add W25Q80BV function to fast read from device.patch | (download)

firmware/common/w25q80bv.c | 22 22 + 0 - 0 !
1 file changed, 22 insertions(+)

 [patch 57/68] add w25q80bv function to fast-read from device.


0058 Use W25Q80BV read function to retrieve SPI flash con.patch | (download)

firmware/hackrf_usb/usb_api_spiflash.c | 10 2 + 8 - 0 !
1 file changed, 2 insertions(+), 8 deletions(-)

 [patch 58/68] use w25q80bv read function to retrieve spi flash
 contents.


0059 Only perform W25Q80BV setup once at startup.patch | (download)

firmware/hackrf_usb/hackrf_usb.c | 3 3 + 0 - 0 !
firmware/hackrf_usb/usb_api_spiflash.c | 4 0 + 4 - 0 !
2 files changed, 3 insertions(+), 4 deletions(-)

 [patch 59/68] only perform w25q80bv setup once, at startup.

hackrf_usb firmware does not run from SPI flash once the ROM bootloader is done. Simplify assumptions by initializing SPI flash once, early. Do not initialize it every 256 bytes that are read from or written to the device.

0060 Default SPI flash read length to size of SPI flash.patch | (download)

host/hackrf-tools/src/hackrf_spiflash.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 60/68] default spi flash read length to size of spi flash
 Fixes #214


0061 Comment style fixup to prevent warning in c90 compli.patch | (download)

host/libhackrf/src/hackrf.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 61/68] comment style fixup to prevent warning in c90 complier
 mode


0062 fix hackrf core Disable unused clock outputs.patch | (download)

firmware/common/hackrf_core.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 [patch 62/68] fix(hackrf-core): disable unused clock outputs

They generate noise and are most likely not used

0063 Support both commonly available versions of dfu util.patch | (download)

firmware/dfu-util.cmake | 56 56 + 0 - 0 !
firmware/hackrf-common.cmake | 6 4 + 2 - 0 !
2 files changed, 60 insertions(+), 2 deletions(-)

 [patch 63/68] support both commonly available versions of dfu-util
 (0.7/0.8)