Skip to content

Commit 23324fc

Browse files
golowanowMaureenHelm
authored andcommitted
boards: qemu_xtensa: coredump: Enable coredump
Enable coredump on qemu_xtensa and qemu_xtensa_mmu. Signed-off-by: Dmitrii Golovanov <[email protected]>
1 parent 5ed8bb7 commit 23324fc

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

boards/xtensa/qemu_xtensa/Kconfig.board

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ config BOARD_QEMU_XTENSA
77
bool "Xtensa emulation using QEMU"
88
depends on SOC_XTENSA_DC233C
99
select QEMU_TARGET
10+
select ARCH_SUPPORTS_COREDUMP
1011

1112
config BOARD_QEMU_XTENSA_MMU
1213
bool "Xtensa emulation using QEMU with MMU"
1314
depends on SOC_XTENSA_DC233C
1415
select QEMU_TARGET
16+
select ARCH_SUPPORTS_COREDUMP
1517
select XTENSA_MMU

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ void func_3(uint32_t *addr)
3131
defined(CONFIG_BOARD_HIFIVE1) || \
3232
defined(CONFIG_BOARD_LONGAN_NANO) || \
3333
defined(CONFIG_BOARD_LONGAN_NANO_LITE) || \
34+
defined(CONFIG_BOARD_QEMU_XTENSA) || \
3435
defined(CONFIG_SOC_FAMILY_INTEL_ADSP)
3536
ARG_UNUSED(addr);
3637
/* Call k_panic() directly so Renode doesn't pause execution.

tests/subsys/debug/coredump/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ tests:
3131
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
3232
arch_allow:
3333
- xtensa
34+
integration_platforms:
35+
- qemu_xtensa
3436
harness: console
3537
harness_config:
3638
type: multi_line

0 commit comments

Comments
 (0)