diff options
| author | [email protected] <[email protected]> | 2018-12-17 09:35:24 +0800 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2018-12-17 09:38:53 +0800 |
| commit | bb8e89e85159fad4b64275ca028b36acb363e7f3 (patch) | |
| tree | bb6baacc80e86b4a693b1bab187372147dbd128b /bsp/lpc43xx | |
| parent | 9e990be5729ba4d4514ba997708ca0b70b147a36 (diff) | |
【串口】宏定义对应增加
Diffstat (limited to 'bsp/lpc43xx')
| -rw-r--r-- | bsp/lpc43xx/M0/rtconfig.h | 1 | ||||
| -rw-r--r-- | bsp/lpc43xx/M4/rtconfig.h | 1 |
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" /> |
