diff options
Diffstat (limited to 'bsp/microchip/saml10/rtconfig.h')
| -rw-r--r-- | bsp/microchip/saml10/rtconfig.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/bsp/microchip/saml10/rtconfig.h b/bsp/microchip/saml10/rtconfig.h index d4d849614a..7d2cba92ce 100644 --- a/bsp/microchip/saml10/rtconfig.h +++ b/bsp/microchip/saml10/rtconfig.h @@ -20,7 +20,9 @@ /* kservice optimization */ -#define RT_DEBUG +#define RT_USING_DEBUG +#define RT_DEBUGING_COLOR +#define RT_DEBUGING_CONTEXT /* Inter-Thread communication */ @@ -32,7 +34,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 @@ -44,7 +45,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_ARM #define ARCH_ARM_CORTEX_M @@ -55,6 +56,9 @@ #define RT_MAIN_THREAD_STACK_SIZE 2048 #define RT_MAIN_THREAD_PRIORITY 10 +/* DFS: device virtual file system */ + + /* Device Drivers */ #define RT_USING_DEVICE_IPC @@ -73,7 +77,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 */ @@ -175,7 +186,7 @@ /* Arduino libraries */ -/* Projects */ +/* Projects and Demos */ /* Sensors */ |
