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/microchip/same70/rtconfig.h | |
| parent | b6a595ea62080f09156dbe556ae8cad8838d1426 (diff) | |
[project] update mdk/iar project and config.
Diffstat (limited to 'bsp/microchip/same70/rtconfig.h')
| -rw-r--r-- | bsp/microchip/same70/rtconfig.h | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/bsp/microchip/same70/rtconfig.h b/bsp/microchip/same70/rtconfig.h index e3606f9991..be78fb6656 100644 --- a/bsp/microchip/same70/rtconfig.h +++ b/bsp/microchip/same70/rtconfig.h @@ -23,7 +23,9 @@ /* kservice optimization */ -#define RT_DEBUG +#define RT_USING_DEBUG +#define RT_DEBUGING_COLOR +#define RT_DEBUGING_CONTEXT /* Inter-Thread communication */ @@ -35,7 +37,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 @@ -47,7 +48,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 RT_USING_CACHE #define RT_USING_HW_ATOMIC #define RT_USING_CPU_FFS @@ -74,12 +75,17 @@ #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_USING_WORKDIR +#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 #define RT_USING_DFS_DEVFS /* Device Drivers */ @@ -94,13 +100,21 @@ #define RT_SERIAL_USING_DMA #define RT_SERIAL_RB_BUFSZ 64 #define RT_USING_I2C +#define RT_USING_KTIME /* Using USB */ /* 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 */ @@ -184,6 +198,7 @@ /* Utilities */ +#define RT_USING_RESOURCE_ID /* RT-Thread Utestcases */ @@ -270,7 +285,7 @@ /* Arduino libraries */ -/* Projects */ +/* Projects and Demos */ /* Sensors */ |
