uhd/mpm/python/usrp_mpm
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
..
chips fixup! uhd: add support for max10 variants 2022-03-28 12:47:17 -07:00
cores cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
dboard_manager mpm: Factor out common code between E31x_db and Neon classes 2022-03-17 14:00:06 -05:00
periph_manager mpm: x4xx: Fix clock/time source API 2022-03-30 05:29:00 -07:00
simulator sim: Move SelectableQueue and SendWrapper 2020-10-28 15:25:48 -05:00
sys_utils uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
xports mpm: xportmgr_udp: Match DNAT arguments to manpage 2022-02-21 13:27:39 -06:00
__init__.py.in sim: Lay Groundwork for Simulator 2020-10-07 15:29:19 -05:00
aurora_control.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
bfrfs.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
bist.py mpm: Fix units for DRAM BIST 2022-02-03 14:21:31 -06:00
CMakeLists.txt mpm: add tlv_eeprom 2021-05-31 05:28:47 -07:00
components.py mpm: Skip DTS compatibility check if DTS is not being updated. 2021-07-09 00:34:33 -07:00
discovery.py mpm: Use receiving socket for sending response 2022-03-02 13:06:23 -06:00
e31x_legacy_eeprom.py mpm: e31x: Accept FF terminated strings in eeprom 2020-09-04 11:38:27 -07:00
eeprom.py mpm: eeprom: Improve E320 and N3x0 EEPROM code/comments 2022-02-16 14:53:37 -06:00
ethdispatch.py mpm: Add support for internal Ethernet interface 2020-07-16 10:00:12 -05:00
fpga_bit_to_bin.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
gpsd_iface.py mpm: speed up reading gps mboard sensors 2022-03-23 16:19:04 -05:00
mpmlog.py fixup! mpm: Use prefs API in logging module 2020-12-04 12:07:16 -08:00
mpmtypes.py mpm: add device name to discovery process 2022-02-08 13:55:35 -06:00
mpmutils.py mpm: Demote WARNING on minor compat mismatch to DEBUG 2022-01-14 14:36:19 -06:00
prefs.py docs: Add comments on mpm.conf 2020-07-09 00:39:11 -07:00
process_manager.py sim: Integrate simulator into UHD 2020-10-28 15:25:48 -05:00
rpc_server.py mpm: add device name to discovery process 2022-02-08 13:55:35 -06:00
test_bfrfs.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
tlv_eeprom.py mpm: add tlv_eeprom 2021-05-31 05:28:47 -07:00
user_eeprom.py mpm: Factor out user EEPROM code into own module 2018-12-20 14:57:54 -08:00