summaryrefslogtreecommitdiff
path: root/bsp/lpc408x/rtconfig.h
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2023-10-08 11:01:28 +0800
committerguo <[email protected]>2023-10-08 11:21:00 +0800
commit9e79333512c445a5202dc040176036bca8e7f8ad (patch)
tree8c389c06aeef95e8e7a6f8b10186d21e7cd02867 /bsp/lpc408x/rtconfig.h
parentb6a595ea62080f09156dbe556ae8cad8838d1426 (diff)
[project] update mdk/iar project and config.
Diffstat (limited to 'bsp/lpc408x/rtconfig.h')
-rw-r--r--bsp/lpc408x/rtconfig.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h
index e8313d5ca9..b9151dd17f 100644
--- a/bsp/lpc408x/rtconfig.h
+++ b/bsp/lpc408x/rtconfig.h
@@ -20,8 +20,9 @@
/* kservice optimization */
-#define RT_DEBUG
-#define RT_DEBUG_COLOR
+#define RT_USING_DEBUG
+#define RT_DEBUGING_COLOR
+#define RT_DEBUGING_CONTEXT
/* Inter-Thread communication */
@@ -46,7 +47,7 @@
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
-#define RT_VER_NUM 0x50001
+#define RT_VER_NUM 0x50002
#define RT_USING_HW_ATOMIC
#define RT_USING_CPU_FFS
#define ARCH_ARM
@@ -72,6 +73,7 @@
#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 */
@@ -108,13 +110,21 @@
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN
+#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 */
@@ -217,7 +227,7 @@
/* Arduino libraries */
-/* Projects */
+/* Projects and Demos */
/* Sensors */