Skip to content

Commit 48252aa

Browse files
Copilotsofthack007
andcommitted
Fix run-simulator.sh to check for firmware-combined.bin
Fixed error where run-simulator.sh was checking for firmware.bin instead of the combined firmware image: **Problem:** After switching to combined firmware approach, run-simulator.sh still checked for "firmware.bin" which no longer exists. The prepare-firmware.sh script now creates "firmware-combined.bin" instead. **Fix:** - Updated firmware existence check in run-simulator.sh - Changed from "firmware.bin" to "firmware-combined.bin" - Error message updated to reflect the correct filename The simulator will now correctly detect the combined firmware image before starting. Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
1 parent 4ad90ba commit 48252aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/wokwi/run-simulator.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ WOKWI_TIMEOUT=${WOKWI_TIMEOUT:-300}
99

1010
cd "$SCRIPT_DIR"
1111

12-
# Check if firmware exists
13-
if [ ! -f "firmware.bin" ]; then
14-
echo "Error: firmware.bin not found in $SCRIPT_DIR"
12+
# Check if combined firmware exists
13+
if [ ! -f "firmware-combined.bin" ]; then
14+
echo "Error: firmware-combined.bin not found in $SCRIPT_DIR"
1515
echo "Please run prepare-firmware.sh first"
1616
exit 1
1717
fi

0 commit comments

Comments
 (0)