aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/CMakeLists.txt
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-09-09 16:29:32 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:33 -0800
commit025ffdce3475585b3f65e955af32afbab9181e13 (patch)
treefaea7b200ec2fa09d61224f21dd8aa7302b011b4 /mpm/python/usrp_mpm/periph_manager/CMakeLists.txt
parentd76cca76dd7699ed224b38cd30146c25ad2ac1f8 (diff)
downloaduhd-025ffdce3475585b3f65e955af32afbab9181e13.tar.gz
uhd-025ffdce3475585b3f65e955af32afbab9181e13.tar.bz2
uhd-025ffdce3475585b3f65e955af32afbab9181e13.zip
mpm: Move common mboard regs code to common location
This assumes an existence of mboard_regs_control in PeriphManagerBase and implements most TK controls there. All the *_periphs.py files can now use a common class for registers, including the TK access, but also git hash, build date, and device ID access. This also fixes two issues: - set_timekeeper_time() and set_tick_period() had a bug that would incorrectly calculate the upper 32 bits of their respective registers. - N3xx had a bug that would swap around set time now and next PPS. This got auto-fixed because the common code never had this bug.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/CMakeLists.txt')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/CMakeLists.txt b/mpm/python/usrp_mpm/periph_manager/CMakeLists.txt
index 987bc184b..4f8520c12 100644
--- a/mpm/python/usrp_mpm/periph_manager/CMakeLists.txt
+++ b/mpm/python/usrp_mpm/periph_manager/CMakeLists.txt
@@ -11,6 +11,7 @@ set(USRP_MPM_FILES ${USRP_MPM_FILES})
set(USRP_MPM_PERIPHMGR_FILES
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in
${CMAKE_CURRENT_SOURCE_DIR}/base.py
+ ${CMAKE_CURRENT_SOURCE_DIR}/common.py
${CMAKE_CURRENT_SOURCE_DIR}/n3xx.py
${CMAKE_CURRENT_SOURCE_DIR}/n3xx_periphs.py
${CMAKE_CURRENT_SOURCE_DIR}/e320.py