257 Commits

Author SHA1 Message Date
Hoernchen
b7687c718f lib: fix mingw 2013-05-29 21:08:31 +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
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
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
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
221337793c Moved host/libhackrf/examples to host/hackrf-tools 2013-05-17 01:14:34 +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
Jared Boone
d0e609429d Merge branch 'master' of https://github.com/mossmann/hackrf 2013-05-11 16:59:00 -07:00
Jared Boone
8dec5cb31a Tweak C/CXX_FLAGS to separate language standard used for C and C++ files. 2013-05-10 18:12:09 -07:00
TitanMKD
418680aed2 Fixed libhackrf, hackrf_cpldjtag (host) & usb_performance (firmware) to update CPLD through USB.
Use latest CPLD bitstream with following command line:
hackrf_cpldjtag.exe -x hackrf\hardware\jellybean\sgpio_if\default.xsvf
2013-05-09 00:29:42 +02:00
TitanMKD
5225477164 * Modified API hackrf_is_streaming() now it returns an int HACKRF_TRUE when streaming is running.
* Added new hackrf_error especially for streaming to return more details.
* Adding management of usb transfer cancelled for hackrf_stop_rx()/hackrf_stop_tx().
* Added robustness on hackrf_close() to correctly close libusb related stuff even if USB device is removed or other problems.
* Fixed threading problems (start, stop() then start() ...).
* Cleanup the whole code.
2013-05-08 15:03:30 +02:00
TitanMKD
9749466512 Cleanup wave_file_hdr declaration for string WAVE ... thanks Hoernchen for the info. 2013-04-11 19:57:19 +02:00
TitanMKD
ead843ec2a hackrf_spiflash modified -l argument is not used anymore with -w argument, file len is automatically read. 2013-04-07 18:57:30 +02:00
TitanMKD
294e958472 sgpio_if (top.vhd) CPLD VHDL fix for IQ/aliasing problems for ADC. (cpldjtagprog => sgpio_if_xsvf.h updated to rebuild).
usb_performance.c SGPIO IQ fix for ADC (QI->IQ) for new CPLD (use usb_performance_rom_to_ram version else there is some packet lost even at 10Mhz sampling rate => make -f Makefile_rom_to_ram.)
2013-04-04 19:43:30 +02:00
TitanMKD
3eb757c7d8 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-04-04 19:18:55 +02:00
Michael Ossmann
c6154a2dac exit when failing to transfer 2013-04-01 16:23:08 -06:00
TitanMKD
281c8701f8 Example cleanup/warning fix for better compatibility with GNU g++.
Adding hackrf_compute_baseband_filter_bw_round_down_lt() & hackrf_compute_baseband_filter_bw() in libhackrf.
Adding DLL export for _WIN32 (cdecl ..).
2013-04-01 18:35:32 +02:00
TitanMKD
d62f4ede8b Added hackrf_transfer option -w to received file with Wav/RIFF Header and automatic name compatible with SDR# 2013-03-29 20:17:37 +01:00
TitanMKD
eefb98c4c0 hackrf_transfer -b baseband_filter_bw_hz option and cleanup. 2013-03-24 19:12:37 +01:00
TitanMKD
a498208b12 Minor cleanup 2013-03-24 10:32:49 +01:00
TitanMKD
cb8343578c Cleanup (Windows/Linux) and fixed wrong arguments for printf ... 2013-03-24 10:18:44 +01:00
TitanMKD
1739d70372 Fix include not required for linux 2013-03-24 10:02:17 +01:00
TitanMKD
31356cc998 Merge branch 'master' of git://github.com/mossmann/hackrf
Conflicts:
	host/libhackrf/examples/hackrf_transfer.c
Fixed conflict with cleanup and fixed bug on 64bits value.
2013-03-24 09:56:56 +01:00
TitanMKD
cb2b82e9c4 Adding "sample_rate_hz" option, Ctrl C exit shall be fixed with also minor fix in hackrf lib (manage do_exit in thread).
Need more test on linux.
2013-03-23 18:14:49 +01:00
Michael Ossmann
500baf9c49 hackrf_transfer -n num_samples 2013-03-23 09:55:32 -06:00
TitanMKD
6620fe6ba9 Add host(hackrf_info)/fw(usb_performance) IAP read part id/serial no(to be confirmed). 2013-03-09 11:47:28 +01:00
TitanMKD
b1821ae8da read_spiflash fixed. (Probably need to flush SPIFI "internal cache" before to read to be sure to read real SPIFI data). 2013-03-08 02:10:51 +01:00
TitanMKD
9ad6758af1 Added hackrf_set_amp_enable() in hackrf_transfer. 2013-03-08 00:47:17 +01:00
Michael Ossmann
8a9664c0ad started amp_enable in libhackrf 2013-03-07 16:08:44 -07:00
TitanMKD
e3784c886e set_freq for firmware & host. tested basicly checking with debugger value mhz/hz from host to fw. 2013-03-07 23:24:00 +01:00
TitanMKD
e2c05fbfe2 Draft in progress (not tested at all) set_freq(). 2013-02-26 00:17:18 +01:00
Michael Ossmann
85dfc2a930 implemented transceiver mode OFF 2013-02-24 15:13:39 -07:00
Michael Ossmann
d2b35517b3 firmware version string 2013-02-23 10:22:58 -07:00
Michael Ossmann
c703b380cf SPI flash chip erase USB command, updated hackrf_spiflash.c to operate one page at a time 2013-02-22 22:20:19 -07:00
Michael Ossmann
771de3c24d more fixes for bytes transferred checks 2013-02-22 21:39:03 -07:00
Michael Ossmann
000bfdd53e fixed check for number of bytes transferred (Thanks, Jared!) 2013-02-22 17:44:00 -07:00
Michael Ossmann
eb7e80c8bf error message correction 2013-02-22 14:19:56 -07:00
Michael Ossmann
0efbc6618e board id request over USB (untested) 2013-02-21 14:25:30 -07:00
Michael Ossmann
ae16685996 improved error handling 2013-02-21 13:46:22 -07:00
Michael Ossmann
b7020a0103 hackrf_cpldjtag example program (untested) 2013-02-21 13:38:05 -07:00
Michael Ossmann
ea5422d788 hackrf_spiflash example program (untested) 2013-02-21 13:18:03 -07:00
Michael Ossmann
b873a8c85a started libhackrf modifications for spiflash and cpld_jtag over USB 2013-02-20 14:45:54 -07:00
TitanMKD
2612b8910f Added readme to build host tools for Cygwin/Mingw & Linux. 2013-02-10 18:53:50 +01:00
TitanMKD
013f1ea4f6 Modified firmware and host tools for portability Linux/Mingw, added fw rffc5071 & host hackrf_rffc5071 example. 2013-02-10 18:51:54 +01:00
Jared Boone
413b34eb86 Add #includes required for Linux. 2012-11-01 22:48:45 -07:00