uhd/mpm/python
Martin Braun 9573640db7 mpm: x4xx: Fix clock/time source API
In f73e327, we modified PeriphManagerBase to explicitly list all
required methods as per the MPM/UHD API. This had an unintended side
effect: Because the clocking methods on x4xx are imported from
X4xxClockMgr, and not defined on x4xx itself, the method used to import
methods from X4xxClockMgr onto x4xx would refuse to re-define API calls
such as set_clock_source(), get_clock_source(), and so on.

The solution is to allow _add_public_methods() to overwrite existing
methods, which means we can overwrite abstract methods from
PeriphManagerBase in this fashion.

Without this patch, UHD sessions could fail in the following manner:

>>> import uhd
>>> U = uhd.usrp.MultiUSRP("type=x4xx")
>>> U.get_clock_source(0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
U.get_clock_source(0)
RuntimeError: RuntimeError: Error during RPC call to `get_clock_source'.
Error message: get_clock_source() not available on this device!
2022-03-30 05:29:00 -07:00
..
pyusrp_periphs uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
tests mpm: tests: Add lib/ to library load path 2021-06-18 07:28:28 -05:00
usrp_mpm mpm: x4xx: Fix clock/time source API 2022-03-30 05:29:00 -07:00
aurora_bist_test.py mpm: n3xx: Fix usage of UIO in Aurora tests 2018-03-01 18:34:28 -08:00
CMakeLists.txt fixup! cmake: Replace distutils.sysconfig with sysconfig 2022-01-20 08:31:50 -06:00
copy_python_module.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
e320_bist mpm: Fix units for DRAM BIST 2022-02-03 14:21:31 -06:00
n3xx_bist mpm: n3xx: Recommend reboot USRP after BIST 2022-03-23 16:14:22 -05:00
setup.py.in cmake: Add RegMaps build component to MPM 2021-03-01 15:57:01 -06:00
socket_test.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
test_lmk.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
usrp_hwd.py sim: Integrate simulator into UHD 2020-10-28 15:25:48 -05:00
usrp_update_fs mpm: Update usrp_update_fs to support X410 2021-07-08 00:05:43 -07:00
x4xx_bist mpm: Add x4xx DRAM BIST 2022-02-03 14:21:31 -06:00