Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixes

pic32 sanity fixes
This commit is contained in:
Ha Thach
2022-05-24 20:42:06 +07:00
committed by GitHub
2 changed files with 8 additions and 1 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