From 388bc5229f01a042505dc30aacece88739fdeffc Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Thu, 11 Oct 2018 16:37:44 -0700 Subject: 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`. --- host/python/types.py | 1 + 1 file changed, 1 insertion(+) (limited to 'host/python') 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 -- cgit v1.2.3