diff --git a/plugins/swiot/CMakeLists.txt b/plugins/swiot/CMakeLists.txt index 241a9f8578..fa918f7715 100644 --- a/plugins/swiot/CMakeLists.txt +++ b/plugins/swiot/CMakeLists.txt @@ -109,4 +109,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") configureinstallersettings(${SCOPY_MODULE} ${INSTALLER_DESCRIPTION} TRUE) endif() +file(GLOB EMU_FILES ${CMAKE_SOURCE_DIR}/plugins/swiot/res/emu_xml/*.xml) +foreach(_emu_file ${EMU_FILES}) + file(COPY ${_emu_file} DESTINATION ${CMAKE_BINARY_DIR}/plugins/swiot/res/emu_xml/) +endforeach() + set(SWIOT_TARGET_NAME ${PROJECT_NAME} PARENT_SCOPE) diff --git a/resources/scopy_emu_options_config.json b/resources/scopy_emu_options_config.json index 6160f8c84e..8cbe50138c 100644 --- a/resources/scopy_emu_options_config.json +++ b/resources/scopy_emu_options_config.json @@ -15,6 +15,16 @@ "rx_tx_device":"iio:device0", "rx_tx_bin_path": "/plugins/pqm/res/data.bin" }, + { + "device": "swiot_config", + "xml_path": "/plugins/swiot/res/emu_xml/config.xml", + "uri": "ip:127.0.0.1" + }, + { + "device": "swiot_runtime", + "xml_path": "/plugins/swiot/res/emu_xml/runtime1.xml", + "uri": "ip:127.0.0.1" + }, { "device": "generic", "uri": "ip:127.0.0.1"