完成rtthread适配

This commit is contained in:
2025-06-13 16:22:30 +08:00
parent 160f9f8201
commit 7c9d6440b6
7 changed files with 159 additions and 31 deletions

View File

@@ -75,7 +75,7 @@ static void run(riscv_t *riscv, const struct device_t* device) {
static void *timer_thread(void *arg) {
while (1) {
milliseconds_sleep(1000);
milliseconds_sleep(1);
pthread_mutex_lock(&g_self.lock);
g_self.ins_count++;
pthread_mutex_unlock(&g_self.lock);