aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into interleaved_rgHEADinterleaved_rgMatthias P. Braendli2019-03-2317-48/+386
|\
| * lib: Add workaround for Linux usbfs mmap() bugSteve Markgraf2018-10-071-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | The Linux Kernel has a bug on ARM/ARM64 systems where the USB CMA memory is incorrectly mapped to userspace, breaking zerocopy. When the Kernel allocates the memory, it clears it with memset(). If the mapping worked correctly, we should have zeroed out buffers, if it doesn't, we get random Kernel memory. We now check for this, and fall back to buffers in userspace if that's the case. Signed-off-by: Steve Markgraf <steve@steve-m.de>
| * lib: add I2C supportSteve Markgraf2018-06-172-0/+136
| | | | | | | | | | | | | | Note that the FL2000 only supports I2C transfers with a fixed length of 4 bytes. Signed-off-by: Steve Markgraf <steve@steve-m.de>
| * fix sleep durations on WindowsSteve Markgraf2018-06-174-39/+24
| | | | | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
| * debian: build-dep on dh-autoreconf for Ubuntu 16.04/Debian8Harald Welte2018-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | according to https://wiki.debian.org/Autoreconf: ... dh-autoreconf is enabled by default since debhelper compatibility level 10 (and the debhelper package Depends on dh-autoreconf since version 9.20160402). For lower compatibility levels: * Build-Depend on dh-autoreconf ...
| * debian: Attempt to down-grade the debhelper version requirementHarald Welte2018-06-032-2/+2
| | | | | | | | ... so we can build on anything except unstable + ubuntu 18.04
| * Add Debian packaging informationHarald Welte2018-06-0310-0/+187
| | | | | | | | | | | | This allows (among others) to build rtl-sdr nightly packages for a variety of distributions as part of the network:osmocom:nightly builds.
| * enable multiarch build by means of GNUInstallDirsThorsten Alteholz2018-06-032-3/+7
| | | | | | | | This patch is taken from the osmo-fl2k debian package.
| * libusb-1.0.22 deprecated libusb_set_debug() with libusb_set_option()Harald Welte2018-06-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | This avoids the following compiler warnings when using more recent versions of libusb: src/libosmo-fl2k.c:384:2: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(dev->ctx, 3); ^~~~~~~~~~~~~~~~ Details can be found at https://github.com/libusb/libusb/commit/539f22e2fd916558d11ab9a66f10f461c5593168
| * fl2k_file: support reading from stdinSteve Markgraf2018-05-231-4/+11
| | | | | | | | | | | | Thanks to Ted Yapo for reporting. Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | Add support for interleaved R/G samplesMatthias P. Braendli2018-05-203-13/+64
|/ | | | | This is useful for transmitting complex I/Q data on the red and green DACs
* lib: update output on zero-copy allocationSteve Markgraf2018-05-011-2/+3
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* lib: free zero-copy buffers in case of errorSteve Markgraf2018-05-011-4/+17
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* set version to 0.1gitSteve Markgraf2018-04-281-1/+1
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* update version to 0.1.1v0.1.1Steve Markgraf2018-04-281-1/+1
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fl2k_fm: add missing help text for stereo and rdsSteve Markgraf2018-04-271-0/+2
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fl2k_test: fix build on Mac OSSteve Markgraf2018-04-271-2/+2
| | | | | | Thanks to mot for reporting. Signed-off-by: Steve Markgraf <steve@steve-m.de>
* CMake: Make UDEV_RULES_PATH configurableMartin Hauke2018-04-241-1/+6
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* Fix build with MinGWMartin Hauke2018-04-243-3/+16
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* lib: libusb_dev_mem_free() is not present in old versionsSteve Markgraf2018-04-231-0/+2
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fl2k_fm: add SPDX identifierSteve Markgraf2018-04-231-0/+2
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* add missing cmake modulesSteve Markgraf2018-04-193-0/+361
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fl2k_fm: add stereo and RDS supportSteve Markgraf2018-04-185-11/+629
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* add fl2k_fmSteve Markgraf2018-04-172-1/+495
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fl2k_file: only output on red DAC for nowSteve Markgraf2018-04-171-2/+0
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* fix ifdef in export headerSteve Markgraf2018-04-171-1/+1
| | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* initial commitSteve Markgraf2018-04-1721-0/+5800
Signed-off-by: Steve Markgraf <steve@steve-m.de>