Skip to content

Commit

Permalink
Allow to pass additional arguments to Renode
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-holenko committed Nov 7, 2019
1 parent d57b5e9 commit 26df7eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/build-renode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 26df7eb

Please sign in to comment.