2227 Commits

Author SHA1 Message Date
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
bfa9f65f4e Try another work around for strdup() 2018-03-26 23:25:31 -06:00
Dominic Spill
f768ff6735 Fix cmake command error 2018-03-26 21:36:33 -06:00
Dominic Spill
936da52169 Third time lucky with definition to remove warning about strdup() 2018-03-26 21:31:56 -06:00
Dominic Spill
e0e02bcd7a Fix bad define (maybe) 2018-03-26 21:16:23 -06:00
Dominic Spill
c8e8d33a59 Silence warning about strdup() being deprecated 2018-03-26 20:59:55 -06:00
Dominic Spill
bb585e40a4 libhackrf: Fix Windows type warnings
MSVC compalins when we mix int and ssize_t
Declaration of hackrf_set_sample_rate_manual differed between .h and .c
2018-03-26 20:35:44 -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
92f122d43a Firmware: no longer require dfu-prefix
it was adding a header that we weren't using anyway
2018-03-22 12:29:27 -06:00
Dominic Spill
bac06167f1 Merge branch 'mossmann-master' into multiple_hackrf_stop_rx_issue_463 2018-03-21 16:44:07 -06:00
Dominic Spill
47805d1c3b Set do_exit flag per device rather than globally 2018-03-21 16:43:22 -06:00
Michael Ossmann
d7e2068ff1 Merge pull request #460 from dominicgs/device_counting_fix
Open device counting: increment when opening a device
2018-03-21 15:03:22 -06:00
Michael Ossmann
370ee2dce5 HackRF One: replaced U20 with Winbond W25Q80JVSSIQ 2018-02-28 12:12:32 -07:00
Dominic Spill
65c7b5aa24 Open device counting: increment when opening a device
Previously it incremented when the library was initialised, this worked
for GNU Radio flowgraphs, but broke elsewhere
2018-02-27 16:07:04 -07:00
Michael Ossmann
fc8fcd8616 added CPLD update requirement to firmware/README
improved cpld/README
fixes #458
2018-02-20 08:18:42 -07:00
Dominic Spill
d17f091736 libhackrf: stop_tx() put HackRF in to idle mode before killing transfer thread
This is what we do for RX and appears to prevent HackRF remaining in TX
mode. This mirrors commit 693c262
2018-02-17 16:20:08 -07:00
Michael Ossmann
991c5089a9 Merge branch 'glitch-fix' 2018-02-02 15:15:27 -07:00
Michael Ossmann
6da3593781 Merge pull request #437 from gvz/master
libhackrf: counts the open devices, prevents exit if not all closed
2018-02-02 15:03:46 -07:00
Dominic Spill
cc7f599677 Pin OS X builds to Xcode 7.3 for now 2018-01-28 18:37:39 -07:00
Dominic Spill
bd37a5082f Revert Travis to xcode 7.3 to ignore pip issue for now
- Issue to correct this is #438
2018-01-28 18:37:29 -07:00
Dominic Spill
1c33d68dec Use pip2 rather than pip because it's not available with xcode 8.3 2018-01-28 18:37:16 -07:00
Dominic Spill
d211b14f85 Fix Travis-CI builds 2018-01-28 18:20:37 -07:00
Michael Ossmann
5d6667141e short pulses when enabling VAA to avoid a big voltage glitch 2018-01-28 16:24:48 -07:00
Michael Ossmann
b095c5326a eliminated minor glitch caused by enabling a GPIO output before setting its value 2018-01-28 16:16:35 -07:00
Dominic Spill
3447863a8b Pin OS X builds to Xcode 7.3 for now 2017-12-07 16:26:42 -07:00
Dominic Spill
aa9af94ec3 Revert Travis to xcode 7.3 to ignore pip issue for now
- Issue to correct this is #438
2017-12-07 10:21:35 -07:00
Georg von Zengen
73ca8c09dd libhackrf: counts the open devices, prevents exit if not all closed
fixes #435, osmosdr calls hackrf_exit for the last sink and the last
source. If both are in one flow graph the desctructor of the source
fails as the sink already closed the usb context.
This prevents hackrf_exit to close the context if not all devices are closed
2017-12-07 15:21:29 +01:00
Michael Ossmann
94cd63fad7 Merge pull request #434 from dominicgs/flash-investigation
Allow users to interact with the flash status register
2017-12-06 21:14:57 -07:00
Dominic Spill
5f560d6ad3 Merge branch 'mossmann-master' into flash-investigation 2017-12-05 16:18:19 -07:00
Dominic Spill
00b1dea58d Use pip2 rather than pip because it's not available with xcode 8.3 2017-12-04 08:00:00 -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
Michael Ossmann
fb83ad6495 Merge pull request #427 from dominicgs/clock_util
Clock util
2017-11-16 18:00:20 -07:00
Michael Ossmann
28e9ef4475 Merge pull request #399 from yhetti/master
Added decoupling capacitors to Operacake.
2017-11-08 02:03:04 -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
Dominic Spill
f0473b7c45 Fix Travis-CI builds 2017-11-02 19:48:57 -06:00
Taylor Streetman
1ea84e9b77 Moved vias. 2017-10-29 16:49:39 -06:00
Taylor Streetman
fa0f39d85b Moved via 2017-10-28 15:37:03 -06:00
Taylor Streetman
78c506ad45 Fixed unconnected traces 2017-10-18 16:42:44 -06:00
Taylor Streetman
15f89932bf more decoupling caps and remove one GND from P22 2017-10-18 14:36:56 -06: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
Dominic Spill
84b29ac571 Merge pull request #403 from muellermartin/fix-host-README
Fix host readme syntax issues and typos
2017-09-02 17:38:15 -06:00