From eec7e74d2eccf811f0d25bb40fa514dc47655d67 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 8 Mar 2016 02:15:51 +0100 Subject: Support XML configuration of device models --- xml/CMakeLists.txt | 5 +++++ xml/devices.xsd | 24 ++++++++++++++++++++++++ xml/devices/testdevice.xml | 4 ++++ xml/test/camera.xml | 2 +- xml/test/dma.xml | 2 +- 5 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 xml/devices.xsd create mode 100644 xml/devices/testdevice.xml (limited to 'xml') diff --git a/xml/CMakeLists.txt b/xml/CMakeLists.txt index a7ac800..8848c79 100644 --- a/xml/CMakeLists.txt +++ b/xml/CMakeLists.txt @@ -1,3 +1,8 @@ + +install(FILES devices.xsd + DESTINATION ${PCILIB_DATA_DIR} +) + install(FILES model.xsd references.xsd types.xsd DESTINATION ${PCILIB_MODEL_DIR} ) diff --git a/xml/devices.xsd b/xml/devices.xsd new file mode 100644 index 0000000..27e9b39 --- /dev/null +++ b/xml/devices.xsd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/devices/testdevice.xml b/xml/devices/testdevice.xml new file mode 100644 index 0000000..d7f7d11 --- /dev/null +++ b/xml/devices/testdevice.xml @@ -0,0 +1,4 @@ + + + + diff --git a/xml/test/camera.xml b/xml/test/camera.xml index 6568f17..882963c 100644 --- a/xml/test/camera.xml +++ b/xml/test/camera.xml @@ -1,6 +1,6 @@ - + diff --git a/xml/test/dma.xml b/xml/test/dma.xml index 1d20725..582a7a3 100644 --- a/xml/test/dma.xml +++ b/xml/test/dma.xml @@ -1,4 +1,4 @@ - + -- cgit v1.2.3