Commit Graph

162 Commits

Author SHA1 Message Date
Dimitri Stolnikov ba4fd96622 cross platform usleep() 2015-12-11 18:45:23 +01:00
Harald Welte 6a2d224311 slim_pro.c: Fix format string related compiler warning 2015-11-07 15:57:16 +01:00
Steve Markgraf effcaa75bf cmake: detect libusb on FreeBSD
Source:
http://patch-tracker.debian.org/patch/series/view/libosmosdr/0.1.7.cd37e9-2/libusb-freebsd

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-17 19:17:02 +01:00
Dimitri Stolnikov cd37e9fab1 software/libosmosdr: remove spaces from Makefile template 2012-12-08 20:04:48 +01:00
Dimitri Stolnikov d79e4f8dca don't install udev rules by default, as it may pollute the system
For cmake call with -DINSTALL_UDEV_RULES=ON for the rules to be
installed during the default install/uninstall stages.

For autotools call "make install-udev-rules" or "make uninstall-udev-

The rules file will be installed to "/etc/udev/rules.d".
2012-09-08 16:45:01 +02:00
Dimitri Stolnikov b81bf9a481 install (and uninstall) udev rules file 2012-09-02 22:15:36 +02:00
Dimitri Stolnikov a09144bc88 implement a more robust cancelation mechanism of async reader 2012-08-08 21:20:59 +02:00
Dimitri Stolnikov 14f7dd4461 disable e4k enhanced mixer gain as it seems to have no effect 2012-08-05 16:36:58 +02:00
Dimitri Stolnikov edbcf3352d change si570.h permissions to 644 2012-07-14 19:35:41 +02:00
Harald Welte dc23dc5a81 include auto-generated GIT_REVISION into the DFU and firmware builds
At the moment it is only shown on the serial console, though.
2012-06-25 15:09:55 +02:00
Dimitri Stolnikov 233c5b7201 fix symbol visibility for automake builds 2012-06-13 01:30:08 +02:00
Dimitri Stolnikov 9e2a7e199a sanitize internal and external return codes 2012-06-09 19:46:05 +02:00
Dimitri Stolnikov e91056e736 automake: define pkg-config variables 2012-06-07 22:39:19 +02:00
Dimitri Stolnikov a630fc0810 implement setting the sample rate 2012-06-06 00:44:04 +02:00
Christian Daniel 323af344fa set TWI/I2C speed to 400kHz - all devices on the OsmoSDR support this 2012-06-05 21:28:58 +02:00
Christian Daniel 2dd491881e e4k: fix return value of debug function 2012-06-05 21:28:34 +02:00
Christian Daniel 1982ab41fe USB: fix statemachine to prevent bulk ep hang 2012-06-05 20:51:00 +02:00
Christian Daniel bf8d829201 req queue: resize buffers and fix irq enable/disable 2012-06-05 20:50:38 +02:00
Christian Daniel 26bea49a7e remove generic USB debugging printf 2012-06-05 20:50:05 +02:00
Christian Daniel d62195b046 proper e4k init 2012-06-05 20:48:22 +02:00
Christian Daniel b93708ed1d add lots of debugging stuff 2012-06-05 20:48:09 +02:00
Dimitri Stolnikov 41eb541606 fix access violation error 2012-06-02 16:49:51 +02:00
Dimitri Stolnikov 292a986830 introduce getters for tuner parameters (gain, type) 2012-06-02 01:41:04 +02:00
Christian Daniel a2382d66d8 fix fix of fix for mixer_gain API 2012-06-01 00:31:39 +02:00
Christian Daniel d8d2cfc785 fix typo 2012-06-01 00:31:12 +02:00
Christian Daniel 4eed4e7870 provide accessors for expanded USB API 2012-06-01 00:17:33 +02:00
Christian Daniel 35355c704c expand USB API 2012-06-01 00:17:15 +02:00
Christian Daniel a5d9d2de81 swap I/Q by default (OsmoSDR is q first) 2012-06-01 00:16:28 +02:00
Christian Daniel 399d41474f added accessor functions for specific FPGA registers 2012-06-01 00:15:55 +02:00
Christian Daniel 83340d0b37 new fpga firmware - sorry, only one blob
new features:

- bit to swap I and Q (spectrum inversion)

- make GPS PPS input usable as clock reference (PPS acts as clock gate
  for a counter)

- change unused pins into GPIOs (input, output, etc. configuration via
  SPI register bank)

- LED connected to FPGA can be switched on and off

have a look at the updated register description ODF/PDF
2012-05-30 22:28:38 +02:00
Christian Daniel 1c329c8165 fix mixer setting in libosmosdr 2012-05-30 22:03:27 +02:00
Christian Daniel dda6e9c4cb add workaround for E4K gap between 325-350 MHz 2012-05-30 21:59:36 +02:00
Christian Daniel 83ebd2b310 add a few debug strings 2012-05-30 21:59:07 +02:00
Steve Markgraf e69305dedd fix build of usb-dfu-project
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 15:27:50 +02:00
Dimitri Stolnikov e1cef7b07b fix vid case in udev rules file 2012-05-27 19:28:36 +02:00
Dimitri Stolnikov c9e015c711 fix c&p error 2012-05-27 15:34:49 +02:00
Dimitri Stolnikov 4c49d57323 fix gain setting in CLI tool 2012-05-27 15:19:14 +02:00
Dimitri Stolnikov bcc45534de add preliminary tuner control 2012-05-27 15:17:39 +02:00
Christian Daniel f3f7a28cf8 add bulk mode and initial USB API 2012-05-26 22:19:49 +02:00
Christian Daniel 65f6e41c56 export subsystem structs and add support for bulk mode 2012-05-26 22:19:08 +02:00
Christian Daniel e28725c0dc remove a few debug messages to clean the output 2012-05-26 22:17:43 +02:00
Christian Daniel 3ee2b7e52d add bulk EP descriptors (switchable by #define) 2012-05-26 22:17:08 +02:00
Christian Daniel 6023743202 add an API function to directly write to an SI570 register 2012-05-26 22:14:33 +02:00
Christian Daniel 180193cecf import modified E4000 driver from rtl-sdr 2012-05-26 22:13:59 +02:00
Dimitri Stolnikov 5b2f5902b0 libosmosdr: update USB endpoint used for IQ streaming 2012-05-25 00:15:41 +02:00
Dimitri Stolnikov 8650ea86db add osmo_sdr utility 2012-05-20 16:44:57 +02:00
Dimitri Stolnikov 7d90bb808a introduce api function to read usb string descriptors
This API allows to read manufacturer and product names as well as the
serial number advertized by the device on the bus.
2012-05-20 16:43:59 +02:00
Dimitri Stolnikov 129324b3dd rename osmosdr.c to libosmosdr.c 2012-05-20 14:02:53 +02:00
Christian Daniel be360a2d60 added register description for FPGA firmware 2012-05-17 22:55:31 +02:00
Christian Daniel 5dcfd6a156 added DFU functionality for the FPGA - crudely removed stuff from the loader to make it fit into the 16k 2012-05-17 22:47:51 +02:00