372 Commits

Author SHA1 Message Date
ggatis
38f6d4c828 Update hackrf_sweep.c
change if ( fd != NULL ) to if ( ( fd != NULL ) && ( fd != stdout ) )
before fclose( fd );
2020-06-16 13:55:50 +03:00
jaj
a9f6cbc367 fix _FILE_OFFSET_BITS 64 position in hackrf_transfer.c (must be included before <sys/stat.h>) 2020-03-16 13:16:15 +01:00
Michael Ossmann
c0aed2edb7 firmware: clean up transceiver modes 2020-02-11 16:59:59 +00:00
Mike Walters
4aac303480 Add option to disable HackRF UI
Fixes #608
2020-01-22 21:23:30 +00:00
Michael Ossmann
ecd82e81c1 remove specific sample rate recommendations
HackRF One supports arbitrary sample rates from 2 Msps to 20 Msps.  In
early development we had ideas about preferred sample rates that we no
longer consider valid.
2020-01-22 06:39:08 -07:00
Michael Ossmann
8ff56c615f Merge pull request #661 from mgesteiro/hackrf_transfer-fix
FIXED: remove garbage at the end when capturing to stdout ('-r -')
2020-01-06 16:43:14 -07:00
Michael Ossmann
208fae7538 Merge pull request #645 from jboone/master
Sync up PortaPack UI changes.
2020-01-06 16:31:28 -07:00
Michael Ossmann
1569737109 Merge pull request #607 from dominicgs/portapack_ui_opera_cake_coexistence
Allow portapack and opera cake to coexist and still enable the PP UI
2020-01-06 16:28:58 -07:00
Mike Walters
dcb98f7f51 Get FFTW library dir 2019-12-10 18:46:51 +00:00
Mike Walters
d9897e03b1 Fix FFTW include dir 2019-12-10 18:46:51 +00:00
mgesteiro
c2d2492d41 FIXED: remove garbage at the end when capturing to stdout ('-r -') 2019-11-12 09:03:51 +01:00
Jared Boone
ef5b907295 CPLD: Remove checksum function from libhackrf and hackrf_info.
The checksum calculation process was causing the CPLD configuration to reload from flash. With the new SRAM loading mechanism, flash contents may not be up to date, so the CPLD bitstream may regress to the point of not working or not working correctly. This commit is a short-term fix for mossmann/hackrf issue #609.
2019-03-27 12:16:39 -07:00
Dominic Spill
b701579906 Allow portapack and opera cake to coexist and still enable the PP UI
The side effect of this is to disable GPIO mode for OC, but I2C still
works
Using both addons together is super unlikely
2019-02-01 12:04:40 -07:00
Jared Boone
fa2a9acd1a USB: initial CPLD checksum API support. 2019-01-31 21:19:21 +00:00
Dominic Spill
56b3bd0bed Merge pull request #546 from dominicgs/operacake_gpio
HackRF Opera Cake - GPIO test mode
2018-11-30 05:07:31 +11:00
w0xel
20b351916e Fix compile with fftw3f not in system dir 2018-11-19 16:04:27 +01:00
Dominic Spill
82656b8f14 HackRF Opera Cake - GPIO test mode 2018-11-09 22:10:16 -07:00
Dominic Spill
b02a8f2e8d Merge pull request #545 from GravesJake/sweep_n
Add limited sweep mode
2018-11-07 11:48:51 -07:00
GravesJake
c47f2b1162 Add cross-platform support for sleeping for milliseconds 2018-11-07 11:35:04 -07:00
GravesJake
39062a7a7b Remove usleep (incompatible with Windows) 2018-11-07 11:24:13 -07:00
GravesJake
982770b25b Add limited sweep mode 2018-11-07 10:49:49 -07:00
Dominic Spill
4e881efa7b match opera cake port designations to silkscreen - closed #531 2018-10-03 14:13:59 -06:00
Dominic Spill
4c2146aa7a Clean up opera cake range parsing code and improve error handling 2018-10-03 11:58:15 -06:00
bl4krat
540f86a5b0 Fixed operation of switch --list 2018-09-07 04:25:19 +01:00
Dominic Spill
cf4b3ae7f4 Cast all the things 2018-03-27 14:30:41 -06:00
Dominic Spill
e384a2d2b7 Explicitly cast variables to silence Windows build warnings 2018-03-27 14:11:51 -06:00
Dominic Spill
d4d74db27c Add helper functions for parsing frequency arguments 2018-03-27 11:57:52 -06:00
Dominic Spill
9f0a46d818 Calculate using doubles and cast to float at the last moment 2018-03-27 10:38:03 -06:00
Dominic Spill
3168bb55e3 Revert "hackrf_transfer: fix Windows uint32 conversion build warnings"
This reverts commit a9bc8b7ff7c1a2fd910f99d7accd9f75196c71f0.
2018-03-26 19:11:55 -06:00
Dominic Spill
a9bc8b7ff7 hackrf_transfer: fix Windows uint32 conversion build warnings 2018-03-26 19:07:42 -06:00
Dominic Spill
4c2a039a01 hackrf_operacake: cleanup Windows precision warnings 2018-03-26 18:39:56 -06:00
Dominic Spill
5f02620a49 ahckrf_debug: finx type conversion warning from Windows build 2018-03-26 18:06:13 -06:00
Dominic Spill
1fab6d9030 Fix type conversion warnings for Windows build 2018-03-26 18:04:45 -06:00
Dominic Spill
5f560d6ad3 Merge branch 'mossmann-master' into flash-investigation 2017-12-05 16:18:19 -07:00
Dominic Spill
a1f9361f78 Wrong localtime argument type in hackrf_sweep causes crash on win 10
Thanks jaredd
2017-12-02 20:37:37 -07:00
Dominic Spill
3f569a8ad4 hackrf_clock: Allow CLKOUT to be enabled / disabled
hackrf_clock -o 1 / hackrf_clock -o 0
2017-11-07 11:23:48 -07:00
Dominic Spill
1f9c2c81b6 Initial commit of a dedicated clock tool 2017-11-07 11:23:48 -07:00
Dominic Spill
c416fa1294 SPI Flash: add function to clear SPI flash status register 2017-11-06 10:42:19 -07:00
Michael Ossmann
2174aa0ea4 Merge pull request #400 from dominicgs/firmware_compatibility_check
Firmware compatibility check
2017-09-28 23:58:34 -06:00
Dominic Spill
f20763419f Optional spi flash status read 2017-09-12 18:04:15 -06:00
Dominic Spill
8f544ee60d Add flash status read 2017-09-12 17:52:07 -06:00
Morten Shearman Kirkegaard
161d8f77f4 Fixed bug in rx_callback(), where time_stamp.tv_usec was sent through modulo before time_stamp.tv_sec was updated. 2017-08-22 17:17:45 +02:00
Dominic Spill
97d3e65866 Fix misleading typo in bandwidth filter comment 2017-08-17 17:20:27 -06:00
Dominic Spill
fb24c389a4 Fix issue with rad1o compatibility check string 2017-08-11 08:00:01 +01:00
Dominic Spill
75d3a0a5b1 Add check for correct firmware when flashing to a devices
It's using the product string for now, but there are other
things that we could check too. Use -i to ignore the check.
rad1o badge will always pass the check because it uses
"HackRF" as the product string, whichis a substring of both
other devices..
2017-08-09 11:29:24 +01:00
Joshua Hill
42924698c5 OperaCake: fixes travis build errors 2017-07-11 19:54:44 -04:00
Joshua Hill
3ad2dc9d2a fixed ports to allow users to pass port name on board 2017-07-11 19:07:38 -04:00
Dominic Spill
72a03cffa8 Merge pull request #382 from dominicgs/operaglasses
Opera glasses: allow user specified ranges for operacake ports
2017-06-02 10:23:24 -06:00
Marco Bartolucci
e682fe812e Always call hackrf_set_hw_sync_mode in hackrf_transfer.
Avoids the need to manually disable the hw synchronisation by specifyinh the option -H 0.
Omitting -H 0 has the same effect.
2017-05-22 11:40:12 +02:00
Marco Bartolucci
8d0187770a Added "Waiting for sync" info in hackrf_transfer 2017-05-22 11:29:37 +02:00