aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* mpm: install cpld update scripts in runtime dirMichael Auchter2021-06-161-0/+10
|
* uhd: Add support for the USRP X410Lars Amsel2021-06-101-0/+7
| | | | | | | | | | | | | | | | Co-authored-by: Lars Amsel <lars.amsel@ni.com> Co-authored-by: Michael Auchter <michael.auchter@ni.com> Co-authored-by: Martin Braun <martin.braun@ettus.com> Co-authored-by: Paul Butler <paul.butler@ni.com> Co-authored-by: Cristina Fuentes <cristina.fuentes-curiel@ni.com> Co-authored-by: Humberto Jimenez <humberto.jimenez@ni.com> Co-authored-by: Virendra Kakade <virendra.kakade@ni.com> Co-authored-by: Lane Kolbly <lane.kolbly@ni.com> Co-authored-by: Max Köhler <max.koehler@ni.com> Co-authored-by: Andrew Lynch <andrew.lynch@ni.com> Co-authored-by: Grant Meyerhoff <grant.meyerhoff@ni.com> Co-authored-by: Ciro Nishiguchi <ciro.nishiguchi@ni.com> Co-authored-by: Thomas Vogel <thomas.vogel@ni.com>
* sim: Check for unit test prereqs and disable if unsatisfiedAaron Rossetto2020-10-281-1/+45
|
* mpm: Add dependency on pyusrp_periphs to MPMLane Kolbly2020-10-151-1/+1
| | | | | This change makes it so that changing the USRP periphs will cause a `make install` to reinstall the libpyusrp_periphs.so library.
* sim: Lay Groundwork for SimulatorSamuel O'Brien2020-10-071-9/+14
| | | | | | | | | | | | | | | At this point, only about half of the mpm methods work on the simulator over the mpm shell, and it hasn't been tested with uhd at all. If you want to give it a try, first install all of the python dependencies of mpm (The simulator doesn't require libusrp or any of the C++ deps). In addition, running mpm on a desktop machine requires the python lib netifaces. Next, make an /mpm/build directory and open it. Run `cmake .. -DMPM_DEVICE=sim`, then `make`. Finally, run `python3 python/usrp_hwd.py`. You should be able to open another terminal and run `mpm/tools/mpm_shell.py localhost` to connect to the mpm server. Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
* mpm: cmake: removing unnecessary destination prefixPatrick Sisterhen2019-07-171-1/+1
| | | | | Removing unnecessary CMAKE_INSTALL_PREFIX to destination for usrp mpm python dir
* e310/e320: Move E310 to MPM architecture and refactorSugandha Gupta2019-05-011-0/+2
| | | | | | | | | | | | - Turns the E310 into an MPM device (like N3xx, E320) - Factor out common code between E320 and E310, maximize sharing between the two devices - Remove all pre-MPM E310 code that is no longer needed - Modify MPM to remove all existing overlays before applying new ones (this is necessary to enable idle image mode for E310) Co-authored-by: Virendra Kakade <virendra.kakade@ni.com> Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* mpm: python: Move from Boost.Python to PyBind11Martin Braun2019-04-021-1/+2
|
* cmake: Add unit testing framework to MPMToni Jones2019-03-261-0/+2
| | | | | | | Add unit testing framework to MPM which can be run by calling "make test". The testing is done using the built in unittest Python module. Tests can be run on a dev machine or on the USRP itself when compiling natively.
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-25/+25
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* mpm: Add usrp_update_fsMartin Braun2018-10-091-0/+1
| | | | | | | This provides a new utility for MPM devices (usrp_update_fs.py), which goes through all the necessary steps to update a filesystem. Will trigger a mender update, but the tool is not specific to Mender and can be changed to use other methods in the future.
* mpm: initial commit of E320 codeBrent Stapleton2018-07-181-3/+17
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* mpm: add device-specific Boost.Python bindingsBrent Stapleton2018-04-181-1/+4
| | | | | | Separating Boost.Python bindings into device-specific files. N3XX code now lives in n3xx/pyusrp_periphs. Only one src file should be added for pyusrp_periphs.so by CMake.
* mpm: Use configurable components for build systemAlex Williams2018-04-181-0/+1
| | | | | For a minimal build, default to off for components unless the MPM_DEVICE or the user requests it specifically.
* mpm: Harmonize all license headerMartin Braun2017-12-221-13/+2
| | | | Now uses SPDX headers everywhere.
* n3xx bist: Added SFP loopback testsMartin Braun2017-12-221-1/+2
|
* mpm/n310: Added Aurora BIST codeMartin Braun2017-12-221-2/+4
|
* mpm: Cleaned up CMake, made Python version an optionMartin Braun2017-12-221-41/+0
|
* mpm: Made CMake more future-proof w.r.t. newer Boost and PythonMartin Braun2017-12-221-1/+1
|
* mpm: mpm reorganizationAndrej Rode2017-12-221-5/+1
|
* mpm: CMake cleanup, Python code enhancementsAndrej Rode2017-12-221-3/+10
| | | | | - Send user defined data in ping - Improve rpc_shell, add mpm_debug.py, fix tracebacks in multiprocessing
* mpm: move public includes into include/Martin Braun2017-12-221-0/+38
|
* mpm: python refactoringAndrej Rode2017-12-221-9/+10
|
* Initial commit for N3xx development.Martin Braun2017-12-221-0/+56
- 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>