summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2019-08-25 12:13:23 +0800
committerguozhanxin <[email protected]>2019-08-25 12:13:56 +0800
commitde2e82bc46a848d9b011c52865119d7646e4484a (patch)
tree53686ea16f629f9cb481ec8f0f3c2588d4dc2ec9 /bsp
parent47ced5be442e3df6803017cf2f8de1be4b9695ae (diff)
* [bsp][gd32vf103v-eval]删除无用代码。
Diffstat (limited to 'bsp')
-rw-r--r--bsp/gd32vf103v-eval/libraries/n22/env_Eclipse/handlers.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bsp/gd32vf103v-eval/libraries/n22/env_Eclipse/handlers.c b/bsp/gd32vf103v-eval/libraries/n22/env_Eclipse/handlers.c
index a99b1e0182..ed2ed78c98 100644
--- a/bsp/gd32vf103v-eval/libraries/n22/env_Eclipse/handlers.c
+++ b/bsp/gd32vf103v-eval/libraries/n22/env_Eclipse/handlers.c
@@ -15,9 +15,6 @@ __attribute__((weak)) uintptr_t handle_trap(uintptr_t mcause, uintptr_t sp) {
handle_nmi();
}
write(1, "trap\n", 5);
- // printf("In trap handler, the mcause is %d\n", mcause);
- // printf("In trap handler, the mepc is 0x%x\n", read_csr(mepc));
- // printf("In trap handler, the mtval is 0x%x\n", read_csr(mbadaddr));
_exit(mcause);
return 0;
}