添加rtthread相关代码

This commit is contained in:
2025-06-13 14:38:32 +08:00
parent caf2d9f0c5
commit 160f9f8201
1809 changed files with 648100 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
#include "stddef.h"
#include "head.h"
#include "rtthread.h"
void handle_trap(size_t mcause, size_t mepc, size_t sp) {
my_printf("interupt mcause=%08x, mepc=%08x, sp=%08x\n", mcause, mepc, sp);
}
void rt_hw_board_init(void) {
}
// rt_device_t rt_device_find(const char* name) {
// return 0;
// }