Commit graph

1,453 commits

Author SHA1 Message Date
Robert Ghilduta
85f5cce235 libbladeRF: generic and platform specific async steam functions pass length 2020-11-23 00:59:27 -08:00
Robert Ghilduta
34a7472b30 libbladeRF: add packet mode and length to generic usb backend and libusb (only) 2020-11-23 00:59:27 -08:00
Robert Ghilduta
1490c78b6b libbladeRF: add packet mode and length tracking to sync streaming functions 2020-11-23 00:59:27 -08:00
Robert Ghilduta
dce12c7d59 libbladeRF: express buffer sizes with samples and bytes as units in verbose messages 2020-11-23 00:59:27 -08:00
Robert Ghilduta
6adfb3b594 libbladeRF: add note for normal meta mode 2020-11-23 00:59:27 -08:00
Robert Ghilduta
4bca11241d libbladeRF: metadata helper functions for packets 2020-11-23 00:59:27 -08:00
Robert Ghilduta
d294ba267b libbladeRF: add BLADERF_FORMAT_PACKET_META format 2020-11-23 00:59:27 -08:00
Robert Ghilduta
4dfbd52859 libbladeRF: set and unset config_gpio based on stream format 2020-11-23 00:59:27 -08:00
Robert Ghilduta
b02acdd2d3 hdl: bump version to v0.11.1 2020-09-12 06:05:58 -07:00
Robert Ghilduta
5cf9fd299a libbladeRF: define bladerf2_state_to_string as extern in header 2020-05-25 21:36:50 -05:00
Robert Ghilduta
163425d48a libbladeRF: unambiguous flash_arch macro name 2020-05-25 21:36:44 -05:00
Robert Ghilduta
45521019c5 libbladeRF: rearrange position of get_speed in declarations 2019-12-20 14:00:06 -08:00
Robert Ghilduta
f03d84333b libbladeRF: clear up documentation 2019-10-01 16:46:12 -07:00
Robert Ghilduta
cf4031f197 matlab: warn when build_thunk() working directory is not in path 2019-09-04 21:11:35 -07:00
Robert Ghilduta
54186f6569 matlab: update build_thunk(), add more error error checking and debugging 2019-09-04 21:11:25 -07:00
Robert Ghilduta
e9ef4cad79 bladeRF_XCVR: specify type bladeRF_direction 2019-09-03 16:20:48 -07:00
Robert Ghilduta
8e358c1941 libbladeRF: query backend for handle and lock 2019-09-01 22:51:27 -07:00
Robert Ghilduta
991bba2f9c matlab: add ability to select channel in bladeRF_rx_gui 2019-08-29 00:08:48 -07:00
Robert Ghilduta
a49ac5cdef matlab: allow to set and get current active channel through bladeRF_XCVR 2019-08-29 00:00:07 -07:00
Robert Ghilduta
37674ccea5 matlab: update bladerf_devinfo struct 2019-08-28 23:59:03 -07:00
Robert Ghilduta
297bea2fae matlab: update definitions 2019-08-28 04:36:13 -07:00
Robert Ghilduta
c224b510ca host: python v1.2.0 2019-07-31 18:28:22 -05:00
Robert Ghilduta
d00f20a886 host: python: add OTP functions 2019-07-31 18:28:18 -05:00
Robert Ghilduta
e3d7750e53 libbladeRF v2.2.1 2019-07-31 18:28:03 -05:00
Robert Ghilduta
8a4d95c163 libbladeRF: default tuning mode to host 2019-05-05 02:06:01 -07:00
Robert Ghilduta
99464e1261 libbladeRF: include fpga v0.11.0 compatibility 2019-05-05 02:06:01 -07:00
Robert Ghilduta
602a106442 libbladeRF: advance timestamp by the correct number of steps 2019-05-05 02:06:01 -07:00
Robert Ghilduta
0aca485ad0 libbladeRF: hdl: allow quicktune to control XB gpio register
This commit uses the reserved field of the pkt_retune NiOS packet to encode
xb_gpio register configuration data.
2019-04-02 01:59:55 -07:00
Rey Tucker
c82384c5f3 host: bladerf2: handle FIR fails when setting sample rates
Try to restore some semblence of order if setting the FIR filters fails
during attempts to set sample rates in the low-rate range.
2019-01-28 14:08:48 -05:00
Robert Ghilduta
3bb8ad613e libbladeRF: add functionality to lock OTP 2018-12-27 18:33:33 -08:00
Robert Ghilduta
300d536ac1 libbladeRF: add OTP read/write support 2018-12-27 18:25:51 -08:00
Robert Ghilduta
a0e5274146 libbladeRF: make flash read/write generic 2018-12-27 18:25:51 -08:00
Robert Ghilduta
421f5fb566 libbladeRF: update version compatibility tables 2018-12-26 12:17:47 -08:00
Robert Ghilduta
d011a9d09d libbladeRF: fix error in formatting error message 2018-12-26 00:23:14 -08:00
Robert Ghilduta
1416d4918a libbladeRF: update FPGA flash type definitions 2018-12-26 00:21:14 -08:00
Rey Tucker
c0325b9dd8 host: libbladeRF: fix type issues in flash.c
Fixes Windows build warnings.
2018-12-21 17:21:52 -05:00
Rey Tucker
b48ff5661c python v1.1.1 2018-12-21 16:40:44 -05:00
Rey Tucker
3cd3afae86 host: python: update definitions for libbladeRF v2.2.0 2018-12-21 16:39:13 -05:00
Rey Tucker
5de4edac6c host: python: bladerf-tool: don't print gain mode if tx channel 2018-12-21 16:38:50 -05:00
Rey Tucker
8f021ab65b matlab v1.0.3 2018-12-21 16:30:57 -05:00
Rey Tucker
00926587d8 host: matlab: update definitions for flash image handling functions
Updates bladerf_alloc_image, bladerf_alloc_cal_image,
and bladerf_image_write function definitions for libbladeRF v2.2.0
2018-12-21 16:30:36 -05:00
Rey Tucker
57b6abdc35 libbladeRF v2.2.0 2018-12-21 16:12:50 -05:00
Rey Tucker
d1a9c8e12a host: libbladeRF_test: fixup test_gain on bladerf2
Works around a minor bug in fpga v0.10.2 where the frequency
post-init is not valid, which makes bladerf_enable_module fail
until a frequency change is done.

