mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
panic: fix illegal instruction test to be compatible with RISC-V
This commit is contained in:
committed by
Jakob Hasse
parent
8dcdca8d76
commit
9827adaa09
@@ -112,7 +112,11 @@ static void test_stack_overflow(void)
|
||||
|
||||
static void test_illegal_instruction(void)
|
||||
{
|
||||
#if __XTENSA__
|
||||
__asm__ __volatile__("ill");
|
||||
#elif __riscv
|
||||
__asm__ __volatile__("unimp");
|
||||
#endif
|
||||
}
|
||||
|
||||
static void test_instr_fetch_prohibited(void)
|
||||
|
Reference in New Issue
Block a user