kopia lustrzana https://github.com/espressif/esp-idf
panic: fix illegal instruction test to be compatible with RISC-V
rodzic
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)
|
||||
|
|
Ładowanie…
Reference in New Issue