Commit 431c3403 authored by Dong Wang's avatar Dong Wang Committed by Mahesh Mahadevan
Browse files

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: default avatarDong Wang <dong.d.wang@intel.com>
parent aeaddd70
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.