aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_hwd.py
Commit message (Collapse)AuthorAgeFilesLines
* 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: Use prefs API for periph managerMartin Braun2018-02-081-9/+9
| | | | | | | | - Allow to set default args via config file - Read them from prefs API - override-db-pids uses the same APIs now ([overrides] section in config file, prefs API, and same dictionary as --default-args when used on the command line
* mpm: Enable systemd watchdog and update it from MPMMartin Braun2018-01-151-2/+7
| | | | | | | | - Updated systemd service file - Added health status flag in shared data object - Added thread in RPC process to update watchdog Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: usrp_hwd: Fix logging issue on default_args failureMartin Braun2018-01-111-3/+7
| | | | | | Failure to provide valid default args no longer results in an unexpected error. Also fixed minor formatting issues (PyLint).
* mpm: Spawn periph manager inside the RPC processMartin Braun2018-01-101-39/+48
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: Harmonize all license headerMartin Braun2017-12-221-13/+2
| | | | Now uses SPDX headers everywhere.
* mpm: Return correct value for usrp_hwd.py --init-onlyMartin Braun2017-12-221-1/+1
| | | | Before, it would always return success even if that failed.
* mpm: Reset periph manager on updateBrent Stapleton2017-12-221-2/+3
| | | | | | | | | | Upon updating certain components (the FPGA, for example), the Peripheral Manager is restarted, and the overlay is reapplied. In order to facilitate this, the RPC server intercepts and handles the update_component function. Tested on the RJ45 ethernet connection. It probably won't work as well if the SFP connection goes down when the overlay is removed.
* mpm: Let usrp_hwd.py --init-only show init status and durationMartin Braun2017-12-221-1/+10
| | | | Reviewed-By: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: discovery returns 'product' informationBrent Stapleton2017-12-221-1/+2
| | | | | - Added 'product' information to N310 - MPM discovery checks for 'product' field
* mpm: Add configurable log levelsMartin Braun2017-12-221-2/+17
|
* mpm: Remove leading _ from _get_device_info()Martin Braun2017-12-221-2/+2
| | | | Use @norpc instead. This fixes some linting issues.
* mpm: Catch multiprocess exception on exitMartin Braun2017-12-221-1/+6
|
* mpm: Made Python3 the default interpreter for all N3xx-related executablesMartin Braun2017-12-221-1/+1
|
* mpm: discovery can now be bound to subnetMartin Braun2017-12-221-1/+8
|
* mpm/mpmd: Call init() during UHD session init, not on hwd spawnMartin Braun2017-12-221-2/+1
|
* mpm: Moved device and dboard init/deinit to their own methodsMartin Braun2017-12-221-0/+18
| | | | Also cleaned up some cruft.
* mpm: Added command line args to usrp_hwd.pyMartin Braun2017-12-221-1/+40
|
* mpm: Fixed python import in discovery moduleMartin Braun2017-12-221-2/+2
|
* mpm: Fixed logging in exit caseMartin Braun2017-12-221-2/+2
|
* mpm: Moved over to new logging infrastructureMartin Braun2017-12-221-25/+17
| | | | Also currently hardcodes some settings.
* mpm: mpm reorganizationAndrej Rode2017-12-221-10/+23
|
* mpm: CMake cleanup, Python code enhancementsAndrej Rode2017-12-221-19/+38
| | | | | - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
* Initial commit for N3xx development.Martin Braun2017-12-221-0/+57
- Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>