mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
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.
23 lines
891 B
CMake
23 lines
891 B
CMake
#
|
|
# Copyright 2017-2018 Ettus Research, a National Instruments Company
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
|
|
########################################################################
|
|
# This file included, use CMake directory variables
|
|
########################################################################
|
|
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
|
|
${CMAKE_CURRENT_SOURCE_DIR}/e320_periphs.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/e31x.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/e31x_periphs.py
|
|
)
|
|
list(APPEND USRP_MPM_FILES ${USRP_MPM_PERIPHMGR_FILES})
|
|
set(USRP_MPM_FILES ${USRP_MPM_FILES} PARENT_SCOPE)
|