Also only enable RX channels, not TX channels.

Also don't try to change gain modes on TX channels.
2018-12-21 15:18:47 -05:00
Rey Tucker
d09761f2e4 host: libbladeRF: include inttypes.h in libbladeRF.h
This is where PRI{i,u,x}{32,64} are defined, which we use
in #defines further down. So, including inttypes.h is sort
of necessary.
2018-12-21 15:12:16 -05:00
Rey Tucker
9a0310d556 host: libbladeRF: minor doxygen fixes 2018-12-21 12:49:56 -05:00
Rey Tucker
825d986b4e host: libbladeRF: add bladerf_get_fpga_bytes() call
This adds a bladerf_get_fpga_bytes() function, which returns the
expected length of the FPGA image.

This is a dynamic replacement for BLADERF_FLASH_BYTE_LEN_FPGA,
which has been removed.

In particular, this is used in spi_flash_write_fpga_bitstream() and
spi_flash_erase_fpga() to determine the number of blocks to erase
during FPGA flashing operations.

This fixes an issue where xA9 boards were not being adequately
erased before writing.
2018-12-21 01:28:17 -08:00
Brian Glod
5081471c5b host: libbladeRF: Remove BLADERF_FLASH_EB_SIZE and BLADERF_FLASH_TO_EB(bytes)
Macros no longer needed/used.
2018-12-21 01:28:17 -08:00
Brian Glod
55bbfb1537 host: Remove BLADERF_FLASH_EB_FPGA and BLADERF_FLASH_EB_LEN_FPGA
Macros no longer needed:
- Switched to using byte-unit functions.
- Perform any byte->EB calculations internally based on device's flash
  architecture.
2018-12-21 01:28:17 -08:00
Brian Glod
b45a08d3d0 host: Remove BLADERF_FLASH_EB_CAL and BLADERF_FLASH_EB_LEN_CAL
Macros no longer needed once switching to byte-unit functions.
2018-12-21 01:28:17 -08:00
Brian Glod
44534c0799 host: Remove BLADERF_FLASH_EB_FIRMWARE and BLADERF_FLASH_EB_LEN_FIRMWARE
Replaced these macros with appropriate calculations using
BLADERF_FLASH_ADDR_FIRMWARE and the page size held in the device's flash
architecture structure. Page size may change depending on the flash
used.
2018-12-21 01:28:17 -08:00