diff options
| author | guozhanxin <[email protected]> | 2023-10-08 11:01:28 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2023-10-08 11:21:00 +0800 |
| commit | 9e79333512c445a5202dc040176036bca8e7f8ad (patch) | |
| tree | 8c389c06aeef95e8e7a6f8b10186d21e7cd02867 /bsp/juicevm/rtconfig.h | |
| parent | b6a595ea62080f09156dbe556ae8cad8838d1426 (diff) | |
[project] update mdk/iar project and config.
Diffstat (limited to 'bsp/juicevm/rtconfig.h')
| -rwxr-xr-x | bsp/juicevm/rtconfig.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/bsp/juicevm/rtconfig.h b/bsp/juicevm/rtconfig.h index d6399f0c28..f58a93990f 100755 --- a/bsp/juicevm/rtconfig.h +++ b/bsp/juicevm/rtconfig.h @@ -21,8 +21,9 @@ /* kservice optimization */ #define RT_KPRINTF_USING_LONGLONG -#define RT_DEBUG -#define RT_DEBUG_COLOR +#define RT_USING_DEBUG +#define RT_DEBUGING_COLOR +#define RT_DEBUGING_CONTEXT /* Inter-Thread communication */ @@ -34,7 +35,6 @@ /* Memory Management */ -#define RT_PAGE_MAX_ORDER 11 #define RT_USING_MEMPOOL #define RT_USING_SMALL_MEM #define RT_USING_SMALL_MEM_AS_HEAP @@ -46,7 +46,7 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart0" -#define RT_VER_NUM 0x50000 +#define RT_VER_NUM 0x50002 #define ARCH_CPU_64BIT #define ARCH_RISCV #define ARCH_RISCV64 @@ -70,11 +70,16 @@ #define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 +#define FINSH_USING_OPTION_COMPLETION + +/* DFS: device virtual file system */ + #define RT_USING_DFS #define DFS_USING_POSIX +#define DFS_FD_MAX 16 +#define RT_USING_DFS_V1 #define DFS_FILESYSTEMS_MAX 4 #define DFS_FILESYSTEM_TYPES_MAX 4 -#define DFS_FD_MAX 16 /* Device Drivers */ @@ -91,7 +96,14 @@ /* C/C++ and POSIX layer */ -#define RT_LIBC_DEFAULT_TIMEZONE 8 +/* ISO-ANSI C layer */ + +/* Timezone and Daylight Saving Time */ + +#define RT_LIBC_USING_LIGHT_TZ_DST +#define RT_LIBC_TZ_DEFAULT_HOUR 8 +#define RT_LIBC_TZ_DEFAULT_MIN 0 +#define RT_LIBC_TZ_DEFAULT_SEC 0 /* POSIX (Portable Operating System Interface) layer */ @@ -231,7 +243,7 @@ /* Arduino libraries */ -/* Projects */ +/* Projects and Demos */ /* Sensors */ |
