Skip to content

Commit 431c340

Browse files
kwd-doodlingmmahadevan108
authored andcommitted
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 <[email protected]>
1 parent aeaddd7 commit 431c340

File tree

1 file changed

+1
-0
lines changed
  • tests/subsys/debug/coredump/src

1 file changed

+1
-0
lines changed

tests/subsys/debug/coredump/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ __no_optimization void func_3(uint32_t *addr)
3939
defined(CONFIG_BOARD_LONGAN_NANO) || \
4040
defined(CONFIG_BOARD_QEMU_XTENSA) || \
4141
defined(CONFIG_BOARD_RISCV32_VIRTUAL) || \
42+
defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \
4243
defined(CONFIG_SOC_FAMILY_INTEL_ADSP)
4344
ARG_UNUSED(addr);
4445
/* Call k_panic() directly so Renode doesn't pause execution.

0 commit comments

Comments
 (0)