pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef __CSKY_SLEEP_H_
#define __CSKY_SLEEP_H_
#include "k_config.h"
#ifdef __cplusplus
extern "C" {
#endif
#define OS_MS_PERIOD_TICK (1000/OS_SYSTICK_HZ)
#define os_jiffies_to_msecs(j) ((j)*OS_MS_PERIOD_TICK)
#define os_msecs_to_jiffies(m) ((m)/OS_MS_PERIOD_TICK)
#ifdef __cplusplus
}
#endif
#endif