From 91718657826139017f5cdd54efe0ab9c16f7e49c Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 3 Jul 2025 11:13:42 +1000 Subject: [PATCH] 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 --- ports/zephyr/boards/qemu_cortex_m3.conf | 9 ++++++--- ports/zephyr/boards/qemu_x86.conf | 4 ++++ 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