Skip to content

Commit

Permalink
fix: update xrun command to remove --xscope-realtime flag and bump to…
Browse files Browse the repository at this point in the history
…ols version
  • Loading branch information
xalbertoisorna committed Nov 26, 2024
1 parent 3d5384b commit b7d64b4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pipeline {
parameters {
string(
name: 'TOOLS_VERSION',
defaultValue: '15.2.1',
defaultValue: '15.3.0',
description: 'The XTC tools version'
)
string(
Expand Down
2 changes: 1 addition & 1 deletion doc/programming_guide/asr/deploying/linux_macos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ From the build folder run:

.. code-block:: console
xrun --xscope-realtime --xscope-port localhost:12345 example_asr.xe
xrun --xscope --xscope-port localhost:12345 example_asr.xe
In a second console, run the following command in the ``examples/speech_recognition`` folder to run the host server:

Expand Down
2 changes: 1 addition & 1 deletion doc/programming_guide/asr/deploying/native_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ From the build folder run:

.. code-block:: console
xrun --xscope-realtime --xscope-port localhost:12345 example_asr.xe
xrun --xscope --xscope-port localhost:12345 example_asr.xe
In a second console, run the following command in the ``examples/speech_recognition`` folder to run the host server:

Expand Down
10 changes: 5 additions & 5 deletions examples/mic_aggregator/mic_aggregator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
#**********************

set(APP_SRC_PATH ${CMAKE_CURRENT_LIST_DIR}/src)
set(MIC_ARRAY_DEMO_PATH ${CMAKE_CURRENT_LIST_DIR}/../../modules/io/modules/mic_array/demos/)
set(MIC_ARRAY_DEMO_PATH ${CMAKE_CURRENT_LIST_DIR}/../../modules/io/modules/mic_array/examples/)
set(PLATFORM_FILE ${APP_SRC_PATH}/XCORE-AI-EXPLORER.xn)


#We make a copy of the par decimator files to avoid include clashes from the demo
set(DEMO_PAR_DECIMATOR_FILES ${MIC_ARRAY_DEMO_PATH}/demo_par_decimator/src/decimator_subtask.c
${MIC_ARRAY_DEMO_PATH}/demo_par_decimator/src/decimator_subtask.h
${MIC_ARRAY_DEMO_PATH}/demo_par_decimator/src/app_decimator.hpp
${MIC_ARRAY_DEMO_PATH}/demo_par_decimator/src/app_mic_array.hpp
set(DEMO_PAR_DECIMATOR_FILES ${MIC_ARRAY_DEMO_PATH}/app_par_decimator/src/decimator_subtask.c
${MIC_ARRAY_DEMO_PATH}/app_par_decimator/src/decimator_subtask.h
${MIC_ARRAY_DEMO_PATH}/app_par_decimator/src/app_decimator.hpp
${MIC_ARRAY_DEMO_PATH}/app_par_decimator/src/app_mic_array.hpp
)
file(COPY ${DEMO_PAR_DECIMATOR_FILES} DESTINATION ${APP_SRC_PATH}/par_decimator)

Expand Down
2 changes: 1 addition & 1 deletion examples/speech_recognition/speech_recognition.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ add_custom_target(flash_app_example_asr
# Create run and debug targets
#**********************
add_custom_target(run_example_asr
COMMAND xrun --xscope-realtime --xscope-port ${XSCOPE_PORT} example_asr.xe
COMMAND xrun --xscope --xscope-port ${XSCOPE_PORT} example_asr.xe
DEPENDS example_asr
COMMENT
"Run application"
Expand Down
2 changes: 1 addition & 1 deletion test/asr/asr.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ create_flash_app_target(
# Create run target
#**********************
add_custom_target(run_${TEST_ASR_NAME}
COMMAND xrun --xscope-realtime --xscope-port localhost:12345 ${TEST_ASR_NAME}.xe
COMMAND xrun --xscope --xscope-port localhost:12345 ${TEST_ASR_NAME}.xe
DEPENDS ${TEST_ASR_NAME}
COMMENT
"Run application"
Expand Down
4 changes: 2 additions & 2 deletions test/asr/check_asr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ for ((j = 0; j < ${#INPUT_ARRAY[@]}; j += 1)); do
rm ${TEMP_WAV}

# call xrun (in background)
(xrun ${ADAPTER_ID} --xscope-realtime --xscope-port localhost:12345 ${PIPELINE_FIRMWARE}) &
(xrun ${ADAPTER_ID} --xscope --xscope-port localhost:12345 ${PIPELINE_FIRMWARE}) &

# wait for app to load
sleep 15
Expand Down Expand Up @@ -157,7 +157,7 @@ for ((j = 0; j < ${#INPUT_ARRAY[@]}; j += 1)); do
cp ${PROCESSED_WAV} ${TEMP_XSCOPE_FILEIO_INPUT_WAV}

# call xrun (in background)
(xrun ${ADAPTER_ID} --xscope-realtime --xscope-port localhost:12345 ${ASR_FIRMWARE}) &
(xrun ${ADAPTER_ID} --xscope --xscope-port localhost:12345 ${ASR_FIRMWARE}) &

# wait for app to load
sleep 15
Expand Down
2 changes: 1 addition & 1 deletion test/pipeline/check_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ for ((j = 0; j < ${#INPUT_ARRAY[@]}; j += 1)); do
sox ${INPUT_WAV} --no-dither -r 16000 -b 32 ${XSCOPE_FILEIO_INPUT_WAV} ${REMIX_PATTERN}

# call xrun (in background)
xrun ${ADAPTER_ID} --xscope-realtime --xscope-port localhost:12345 ${FIRMWARE} &
xrun ${ADAPTER_ID} --xscope --xscope-port localhost:12345 ${FIRMWARE} &

# wait for app to load
sleep 10
Expand Down
2 changes: 1 addition & 1 deletion test/pipeline/pipeline.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ merge_binaries(${TEST_PIPELINE_NAME} tile0_${TEST_PIPELINE_NAME} tile1_${TEST_PI
# Create run and debug targets
#**********************
add_custom_target(run_${TEST_PIPELINE_NAME}
COMMAND xrun --xscope-realtime --xscope-port localhost:12345 ${TEST_PIPELINE_NAME}.xe
COMMAND xrun --xscope --xscope-port localhost:12345 ${TEST_PIPELINE_NAME}.xe
DEPENDS ${TEST_PIPELINE_NAME}
COMMENT
"Run application"
Expand Down

0 comments on commit b7d64b4

Please sign in to comment.