Skip to content

Commit 0980992

Browse files
Daniel Newtonjgriffiths
authored andcommitted
qemu: disable watchdog timers
The `idf.py qemu` command also disables watchdog timers as they can be triggered due to non realtime emulation
1 parent 80b50c1 commit 0980992

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎main/qemu/qemu_ci_flash.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ qemu-system-xtensa -nographic \
2828
-nic user,model=open_eth,id=lo0,hostfwd=tcp:0.0.0.0:30121-:30121 \
2929
-drive file=/qemu_efuse.bin,if=none,format=raw,id=efuse \
3030
-global driver=nvram.esp32.efuse,property=drive,value=efuse \
31+
-global driver=timer.esp32.timg,property=wdt_disable,value=true \
3132
-serial file:serial_output.log &
3233

3334
sleep 4

‎main/qemu/qemu_run.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ qemu-system-xtensa $EXTRA_ARGS -nographic \
5353
-nic user,model=open_eth,id=lo0,hostfwd=tcp:0.0.0.0:30122-:30122,hostfwd=tcp:0.0.0.0:30121-:30121 \
5454
-drive file=${EFUSE_IMAGE},if=none,format=raw,id=efuse \
5555
-global driver=nvram.esp32.efuse,property=drive,value=efuse \
56+
-global driver=timer.esp32.timg,property=wdt_disable,value=true \
5657
-serial pty $BG
5758
#-serial mon:stdio
5859

0 commit comments

Comments
 (0)