summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/rtconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/raspberry-pico/rtconfig.h')
-rw-r--r--bsp/raspberry-pico/rtconfig.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/bsp/raspberry-pico/rtconfig.h b/bsp/raspberry-pico/rtconfig.h
index ee30d0c134..9c34d57a26 100644
--- a/bsp/raspberry-pico/rtconfig.h
+++ b/bsp/raspberry-pico/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 */
@@ -44,7 +45,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 ARCH_ARM
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M0
@@ -68,6 +69,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 */
@@ -87,7 +89,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 */
@@ -189,7 +198,7 @@
/* Arduino libraries */
-/* Projects */
+/* Projects and Demos */
/* Sensors */
@@ -231,5 +240,10 @@
#define BSP_USING_PIN
#define BSP_USING_UART
+#define BSP_USING_UART0
+#define BSP_UART0_TX_PIN_0
+#define BSP_UART0_TX_PIN 0
+#define BSP_UART0_RX_PIN_1
+#define BSP_UART0_RX_PIN 1
#endif