Skip to content

Commit

Permalink
emu: added options for swiot
Browse files Browse the repository at this point in the history
Signed-off-by: IonutMuthi <[email protected]>
  • Loading branch information
IonutMuthi committed Aug 13, 2024
1 parent 86fbd2e commit 541f4cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/swiot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
10 changes: 10 additions & 0 deletions resources/scopy_emu_options_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 541f4cf

Please sign in to comment.