893 Commits

Author SHA1 Message Date
TitanMKD
54ef9c9508 hackrf_spiflash added checks & error on fileopen() error for read & write. 2013-06-07 19:37:37 +02:00
TitanMKD
899f6dc55f Merge branch 'master' of git://github.com/mossmann/hackrf 2013-06-07 19:30:09 +02:00
Michael Ossmann
b674a68722 Merge pull request #72 from Hoernchen/siclock
fractional sample rates, and so on
2013-06-07 09:56:06 -07: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
1925649a01 firmware: fractional sample rates 2013-06-07 14:29:14 +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
Michael Ossmann
a4072360e3 Merge pull request #70 from fd0/correct-help-text
Correct help text for hackrf_transfer
2013-06-06 17:47:16 -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
Sylvain Munaut
472bcd414a firmware/build: Use gnu99 coding convention
C99 doesn't require/support anonymous struct/unions in some GCC versions
and those are used a lot.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-06 22:52:40 +02:00
Michael Ossmann
532807110b Merge pull request #66 from Hoernchen/siclock
si clock for the lpc
2013-06-05 09:14:40 -07:00
Hoernchen
a95f49b543 disable si clock to lpc
leaving it on but unused causes major spurs to appear all over the
place..
2013-06-05 17:35:01 +02:00
TitanMKD
a7f5769315 Revert Warnings fix as it works only for C99 so keep the old version with warnings. 2013-06-01 11:50:16 +02:00
Hoernchen
4c39d15a84 tools: add gain control 2013-05-30 13:01:31 +02:00
TitanMKD
cb9644a010 Fixed warnings on %lld and %llu 2013-05-29 22:01:49 +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
Hoernchen
b6a0b09b1d firmware: remove 5mhz option 2013-05-29 17:47:02 +02:00
Hoernchen
7f6a730c6e si clock for the lpc 2013-05-29 17:12:06 +02:00
Michael Ossmann
14257a0032 fix #define false 1 2013-05-28 22:50:54 -06:00
Michael Ossmann
b5f275abc5 Merge pull request #65 from Hoernchen/master
gain + windows
but need to fix '#define false 1' bugs
2013-05-28 21:49:32 -07: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
19e8628650 firmware: fix plus 16db tx gain 2013-05-27 15:28:51 +02:00
Hoernchen
a9c301cfd4 windows, pt3 2013-05-27 14:02:15 +02:00
Hoernchen
abc3cd1f4f firmware: gain control 2013-05-27 14:01:22 +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
Michael Ossmann
a9cad5bfec Merge pull request #63 from TitanMKD/master
hackrf-tools make install/uninstall feature implemented, update libhackrf with make uninstall feature.
2013-05-24 10:16:28 -07: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
Michael Ossmann
9276b9e89a moved cpld stuff out of hardware/jellybean where people would be unlikely to look for it 2013-05-18 09:48:37 -06:00
Michael Ossmann
389cbc6ac4 renamed usb_performance to hackrf_usb 2013-05-18 08:51:34 -06:00
Michael Ossmann
fc4f269d4f Merge pull request #51 from TitanMKD/master
Updated cmake script to find libhackrf, updated hackrf (host&firmware) frequency range from 5MHz to 6800MHz
2013-05-18 07:35:00 -07: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
TitanMKD
18932692ab Updated hackrf_transfer(host) and ubs_performance(firmware) extended frequency range from 5MHz to 6800MHz. 2013-05-17 23:41:32 +02:00
TitanMKD
0fc46cb91a Added cmake script to find libhackrf. 2013-05-17 23:39:19 +02:00
Michael Ossmann
a70ac9e917 Merge pull request #50 from TitanMKD/master
New license BSD 3-Clause License for libhackrf and moved examples to hackrf-tools
2013-05-17 09:56:39 -07:00
TitanMKD
221337793c Moved host/libhackrf/examples to host/hackrf-tools 2013-05-17 01:14:34 +02:00
TitanMKD
345794fdb9 Moved host/libhackrf/examples to host/hackrf-tools 2013-05-17 01:13:24 +02:00
TitanMKD
bf964e769d New license for libhackrf based on http://opensource.org/licenses/BSD-3-Clause 2013-05-17 00:00:46 +02:00
Michael Ossmann
60d21a3310 commenting out CGU_PLL1_CTRL_DIRECT=1 because it breaks boot from spifi 2013-05-11 18:55:00 -06:00