From e23eae9d7e29fae1081bb586558361f9b3842352 Mon Sep 17 00:00:00 2001 From: Dong Wang Date: Wed, 23 Oct 2024 09:30:05 +0800 Subject: [PATCH] tests: debug/coredump: Change to call k_panic() for ISH SoCs ISH SoCs have zero-address memory mapped to I2C0 controller. Coredump cannot be triggered by zero-address access. Signed-off-by: Dong Wang --- tests/subsys/debug/coredump/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/subsys/debug/coredump/src/main.c b/tests/subsys/debug/coredump/src/main.c index e1c1aead92ca87..0deda7e032ff68 100644 --- a/tests/subsys/debug/coredump/src/main.c +++ b/tests/subsys/debug/coredump/src/main.c @@ -39,6 +39,7 @@ __no_optimization void func_3(uint32_t *addr) defined(CONFIG_BOARD_LONGAN_NANO) || \ defined(CONFIG_BOARD_QEMU_XTENSA) || \ defined(CONFIG_BOARD_RISCV32_VIRTUAL) || \ + defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \ defined(CONFIG_SOC_FAMILY_INTEL_ADSP) ARG_UNUSED(addr); /* Call k_panic() directly so Renode doesn't pause execution.