Commit graph

97 commits

Author SHA1 Message Date
Robert Ghilduta
2003fd968f python: bump version to 1.4.0
v1.4.0 (2025-05-06)
--------------------------------
 * add support for SC16_Q11_META format
 * update Python binding definitions
2025-05-11 04:17:01 -07:00
Robert Ghilduta
5627503b27 matlab: bump version to 1.1.0
v1.1.0 (2025-05-06)
--------------------------------
 * Add bladerf_image_type_to_string API binding
 * Add missing RFIC_BIST loopback type
 * Improve enum string handling and conversion functions
 * Fix module default value handling in calibrate method
 * Standardize version information handling
2025-05-11 04:17:01 -07:00
Robert Ghilduta
20b9810eb0 misc: add missing CHANGELOGs
All CHANGELOGs should be up to date now.
2025-05-11 04:17:01 -07:00
Robert Ghilduta
619e058115 matlab: add missing bladerf_image_type_to_string
Add missing bladerf_image_type_to_string API_EXPORT declaration and also
add it to matlab
2025-04-24 04:36:36 -07:00
Jan Hrach
2db3b8402b Add support for SC16_Q11_META to Python binding. 2023-02-28 00:04:27 -08:00
Robert Ghilduta
689d6da345 host: python v1.3.0 2023-02-13 03:28:19 -08:00
Gregory R. Warnes
d097b96c36 Standardize version information. 2022-04-03 19:54:51 -07:00
Gregory R. Warnes
bcea4c95f1 Add missing loopback type 'RFIC_BIST'. 2022-04-03 19:54:25 -07:00
Gregory R. Warnes
f5526a1f76 More of add explicit conversion of channel enum strings
to values.
2022-04-03 19:54:13 -07:00
Gregory R. Warnes
7b3cf9df36 Add special case for loading windows DLL in python
bindings.
2022-04-03 19:51:57 -07:00
Gregory R. Warnes
8019032d3d Fix handling of module default value for calibrate method. 2022-04-03 19:50:44 -07:00
Gregory R. Warnes
0f97fe70fb MATLAB isn't automatically handling conversion of
the `bladerf_channel` enum strings because
`bladerf_channel` is declared as an int, rather than
as an enum.

To resolve this, add a new static method
`bladeRF.str2ch` to handle the conversion
and use it to wrap appropriate `obj.channel`
and `obj.module` arguments in function calls.

Further, replace enum strings
`BLADERF_CORR_LMS_DCOFF...` --> `BLADERF_CORR_DCOFF...`
and
`BLADERF_CORR_FPGA_PHASE...` --> `BLADERF_CORR_PHASE...`
because MATLAB doesn't pick up the #define
which does so for the C code.
2022-04-03 19:50:32 -07:00
Robert Ghilduta
f5d52f3f24 host: python v1.2.1 2022-04-03 19:39:10 -07:00
Robert Ghilduta
cc50e218f9 matlab: bump to v1.0.5 2022-04-03 19:39:10 -07:00
Robert Ghilduta
7740242c7b add bladeRF 2.0 micro xA5 support to libbladeRF and FPGA 2022-04-03 19:39:10 -07:00
Mehmet Ali Ertürk
3698a96672 Update _bladerf.py
Python binding fix for macOS.
2022-04-03 19:38:52 -07:00
realmadsci
ac7456ebed Python bindings: Fix get_gain_modes
Despite documentation to the contrary (https://github.com/Nuand/bladeRF/blob/master/host/libraries/libbladeRF/include/libbladeRF.h#L902), you should *not* call bladerf_get_gain_modes with NULL to get the number of modes to expect.
Just call it with a `struct bladerf_gain_modes **` and let it point you at the internal structure which lists the applicable modes, and then use its return value as the length.
2022-04-03 19:35:01 -07:00
realmadsci
2027767626 Make all of the get_*_range functions work
These functions were previously constructing a `bladerf_range *` and a `bladerf_range **` which pointed at it, and assuming that the `bladerf_get_*_range()` functions would write into the `bladerf_range *` that we provided.
However, those functions actually just point the `bladerf_range **` at their internal structure which already exists.
This patch corrects this wrong assumption and allows these functions to return valid range info.
2022-04-03 19:34:45 -07:00
Robert Ghilduta
591c3e5729 host: python: bump to version 1.1.2 2020-12-23 20:29:55 -08:00
Robert Ghilduta
fc826ba3cc host: python: add support for BLADERF_FORMAT_PACKET_META 2020-12-23 20:29:39 -08:00
Robert Ghilduta
ebefe10da5 matlab: bump to version 1.0.4 2020-12-23 20:28:26 -08: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
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
1416d4918a libbladeRF: update FPGA flash type definitions 2018-12-26 00:21:14 -08: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
c490baa215 Python bindings v1.1.0
Note: an erroneous python_v1.0.2 tag was created, which is basically
identical to this, but had the wrong version number. I apologize for any
confusion this may cause.
2018-10-30 16:45:24 -04:00
Rey Tucker
01e2dc6e22 MATLAB v1.0.2 2018-10-30 16:41:29 -04:00
Rey Tucker
f38dde896b python: update _cdef with bladerf_get_fpga_source 2018-09-27 14:45:27 -04:00
Rey Tucker
75906e68e5 host: python: improve import_header.py script
fixes:
 - Script will now look in the same dir as the input file
   (e.g. ../../../libbladeRF/include/) for other headers. This
   is specifically to let it find bladeRF1.h and bladeRF2.h
   more expeditiously.
 - Create a stoplist of lines to not include in the output.
   This largely consists of typedefs from pycparser's fake
   system header files.
2018-09-27 14:45:16 -04:00
Rey Tucker
74a876d274 host: matlab: fix tx_gain property handling in simulink
processTunedPropertiesImpl() was not updated during the migration
from tx_vga1+tx_vga2 to tx_gain.

h/t mando238

Fixes #654
2018-09-26 12:43:42 -04:00
Rey Tucker
57b111fc05 host: python: update _cdef.py 2018-09-26 12:43:16 -04:00
Rey Tucker
35dd8b5f8d python: pep8 compliance 2018-09-24 13:14:36 -04:00
Rey Tucker
586c69338e python: add get_serial_struct, replace get_serial 2018-09-24 13:14:36 -04:00
Rey Tucker
38259d1733 python: update _cdef with latest libbladeRF.h 2018-09-24 13:14:36 -04:00
Brian Glod
8036032bfd libbladeRF/python: Add bladerf_get_flash_size()
bladerf-tool will print the flash density with the 'info' command.
2018-09-14 12:33:30 -04:00
Rey Tucker
5a886c355b matlab: add missing BB_TXVGA1_RXLPF loopback option
Fixes #478
2018-09-13 18:11:13 -04:00
Rey Tucker
ead2de258b libbladeRF/python: fix rx_channel_count and tx_channel_count 2018-09-13 17:57:16 -04:00
Rey Tucker
8a1953ed5e libbladerf/python: update cdef 2018-09-13 17:54:30 -04:00
Rey Tucker
0d8546aa57 host: python v1.0.1
v1.0.1 (2018-08-24)
--------------------------------

This version is intended for use with libbladeRF v2.0.1.

Changes:
 * host: libbladeRF: Rename clock select option
2018-08-24 16:07:23 -04:00