summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-07-03 11:13:42 +1000
committerDamien George <damien@micropython.org>2025-07-08 09:29:30 +1000
commit91718657826139017f5cdd54efe0ab9c16f7e49c (patch)
treed81c40fd6ab1d4041f75accb9445e8eff71d97d3
parent49dbe1e272f486077bd16a6e68ece6d66a2bea7f (diff)
zephyr/boards: Disable WDT on qemu boards and networking for cortex_m3.
This gets qemu_x86 and qemu_cortex_m3 building with `prj.conf` settings. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/zephyr/boards/qemu_cortex_m3.conf9
-rw-r--r--ports/zephyr/boards/qemu_x86.conf4
2 files changed, 10 insertions, 3 deletions
diff --git a/ports/zephyr/boards/qemu_cortex_m3.conf b/ports/zephyr/boards/qemu_cortex_m3.conf
index dac0c358d..50d0c4d92 100644
--- a/ports/zephyr/boards/qemu_cortex_m3.conf
+++ b/ports/zephyr/boards/qemu_cortex_m3.conf
@@ -2,6 +2,9 @@
# disable it
CONFIG_CONSOLE_SUBSYS=n
-# Networking drivers
-# SLIP driver for QEMU
-CONFIG_NET_SLIP_TAP=y
+# This QEMU target only has 256k ROM and 64k RAM, so disable networking
+CONFIG_NETWORKING=n
+
+# QEMU doesn't have a watchdog, so disable it
+CONFIG_WATCHDOG=n
+CONFIG_WDT_DISABLE_AT_BOOT=n
diff --git a/ports/zephyr/boards/qemu_x86.conf b/ports/zephyr/boards/qemu_x86.conf
index dac0c358d..35461025a 100644
--- a/ports/zephyr/boards/qemu_x86.conf
+++ b/ports/zephyr/boards/qemu_x86.conf
@@ -5,3 +5,7 @@ CONFIG_CONSOLE_SUBSYS=n
# Networking drivers
# SLIP driver for QEMU
CONFIG_NET_SLIP_TAP=y
+
+# QEMU doesn't have a watchdog, so disable it
+CONFIG_WATCHDOG=n
+CONFIG_WDT_DISABLE_AT_BOOT=n