Add TU_BREAKPOINT for mips architecture

_mips is provided by xc32-gcc
This commit is contained in:
Jerzy Kasenberg 2022-05-01 14:04:36 +02:00
parent 6ec5174d8b
commit d51743a21c
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@
#elif defined(__riscv)
#define TU_BREAKPOINT() do { __asm("ebreak\n"); } while(0)
#elif defined(_mips)
#define TU_BREAKPOINT() do { __asm("sdbbp 0"); } while (0)
#else
#define TU_BREAKPOINT() do {} while (0)
#endif