Ben Gamari
d21d616576
libhackrf: Rework hackrf_cpld_write to use new firmware interface
...
We now use a separate USB configuration for CPLD updates. To avoid
misuse of the interface, hackrf_cpld_write is now a one-shot call,
expecting the entire CPLD buffer. The library will then take care that
the device is placed in the CPLD update configuration and the entire
buffer uploaded. Unfortunately, this means that users of the interface
will have substantially fewer opportunities to provide status updates to
the user.
2013-09-14 18:24:26 -04:00
Ben Gamari
693c262134
libhackrf: Stop streaming before killing transfer thread
2013-09-14 18:24:25 -04:00
Michael Ossmann
b056efcaf8
.so and .pc version update
2013-07-26 18:30:46 -06:00
ZeroChaos
250d6d43ff
fix permissions on udev rules
...
when setting a group on a device typically you only set write for root and the group not for world. should be 660 not 666, 666 is the devil.
2013-06-27 00:30:47 -04:00
Michael Ossmann
ed805dc370
hackrf_transfer usage() update to warn people about -w
2013-06-26 12:48:10 -06:00
Michael Ossmann
474c40b8c2
trying to fix "0.000 MHz" output bug that only affects certain people
2013-06-26 12:43:59 -06:00
Michael Ossmann
631849763b
Merge pull request #81 from ibobbitt/master
...
Typo in hackrf_transfer usage text
2013-06-26 11:33:07 -07:00
Ian Bobbitt
7fd44fddfd
Include udev rule if -DINSTALL_UDEV_RULES=ON is set (copied from rtl-sdr)
2013-06-21 12:15:03 -04:00
Ian Bobbitt
91307c31bd
Fixing typo in usage text
2013-06-20 21:37:45 +00:00
Hoernchen
b33f534da0
firmware, lib: update comments, doc
2013-06-17 12:32:12 +02:00
Hoernchen
3c7bc948f1
lib: if freq
2013-06-16 20:24:07 +02:00
Hoernchen
51e33cb1da
tools: tell msvc to disable deprecation warnings
2013-06-11 13:39:26 +02:00
Hoernchen
56830da123
tools: x64 fixes for msvc
2013-06-11 13:27:34 +02:00
Hoernchen
05008fbe48
tools: fix more warnings
2013-06-11 12:59:02 +02:00
Hoernchen
ecdaf40fb7
lib: un-break msvc
2013-06-11 12:55:10 +02:00
Michael Ossmann
d55a591175
fix printf format warnings
2013-06-10 08:03:14 -06:00
Michael Ossmann
fcae60b77a
fix type-punning warning with -fstrict-aliasing
2013-06-10 08:01:03 -06:00
Hoernchen
8ab20d5d35
tools: operator precedence, precision
2013-06-09 01:04:32 +02:00
Hoernchen
fe7558fcf3
lib/fw: rename the sample rate function
2013-06-09 00:09:46 +02:00
Sylvain Munaut
791476b422
libhackrf: Update the library with new fractional sample rate API
...
And send the new USB command
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-09 00:08:18 +02:00
Michael Ossmann
f522e8a326
Merge pull request #75 from Hoernchen/siclock
...
see commits
2013-06-07 20:34:28 -07:00
Michael Ossmann
f88d206340
Merge pull request #74 from TitanMKD/master
...
Fix management hackrf_spiflash invalid filename or error to open for read/write
2013-06-07 20:31:44 -07:00
Hoernchen
cf8f7644c9
fix indent, fix unused vars
2013-06-07 23:46:45 +02:00
Hoernchen
c7142aad95
tools: calculate the multisynth output and print it
2013-06-07 21:29:30 +02:00
Hoernchen
675c9493e3
lib: rename the define, gcc already defines BIG_ENDIAN
2013-06-07 20:36:50 +02:00
TitanMKD
54ef9c9508
hackrf_spiflash added checks & error on fileopen() error for read & write.
2013-06-07 19:37:37 +02:00
Hoernchen
d3d9038697
lib: actually handle the value returned by the fw when setting the gains
2013-06-07 18:17:55 +02:00
Hoernchen
222d518bb7
lib: make BE people happy
2013-06-07 15:30:49 +02:00
Hoernchen
cd7da974d5
lib: fractional sample rates
2013-06-07 14:29:14 +02:00
Michael Ossmann
f60cfd677f
Merge pull request #68 from smunaut/pending
...
Misc patches I needed to make it work properly
2013-06-06 18:15:40 -07:00
Alexander Neumann
d60f382c07
Correct help text for hackrf_transfer
...
Option for 5 MHz sample-rate was removed, show correct minimal
sample-rate of 8 MHz
2013-06-06 23:27:46 +02:00
Sylvain Munaut
fce132d266
libhackrf: Fix early exit of transfer thread in case of syscal interruption
...
libusb can return LIBUSB_ERROR_INTERRUPTED and it's not really an error,
just a sign some syscall got interrupted by something. Don't abort on
that.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-06 22:55:06 +02:00
Sylvain Munaut
02509f2f44
libhackrf: Add a pkgconfig .pc file to allow auto-discovery of prefix
...
Shamelessly copied from librtlsdr.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-06 22:53:57 +02:00
Hoernchen
4c39d15a84
tools: add gain control
2013-05-30 13:01:31 +02:00
Hoernchen
b7687c718f
lib: fix mingw
2013-05-29 21:08:31 +02:00
Hoernchen
762f6054e9
tools: fix hackrf_si5351c to print ms6 and 7
...
6 and 7 are integer only. Also fixes printing of the output divider
value.
2013-05-29 19:41:37 +02:00
Michael Ossmann
14257a0032
fix #define false 1
2013-05-28 22:50:54 -06:00
Hoernchen
233c56c79d
libhackrf/firmware: merge txvga gain into one gain range of 0-47
2013-05-29 00:53:41 +02:00
Hoernchen
551b7dc011
libhackrf: findlibhackrf should try to find libhackrf in /usr/include, too
2013-05-28 23:29:46 +02:00
Hoernchen
c2f09c082d
lib/msvc: do not swallow the static lib
2013-05-28 22:58:07 +02:00
Hoernchen
e16cafd9a1
host: modify the cmake build system, there is a new top dir cmake file that builds everything
2013-05-28 22:48:40 +02:00
Hoernchen
270043990d
tools: msvc signal handling
2013-05-28 19:04:09 +02:00
Hoernchen
a9c301cfd4
windows, pt3
2013-05-27 14:02:15 +02:00
Hoernchen
d18159cf62
libhackrf: gain control
2013-05-27 14:01:21 +02:00
Hoernchen
2200e4c109
windows, pt2
2013-05-27 14:01:20 +02:00
Hoernchen
dea06b2732
windows
2013-05-27 14:01:20 +02:00
TitanMKD
d127d1a664
hackrf-tools fixed install by default to (path)/bin
2013-05-23 21:11:08 +02:00
TitanMKD
b4af69ac38
hackrf-tools fixed make install and added make uninstall feature.
...
libhackrf added make uninstall feature.
Thanks to horizon for the hint for cmake uninstall script.
2013-05-23 20:53:23 +02:00
TitanMKD
a38c20d440
Fixed hackrf-tools CMake scripts to build them out of tree.
2013-05-18 10:25:01 +02:00
TitanMKD
cc74842b78
Fix FindLIBHACKRF.cmake
2013-05-18 00:03:00 +02:00