7c95f8bb5fhackrf_init: only call libusb_init() once
Heikki Hannikainen
2015-02-24 14:56:19 +02:00
1fae679af3device enumeration: Return usb_board_ids as an enum
Heikki Hannikainen
2015-02-24 12:28:07 +02:00
9b9466f02alibhackrf: The usb firmware reports board type as USB product id. Provide hackrf_usb_board_id_name() to decode that.
Heikki Hannikainen
2015-02-24 12:15:05 +02:00
c0b3638cceDo not break hackrf_open() API, provide a hackrf_open_by_serial() instead for the new functionality.
Heikki Hannikainen
2015-02-24 07:15:46 +02:00
893fef3fcfBug fix, open the correct device in hackrf_device_list_open
Heikki Hannikainen
2015-02-24 01:25:58 +02:00
d10dd1945chackrf_info: Adjust output to print USB device identification string and device index number, before trying to open.
Heikki Hannikainen
2015-02-24 00:45:57 +02:00
856d9a6354libhackrf: hackrf_device_list() API for device enumeration and opening of any device (with or without serial numbers). hackrf_info uses hackrf_device_list to list devices, with or without serial number API support.
Heikki Hannikainen
2015-02-24 00:33:26 +02:00
33e20bda0chackrf_cpldjtag: added -d for device serial number
Heikki Hannikainen
2015-02-23 22:44:18 +02:00
6aa5f00186hackrf_spiflash: added -d for device serial number
Heikki Hannikainen
2015-02-23 22:40:59 +02:00
b14d77a173Adjust debug printf's a bit
Heikki Hannikainen
2015-02-23 22:35:11 +02:00
8e21b9882fPermit serial number without leading zeros so you don't have to type as much. In fact, permit any suffix of the serial number.
Heikki Hannikainen
2015-02-23 21:44:22 +02:00
c9f8bb2a05libhackrf: refactor serial number searching to hackrf_open_usb()
Heikki Hannikainen
2015-02-23 21:31:31 +02:00
35b9e0bea0Create a #define/constant for the usb_descriptor_string_serial_number length. Clean up a compilation warning, libusb headers do not like the 'const'.
Heikki Hannikainen
2015-02-23 20:29:22 +02:00
9e92adda79Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main(). Create a usb_set_descriptor_by_serial_number(), called before USB stack is started.
Heikki Hannikainen
2015-02-23 20:14:20 +02:00
9dbe967bf2Serial number firmware and host-side changes. Very hacky at this point. Among the TODOs: * Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main(). * Create a usb_set_serial_number_descriptor() or similar function to be called before USB stack is started. * Ensure USB serial number descriptor is valid even if code forgets to initialize the serial number before the USB stack is started. May be as simple as providing default initializer for usb_descriptor_string_serial_number[]. * Create a #define/constant for the usb_descriptor_string_serial_number length. * Identify what's causing intermittent crashes in hackrf_transfer when no serial number is specified. I'm probably misusing getopt. * Permit serial number without leading zeros so you don't have to type as much. * Add support for serial number argument in other hackrf_* tools. * Provide libhackrf support for enumerating multiple HackRFs, so that hackrf_info can list all devices. May require an additional libhackrf function, outside of hackrf_open().
Jared Boone
2014-05-15 10:08:07 -07:00
50a6622ff8nudged refs for assembly diagram
Michael Ossmann
2015-01-27 10:12:35 -07:00
4e98bc6b1bupdated DFU make instructions
Michael Ossmann
2014-12-03 14:58:53 -07:00
017a80604aremoved .svn directory that never should have been there
Michael Ossmann
2014-11-11 11:03:30 -07:00
5363ec3672Use new GPIO API to abstract GPIO in various drivers.
Jared Boone
2014-11-15 16:21:10 -08:00
7eee145365Add "pin" interface to abstract GPIO pins.
Jared Boone
2014-11-13 16:12:54 -08:00
32aea14318Merge branch 'abstract_i2c' into abstract_buses
Jared Boone
2014-11-13 11:26:41 -08:00