mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Add TU_BREAKPOINT for mips architecture
_mips is provided by xc32-gcc
This commit is contained in:
parent
6ec5174d8b
commit
d51743a21c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user