coredump: add support for Longan Nano boards

Longan Nano boards pass the test that with calling coredump().

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi 2021-12-10 00:48:48 +09:00 committed by Carles Cufí
parent 7e80c74f95
commit 1421c1728b

View file

@ -10,7 +10,10 @@
void func_3(uint32_t *addr)
{
#if defined(CONFIG_BOARD_M2GL025_MIV) || defined(CONFIG_BOARD_HIFIVE1)
#if defined(CONFIG_BOARD_M2GL025_MIV) || \
defined(CONFIG_BOARD_HIFIVE1) || \
defined(CONFIG_BOARD_LONGAN_NANO) || \
defined(CONFIG_BOARD_LONGAN_NANO_LITE)
ARG_UNUSED(addr);
/* Call coredump() directly so Renode doesn't pause execution */
z_arch_esf_t esf;