aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager/base.py
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Demote some log messagesMartin Braun2018-03-061-1/+1
| | | | | | The log output at level 'INFO' was pretty cluttered. This cleans up the log messages at the higher levels. In some cases, log message typos or capitalizations were also fixed.
* mpm: Update all license headersMartin Braun2018-02-191-2/+2
| | | | | - Fix typo in company name (missing 'a') - Updated SPDX license identifier to version 3.0
* mpm: n310: Fix various bugs in sensor APIMartin Braun2018-01-121-1/+1
|
* mpm: dboard_manager: Use mpmutils.to_native_str instead of local hackMartin Braun2018-01-111-10/+2
|
* mpm: Harmonize all license headerMartin Braun2017-12-221-13/+2
| | | | Now uses SPDX headers everywhere.
* mpm: Harmonize imports, tidy + sort modulesMartin Braun2017-12-221-1/+1
| | | | | | | | - Moved nijesdcore to cores/ - Moved udev, net, dtoverlay, uio to sys_utils/ - Made all imports non-relative (except in __init__.py files) - Removed some unnecessary imports - Reordered some imports for Python conventions
* mpm: PeriphManager decides and applies overlayBrent Stapleton2017-12-221-13/+0
| | | | | | | Previously, the daughterboard requested an overlay file based on SFP preference using magic values. This commit moves the decision making to the peripheral manager, which uses our singular name (ie 'n3xx' for the N310).
* mpm: mg: Add dboard sensors for low- and highband LO lock statusMartin Braun2017-12-221-3/+6
| | | | | | | | | - Add LO locked APIs to Magnesium - Add LO locked sensor APIs for RX/TX and highband/lowband LOs - Poll all those sensors from magnesium_radio_ctrl_impl Reviewed-By: Steven Bingler <steven.bingler@ni.com> Reviewed-By: Trung Tran <trung.tran@ettus.com>
* mpm: Make dboard manager __init__ exception-safeMartin Braun2017-12-221-12/+17
|
* mpm: mg: Add lowband LO lock and AD9371 lock sensorsMartin Braun2017-12-221-1/+1
| | | | Note: The AD9371 lock sensors are only stubbed out for now.
* mpm: Properly populate device_info dict for dboard classesMartin Braun2017-12-221-1/+18
| | | | | | | | | | | Prior to this commit, device_info was always an empty dictionary on all dboard classes. The device_info dict is now auto-populated from the EEPROM contents, if any were provided. Dboard classes can still opt to amend that dictionary in specific class implementations. Signed-off-by: Martin Braun <martin.braun@ettus.com>
* mpm: Add mboard EEPROM supportMartin Braun2017-12-221-3/+3
| | | | | | MPMD binds a property for the mboard EEPROM to the appropriate RPC calls. PeriphManager now provides default implementations for an mboard EEPROM.
* mpm: Added sensor APIMartin Braun2017-12-221-0/+38
| | | | | | | | - Motherboard sensors are automatically populated into the property tree, they can be automatically enumerated and queried - Daughterboard sensors have an API for querying and enumerating sensors, but this commit does not automatically add them to the property tree
* mpm/mpmd: Call init() during UHD session init, not on hwd spawnMartin Braun2017-12-221-1/+2
|
* mpm: Made code Python3-compatibleMartin Braun2017-12-221-0/+1
|
* mpm: Made overlay selection a static method for more flexibilityMartin Braun2017-12-221-6/+13
|
* mpm: Added auto-loading of dboard-specific overlaysMartin Braun2017-12-221-0/+6
|
* mpm: Moved device and dboard init/deinit to their own methodsMartin Braun2017-12-221-2/+28
| | | | Also cleaned up some cruft.
* mpm: Moved some SPI setup code to dboard baseMartin Braun2017-12-221-0/+22
|
* mpm: Enabled mboard EEPROM readoutMartin Braun2017-12-221-6/+11
|
* mpm: Updating ref clock frequency will propagate to dboard, changed slot ↵Martin Braun2017-12-221-0/+6
| | | | indexing to numbers
* mpm: Improved udev identification of SPI device nodesMartin Braun2017-12-221-1/+1
|
* mpm: Moved over to new logging infrastructureMartin Braun2017-12-221-4/+2
| | | | Also currently hardcodes some settings.
* mpm: mpm reorganizationAndrej Rode2017-12-221-5/+5
|
* mpm: CMake cleanup, Python code enhancementsAndrej Rode2017-12-221-0/+1
| | | | | - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
* mpm: python refactoringAndrej Rode2017-12-221-0/+37