From 26df7ebca8cd173c31d7ff2ed6e2386344785736 Mon Sep 17 00:00:00 2001 From: Mateusz Holenko Date: Fri, 18 Oct 2019 15:37:56 +0200 Subject: [PATCH] Allow to pass additional arguments to Renode --- scripts/build-renode.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/build-renode.sh b/scripts/build-renode.sh index 3dddb2234..40d5b929e 100755 --- a/scripts/build-renode.sh +++ b/scripts/build-renode.sh @@ -98,5 +98,11 @@ python $TOP_DIR/third_party/litex-renode/generate-renode-scripts.py $LITEX_CONFI --firmware-binary "$TARGET_BUILD_DIR/software/$FIRMWARE/firmware.bin" \ --configure-network ${TAP_INTERFACE:-""} -$RENODE_BIN "$RENODE_RESC" +# 1. include the generated script +# 2. set additional parameters +# 3. start the simulation +$RENODE_BIN \ + -e "i @$RENODE_RESC" \ + "$@" \ + -e "s"