aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-10-11 16:37:44 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-11-14 18:01:51 -0800
commit388bc5229f01a042505dc30aacece88739fdeffc (patch)
treef16448a4ea8051c00e024a3713b0ef228e2cdbf1 /host/python
parentd901b1e70801bae4974b2403b9762be368774e9b (diff)
downloaduhd-388bc5229f01a042505dc30aacece88739fdeffc.tar.gz
uhd-388bc5229f01a042505dc30aacece88739fdeffc.tar.bz2
uhd-388bc5229f01a042505dc30aacece88739fdeffc.zip
python: adding device_addr_t to Python API
Add support for device_addr_t to the Python API. Most functions are exposed normally. The main exception is the constructor from a map of strings, which is replaced by a factory function called `make_device_addr`.
Diffstat (limited to 'host/python')
-rw-r--r--host/python/types.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/python/types.py b/host/python/types.py
index bcf6e1df2..6b4ceefce 100644
--- a/host/python/types.py
+++ b/host/python/types.py
@@ -12,6 +12,7 @@ from . import libpyuhd as lib
StreamMode = lib.types.stream_mode
StreamCMD = lib.types.stream_cmd
+DeviceAddr = lib.types.device_addr
TimeSpec = lib.types.time_spec
SPIEdge = lib.types.spi_edge
SPIConfig = lib.types.spi_config