summaryrefslogtreecommitdiff
path: root/bsp/lpc43xx
diff options
context:
space:
mode:
author[email protected] <[email protected]>2018-12-17 09:35:24 +0800
committer[email protected] <[email protected]>2018-12-17 09:38:53 +0800
commitbb8e89e85159fad4b64275ca028b36acb363e7f3 (patch)
treebb6baacc80e86b4a693b1bab187372147dbd128b /bsp/lpc43xx
parent9e990be5729ba4d4514ba997708ca0b70b147a36 (diff)
【串口】宏定义对应增加
Diffstat (limited to 'bsp/lpc43xx')
-rw-r--r--bsp/lpc43xx/M0/rtconfig.h1
-rw-r--r--bsp/lpc43xx/M4/rtconfig.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/bsp/lpc43xx/M0/rtconfig.h b/bsp/lpc43xx/M0/rtconfig.h
index c48cf2525c..90531287dd 100644
--- a/bsp/lpc43xx/M0/rtconfig.h
+++ b/bsp/lpc43xx/M0/rtconfig.h
@@ -75,6 +75,7 @@
#define RT_USING_DEVICE_IPC
// <bool name="RT_USING_SERIAL" description="Using Serial Device Driver Framework" default="true" />
#define RT_USING_SERIAL
+#define RT_SERIAL_USING_DMA
// <integer name="RT_UART_RX_BUFFER_SIZE" description="The buffer size for UART reception" default="64" />
#define RT_UART_RX_BUFFER_SIZE 256
// <bool name="RT_USING_MTD_NAND" description="Using MTD NAND Framework" default="true" />
diff --git a/bsp/lpc43xx/M4/rtconfig.h b/bsp/lpc43xx/M4/rtconfig.h
index 9bb1b656f2..0b30998cc0 100644
--- a/bsp/lpc43xx/M4/rtconfig.h
+++ b/bsp/lpc43xx/M4/rtconfig.h
@@ -74,6 +74,7 @@
#define RT_USING_DEVICE_IPC
// <bool name="RT_USING_SERIAL" description="Using Serial Device Driver Framework" default="true" />
#define RT_USING_SERIAL
+#define RT_SERIAL_USING_DMA
// <integer name="RT_UART_RX_BUFFER_SIZE" description="The buffer size for UART reception" default="64" />
#define RT_UART_RX_BUFFER_SIZE 256
// <bool name="RT_USING_MTD_NAND" description="Using MTD NAND Framework" default="true" />