diff --git a/bsp/CME_M7/rtconfig.h b/bsp/CME_M7/rtconfig.h index f981ad9a916c7b49f10c93db6279093801f5d6f0..886c28cb9ea475cda510001c0c15f5176a1db28a 100644 --- a/bsp/CME_M7/rtconfig.h +++ b/bsp/CME_M7/rtconfig.h @@ -55,6 +55,7 @@ #define RT_USING_DEVICE #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/allwinner_tina/.config b/bsp/allwinner_tina/.config index 3a40f9d56663a7a1d57e3d08d08fdae9123e2da3..de547c5a349401d19c044b02cdc75109a27f48c8 100644 --- a/bsp/allwinner_tina/.config +++ b/bsp/allwinner_tina/.config @@ -120,6 +120,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/allwinner_tina/rtconfig.h b/bsp/allwinner_tina/rtconfig.h index 2fb7c07df3eabf7b8b759a3443933ae734eb6f28..25a1302b1aed4034a2cc6066716a390071d3f411 100644 --- a/bsp/allwinner_tina/rtconfig.h +++ b/bsp/allwinner_tina/rtconfig.h @@ -111,6 +111,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/amebaz/.config b/bsp/amebaz/.config index 4a513007e70da8acf7c77167751b049911a351c3..9412058c8e6a35a5e1d298013e78e716ca9f60cd 100644 --- a/bsp/amebaz/.config +++ b/bsp/amebaz/.config @@ -106,6 +106,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/amebaz/rtconfig.h b/bsp/amebaz/rtconfig.h index 5d8ee1df02505d93c14baedcb7410870e24bcc41..92bac2d2940fae46b3032eaed6209ff238fadde0 100644 --- a/bsp/amebaz/rtconfig.h +++ b/bsp/amebaz/rtconfig.h @@ -75,6 +75,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* Using WiFi */ diff --git a/bsp/apollo2/rtconfig.h b/bsp/apollo2/rtconfig.h index 5f94db4eff7c81b2addf043fc02f63ff3121d4da..dfa458bc4e0548e81be8e93f13e324379a47e323 100644 --- a/bsp/apollo2/rtconfig.h +++ b/bsp/apollo2/rtconfig.h @@ -99,6 +99,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ #define RT_USING_I2C diff --git a/bsp/asm9260t/.config b/bsp/asm9260t/.config index ed77c0678d2f8032a616baf11084840e199facd5..e634c994c8d0907c794417139311475975da6683 100644 --- a/bsp/asm9260t/.config +++ b/bsp/asm9260t/.config @@ -83,6 +83,7 @@ CONFIG_FINSH_CMD_SIZE=80 # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_I2C is not set diff --git a/bsp/asm9260t/rtconfig.h b/bsp/asm9260t/rtconfig.h index def7f36a7132439a5bae612cc7aabeaf4c2e95b5..bf1f76fefbe6a7b5129ff33eabf1f685c3649276 100644 --- a/bsp/asm9260t/rtconfig.h +++ b/bsp/asm9260t/rtconfig.h @@ -75,6 +75,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_I2C is not set */ diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h index 62ceba49140357fac16f341788717e17615a1e4c..b9ec26f390cbc93af07b8da23df8b18f6adcfda3 100755 --- a/bsp/at91sam9260/rtconfig.h +++ b/bsp/at91sam9260/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/beaglebone/.config b/bsp/beaglebone/.config index 0ff69f11644e0ff45be619c835905df5403742b2..409e89d18e789952db61d0fd8f9bb6156b251e84 100644 --- a/bsp/beaglebone/.config +++ b/bsp/beaglebone/.config @@ -115,6 +115,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/beaglebone/rtconfig.h b/bsp/beaglebone/rtconfig.h index 5bc7ab92dbacb00da513c4b3f9bb72ea3eb27be9..c49528049ddab7bfeb4e5327dd1d374e29277106 100644 --- a/bsp/beaglebone/rtconfig.h +++ b/bsp/beaglebone/rtconfig.h @@ -77,6 +77,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/ck802/.config b/bsp/ck802/.config index 4284658f9437394a97b8a37c0e3fc2b031e2f9f5..e91f93fd0e14c150e78c264ebd4becf593a57808 100644 --- a/bsp/ck802/.config +++ b/bsp/ck802/.config @@ -97,6 +97,7 @@ CONFIG_FINSH_ARG_MAX=10 # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/ck802/rtconfig.h b/bsp/ck802/rtconfig.h index 3eb48b11f008c7b25494b882049f511004b546f4..076d48e5345dd3589ecbbedb5187a6b6afe07fad 100644 --- a/bsp/ck802/rtconfig.h +++ b/bsp/ck802/rtconfig.h @@ -71,6 +71,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/dm365/.config b/bsp/dm365/.config index 30dc0871e51a8cd1caad8e126cfaed742931e3b7..6974ff8ae00ea564292d370a2055a60e62b04795 100644 --- a/bsp/dm365/.config +++ b/bsp/dm365/.config @@ -134,6 +134,7 @@ CONFIG_RT_NFS_HOST_EXPORT="192.168.1.5:/" CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/dm365/rtconfig.h b/bsp/dm365/rtconfig.h index ae16abdca6a5f405c00c107114e727d892bd5e6c..4f3698f1245008a2cb017a61281dddcd5a0e02bd 100644 --- a/bsp/dm365/rtconfig.h +++ b/bsp/dm365/rtconfig.h @@ -125,6 +125,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/fh8620/rtconfig.h b/bsp/fh8620/rtconfig.h index cefbff053c16d926d3a3760d075a38d07619cb52..01a2d2d45c61f9fabebbfeabc965571896ff39e3 100644 --- a/bsp/fh8620/rtconfig.h +++ b/bsp/fh8620/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 64 // diff --git a/bsp/frdm-k64f/rtconfig.h b/bsp/frdm-k64f/rtconfig.h index d8e6f6dbc5af7947f4927b4aff7aa9881d265cac..8d0ad639ce4ba4a75ecc17405449e76f44311984 100644 --- a/bsp/frdm-k64f/rtconfig.h +++ b/bsp/frdm-k64f/rtconfig.h @@ -63,6 +63,7 @@ #define RT_USING_DEVICE_IPC /* Using Serial Device Driver Framework" default="true" */ #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA //
#define RT_USING_COMPONENTS_INIT diff --git a/bsp/gd32303e-eval/.config b/bsp/gd32303e-eval/.config index 94c9a258f0a81a7648762cb5ec797e4bdc321e83..b61d310f03bca6dc5d68ce8008bc752f2e2f90d2 100644 --- a/bsp/gd32303e-eval/.config +++ b/bsp/gd32303e-eval/.config @@ -120,6 +120,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/gd32303e-eval/rtconfig.h b/bsp/gd32303e-eval/rtconfig.h index 26f476db785186c9115dcc154ddc26bae8b80a60..479ad99af5633b8164bd1e5e2feabf3df6991a94 100644 --- a/bsp/gd32303e-eval/rtconfig.h +++ b/bsp/gd32303e-eval/rtconfig.h @@ -87,6 +87,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_PIN #define RT_USING_SPI diff --git a/bsp/gd32450z-eval/.config b/bsp/gd32450z-eval/.config index a04025b693f8f4cc365670c7402ce9e50f45dacc..e2f00a07fcbeb49b74f1e3e68d2d5e2a7347b46b 100644 --- a/bsp/gd32450z-eval/.config +++ b/bsp/gd32450z-eval/.config @@ -131,6 +131,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/gd32450z-eval/rtconfig.h b/bsp/gd32450z-eval/rtconfig.h index 1eaeb4b827c421e3350633f166e95785be8fa794..500aab6290635692d4b1e25ccb95ab57a246d85a 100644 --- a/bsp/gd32450z-eval/rtconfig.h +++ b/bsp/gd32450z-eval/rtconfig.h @@ -88,6 +88,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/gkipc/.config b/bsp/gkipc/.config index b3a1cd2628f053e18e05674fe70c501ef0352296..975b82b5b25fde79a3132f5f7130b96d9d0eaddb 100644 --- a/bsp/gkipc/.config +++ b/bsp/gkipc/.config @@ -123,6 +123,7 @@ CONFIG_RT_NFS_HOST_EXPORT="192.168.10.82:/" # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/gkipc/rtconfig.h b/bsp/gkipc/rtconfig.h index 23df0f07042a48c2693ebaef94c21d20d37d18e1..2c0233cf29c864ea49b4401da1809d674f2e7a6d 100644 --- a/bsp/gkipc/rtconfig.h +++ b/bsp/gkipc/rtconfig.h @@ -114,6 +114,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/hifive1/.config b/bsp/hifive1/.config index 186ad3e8e3769deee7759ea8b401ba50fc5a14f9..9f667673201533e2956a10943bbc1e4acb0b6865 100644 --- a/bsp/hifive1/.config +++ b/bsp/hifive1/.config @@ -107,6 +107,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/hifive1/rtconfig.h b/bsp/hifive1/rtconfig.h index 762eb92df5a57e99090ca61c41a971f7e22b1142..1d96bfc3db44d26df2e1ad286d6c85edadbfea28 100644 --- a/bsp/hifive1/rtconfig.h +++ b/bsp/hifive1/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* Using WiFi */ diff --git a/bsp/imx6sx/cortex-a9/.config b/bsp/imx6sx/cortex-a9/.config index cb857b4c0f59f1acb06337ae9b946fe92d674b2e..ce2e256f2cdb7d98e25f5049e4fce6823a020ac6 100644 --- a/bsp/imx6sx/cortex-a9/.config +++ b/bsp/imx6sx/cortex-a9/.config @@ -116,6 +116,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/imx6sx/cortex-a9/rtconfig.h b/bsp/imx6sx/cortex-a9/rtconfig.h index 71f7cf4d9b117dee16810e35774680edfb42e20c..30de937b05a07bcc5998e26f797330a3d421ee04 100644 --- a/bsp/imx6sx/cortex-a9/rtconfig.h +++ b/bsp/imx6sx/cortex-a9/rtconfig.h @@ -77,6 +77,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/imx6ul/rtconfig.h b/bsp/imx6ul/rtconfig.h index f37f620a9c5fa510b5f3fe6be2897a769a16248c..ee3857dcb86851f58a432dbf27530d6eac5093e8 100644 --- a/bsp/imx6ul/rtconfig.h +++ b/bsp/imx6ul/rtconfig.h @@ -72,6 +72,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 64 // diff --git a/bsp/imxrt/imxrt1050-ArchMix/.config b/bsp/imxrt/imxrt1050-ArchMix/.config index 3406bd3ee882db23b32fcdc6c04d357219b7f173..353f769594323df8a3e75999f06ebafe8267e88b 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/.config +++ b/bsp/imxrt/imxrt1050-ArchMix/.config @@ -135,6 +135,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set CONFIG_RT_USING_CPUTIME=y diff --git a/bsp/imxrt/imxrt1050-ArchMix/rtconfig.h b/bsp/imxrt/imxrt1050-ArchMix/rtconfig.h index 525013e73ecd4b61f07aeca4fafd40f12a6f4e85..98c795a026c216270d9c6af16cdea0e77c0e06c5 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/rtconfig.h +++ b/bsp/imxrt/imxrt1050-ArchMix/rtconfig.h @@ -95,6 +95,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_CPUTIME #define RT_USING_CPUTIME_CORTEXM #define RT_USING_I2C diff --git a/bsp/imxrt/imxrt1050-evk/.config b/bsp/imxrt/imxrt1050-evk/.config index ba6c3d19ad3050bd3a55acd91447cc2b074b4afc..63fea7652c41de5fcf8b60c1efbaa9555f9d6ced 100644 --- a/bsp/imxrt/imxrt1050-evk/.config +++ b/bsp/imxrt/imxrt1050-evk/.config @@ -136,6 +136,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set CONFIG_RT_USING_CPUTIME=y diff --git a/bsp/imxrt/imxrt1050-evk/rtconfig.h b/bsp/imxrt/imxrt1050-evk/rtconfig.h index b5e68cdab947bde1b54876e96450c93ec1955153..f1a7a6785a8726c608b69562b585faf90af7fcb4 100644 --- a/bsp/imxrt/imxrt1050-evk/rtconfig.h +++ b/bsp/imxrt/imxrt1050-evk/rtconfig.h @@ -95,6 +95,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_CPUTIME #define RT_USING_CPUTIME_CORTEXM #define RT_USING_I2C diff --git a/bsp/imxrt1052-evk/.config b/bsp/imxrt1052-evk/.config index ece953859571d0b65efbc0eac219aa785fd60cde..88643d85b4868d851c4d0ac05ca7f6d06924e1de 100644 --- a/bsp/imxrt1052-evk/.config +++ b/bsp/imxrt1052-evk/.config @@ -124,6 +124,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/imxrt1052-evk/rtconfig.h b/bsp/imxrt1052-evk/rtconfig.h index ef00ef09ff3863ae238f84f995cd19c353e6e900..d4298a93ca7da9941ead5f14fc40931e7d89f165 100644 --- a/bsp/imxrt1052-evk/rtconfig.h +++ b/bsp/imxrt1052-evk/rtconfig.h @@ -91,6 +91,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_PIN diff --git a/bsp/lpc408x/.config b/bsp/lpc408x/.config index e10d9ce3f91571e77598925175ce706957091559..eed04f9c3238fcf133d58fa9010f0af844266b51 100644 --- a/bsp/lpc408x/.config +++ b/bsp/lpc408x/.config @@ -121,6 +121,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y CONFIG_RT_USING_CAN=y # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h index 650dade6f08f426a2554a865532f72996c9a1e44..0d5469786f09bb2c6d4786089d66323ff4b21246 100644 --- a/bsp/lpc408x/rtconfig.h +++ b/bsp/lpc408x/rtconfig.h @@ -112,6 +112,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_CAN /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/lpc43xx/M0/rtconfig.h b/bsp/lpc43xx/M0/rtconfig.h index c48cf2525c843725984f9409db938cad06bca057..90531287dd9cca145eac0bbb071fb7dca0e70019 100644 --- a/bsp/lpc43xx/M0/rtconfig.h +++ b/bsp/lpc43xx/M0/rtconfig.h @@ -75,6 +75,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 256 // diff --git a/bsp/lpc43xx/M4/rtconfig.h b/bsp/lpc43xx/M4/rtconfig.h index 9bb1b656f204a332f874d678b5d4a05f899d0f80..0b30998cc0ffbb215e59d611d6ad3b7d1e7d4de5 100644 --- a/bsp/lpc43xx/M4/rtconfig.h +++ b/bsp/lpc43xx/M4/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 256 // diff --git a/bsp/lpc5410x/rtconfig.h b/bsp/lpc5410x/rtconfig.h index bd231931e3ef874b7b3c31d0352d993197e4f884..c054bfabbaade8e92764f5737224f4f370f3ae91 100644 --- a/bsp/lpc5410x/rtconfig.h +++ b/bsp/lpc5410x/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA //
//
diff --git a/bsp/lpc54114-lite/.config b/bsp/lpc54114-lite/.config index 0b7ccbf108e72a7a1ff84eb3b2ad73ba1fe837df..4fae2a9de67d4785bcc867dfe7e038024a3a4ee4 100644 --- a/bsp/lpc54114-lite/.config +++ b/bsp/lpc54114-lite/.config @@ -138,6 +138,7 @@ CONFIG_RT_USING_DFS_ROMFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/lpc54114-lite/rtconfig.h b/bsp/lpc54114-lite/rtconfig.h index ca76f590143863046b11ecdd1aa6a9c7b1cbae33..4fc1054b7b7f1f9021b8b0561093906c83a787c8 100644 --- a/bsp/lpc54114-lite/rtconfig.h +++ b/bsp/lpc54114-lite/rtconfig.h @@ -95,6 +95,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_PIN diff --git a/bsp/lpc54608-LPCXpresso/.config b/bsp/lpc54608-LPCXpresso/.config index 5aff9d0e48ec2dd8b08bc89ca9b7541311c00057..85046e050d5230cdb8d899b54a5a11fe690304f4 100644 --- a/bsp/lpc54608-LPCXpresso/.config +++ b/bsp/lpc54608-LPCXpresso/.config @@ -136,6 +136,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/lpc54608-LPCXpresso/rtconfig.h b/bsp/lpc54608-LPCXpresso/rtconfig.h index 7738810b58bccc63e9f229f482ec3ce99aa2ce07..46855f771390b6c02fcb9f67050c8011815c18e5 100644 --- a/bsp/lpc54608-LPCXpresso/rtconfig.h +++ b/bsp/lpc54608-LPCXpresso/rtconfig.h @@ -95,6 +95,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_PIN diff --git a/bsp/lpc824/rtconfig.h b/bsp/lpc824/rtconfig.h index 1426427b8d4860633ef2c3e52d934be7f015e10f..ccc1a76d439932167009b8264fc540bf0d52497c 100644 --- a/bsp/lpc824/rtconfig.h +++ b/bsp/lpc824/rtconfig.h @@ -128,6 +128,7 @@ // Using Serial // Using Serial //#define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // // diff --git a/bsp/ls1cdev/.config b/bsp/ls1cdev/.config index e51b00e78e2592b02ffffe62836b3cf850b4b626..30d3540c581d88f7b20400d1942e562b6db93182 100644 --- a/bsp/ls1cdev/.config +++ b/bsp/ls1cdev/.config @@ -133,6 +133,7 @@ CONFIG_RT_DFS_ELM_REENTRANT=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y CONFIG_RT_USING_CAN=y # CONFIG_RT_CAN_USING_HDR is not set # CONFIG_RT_USING_HWTIMER is not set diff --git a/bsp/ls1cdev/rtconfig.h b/bsp/ls1cdev/rtconfig.h index 889d051eef9c9459e9bc9c1dc7a9ab9e4fa5dcbb..7e140a731cee3b3ef5d1139baec79cfc37566ee9 100644 --- a/bsp/ls1cdev/rtconfig.h +++ b/bsp/ls1cdev/rtconfig.h @@ -124,6 +124,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_CAN /* RT_CAN_USING_HDR is not set */ /* RT_USING_HWTIMER is not set */ diff --git a/bsp/mb9bf506r/rtconfig.h b/bsp/mb9bf506r/rtconfig.h index fa8f5a30140a95aa5df15bac9861eed36c8a8deb..9499045fd1829c82f258dff3b7bfa3b57d7dd057 100644 --- a/bsp/mb9bf506r/rtconfig.h +++ b/bsp/mb9bf506r/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_USING_UART0_0 // diff --git a/bsp/nrf51822/rtconfig.h b/bsp/nrf51822/rtconfig.h index 8731f29c3038898baa044cb8d0d6a62b4e9f9261..b41bbdadfaff9fcc982e70aa082b7ad873ccc6c5 100644 --- a/bsp/nrf51822/rtconfig.h +++ b/bsp/nrf51822/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_DEVICE_IPC // //#define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/nrf52832/rtconfig.h b/bsp/nrf52832/rtconfig.h index b8710f31c8327ee78957a9940a2cc717e9a7b2e8..64349ec5311868918283cd0a302edb2448502254 100644 --- a/bsp/nrf52832/rtconfig.h +++ b/bsp/nrf52832/rtconfig.h @@ -70,6 +70,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/nuvoton_m05x/.config b/bsp/nuvoton_m05x/.config index 38716c094247432ae73081656702a96297a58892..07830e5c366d2ff964e0a599ef16db33a90be715 100644 --- a/bsp/nuvoton_m05x/.config +++ b/bsp/nuvoton_m05x/.config @@ -104,6 +104,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/nuvoton_m05x/rtconfig.h b/bsp/nuvoton_m05x/rtconfig.h index 4d5ab6b20152184136f272eb2f06d3d90a89fe55..db3cc679c8a377ffbb67014d4c5320ae3e3487dd 100644 --- a/bsp/nuvoton_m05x/rtconfig.h +++ b/bsp/nuvoton_m05x/rtconfig.h @@ -96,6 +96,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/nuvoton_m451/rtconfig.h b/bsp/nuvoton_m451/rtconfig.h index 58cdfdcb24ddf45b8fda082524c40cd46dafff53..cb4868725c38a8abccf4a17ba40ea7b6768bfbf2 100644 --- a/bsp/nuvoton_m451/rtconfig.h +++ b/bsp/nuvoton_m451/rtconfig.h @@ -65,6 +65,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/nuvoton_m487/.config b/bsp/nuvoton_m487/.config index a20bd22939fe0801d53d7727c7bb7b08dfb96b2d..2e12793338a4f84cbda6ecd3f5ba907ad5fe2631 100644 --- a/bsp/nuvoton_m487/.config +++ b/bsp/nuvoton_m487/.config @@ -118,6 +118,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=64 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/nuvoton_m487/rtconfig.h b/bsp/nuvoton_m487/rtconfig.h index 6e3b9c097e8cbf7eac6d54cc3f446eea81e90365..5eb9dca57e1fac40561d6893d6adeda2c80f92b3 100644 --- a/bsp/nuvoton_m487/rtconfig.h +++ b/bsp/nuvoton_m487/rtconfig.h @@ -75,6 +75,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 64 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* Using WiFi */ diff --git a/bsp/nuvoton_nuc472/rtconfig.h b/bsp/nuvoton_nuc472/rtconfig.h index dccf59ecc836505b20f61a811eddeea1cb9d592b..9d1268a7ffbbb0105adc9be67f91c01c2895786f 100644 --- a/bsp/nuvoton_nuc472/rtconfig.h +++ b/bsp/nuvoton_nuc472/rtconfig.h @@ -66,6 +66,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/nv32f100x/rtconfig.h b/bsp/nv32f100x/rtconfig.h index 0279e205ae2e13fd67328616b7869290386e5ae9..e5b146528e3d75d4894e997aa66c9d6b7175655a 100644 --- a/bsp/nv32f100x/rtconfig.h +++ b/bsp/nv32f100x/rtconfig.h @@ -66,6 +66,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_HOOK #define RT_USING_CPU_USAGE /* SECTION: Console options */ diff --git a/bsp/qemu-vexpress-a9/.config b/bsp/qemu-vexpress-a9/.config index f5709ced29d43a214f2d9296361ff5f63e744a87..f0ce96e4e2bcd5ab78391f13afcd62606ffbf5d1 100644 --- a/bsp/qemu-vexpress-a9/.config +++ b/bsp/qemu-vexpress-a9/.config @@ -143,6 +143,7 @@ CONFIG_RT_USING_DFS_RAMFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/qemu-vexpress-a9/rtconfig.h b/bsp/qemu-vexpress-a9/rtconfig.h index 618aa5c599ae14218043eb7b7f9aeac610390b29..2ebcd960196a4b4c1af9b3960a7af7b458eafd11 100644 --- a/bsp/qemu-vexpress-a9/rtconfig.h +++ b/bsp/qemu-vexpress-a9/rtconfig.h @@ -134,6 +134,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/qemu-vexpress-gemini/.config b/bsp/qemu-vexpress-gemini/.config index 02c5ee7d12a78d78ab391e902f1430cc6c298062..425f9a1eaede6b07a95c73f07d19b16c177eecc9 100644 --- a/bsp/qemu-vexpress-gemini/.config +++ b/bsp/qemu-vexpress-gemini/.config @@ -118,6 +118,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/qemu-vexpress-gemini/rtconfig.h b/bsp/qemu-vexpress-gemini/rtconfig.h index a1dcba12482e09b5cdb60699a65d623b183163d9..7218fedca1211a5a22a564bab11dc76ceb4a032a 100644 --- a/bsp/qemu-vexpress-gemini/rtconfig.h +++ b/bsp/qemu-vexpress-gemini/rtconfig.h @@ -110,6 +110,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/raspi2/.config b/bsp/raspi2/.config index b9827ac3ed2b3304ee5d5f5bf66df5a5654b0da5..7db26a7cb19dd34e44f00eb24302f8928f2252c9 100644 --- a/bsp/raspi2/.config +++ b/bsp/raspi2/.config @@ -108,6 +108,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/raspi2/rtconfig.h b/bsp/raspi2/rtconfig.h index 073c18bed2eb598c32f89b2b892be2eb5fd7a408..d0b692f9ab355c95a5c4342ae117a62779a8c52f 100644 --- a/bsp/raspi2/rtconfig.h +++ b/bsp/raspi2/rtconfig.h @@ -100,6 +100,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/realview-a8/rtconfig.h b/bsp/realview-a8/rtconfig.h index 2b196b44664ba388674e37d0f5edd6082fe70257..d06e81a0e1f70a224e09f35bfc34ed946fc07dc9 100644 --- a/bsp/realview-a8/rtconfig.h +++ b/bsp/realview-a8/rtconfig.h @@ -72,6 +72,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 64 // diff --git a/bsp/rm48x50/rtconfig.h b/bsp/rm48x50/rtconfig.h index a4189b93089af62f32f4ab179e051e66fac0aaad..f7d9235a5b750ec6334ef95643b1609665dfebe9 100644 --- a/bsp/rm48x50/rtconfig.h +++ b/bsp/rm48x50/rtconfig.h @@ -70,6 +70,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 64 //
diff --git a/bsp/rv32m1_vega/ri5cy/.config b/bsp/rv32m1_vega/ri5cy/.config index fec5225b6358544aa57368d5804073a1d3b78283..d62e37947aab76d237fe369dde037158001afcb2 100644 --- a/bsp/rv32m1_vega/ri5cy/.config +++ b/bsp/rv32m1_vega/ri5cy/.config @@ -136,6 +136,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/rx/rtconfig.h b/bsp/rx/rtconfig.h index e1d6cb3fe8c49ab4dd0b95c73ec6f00ddcdc05b3..364204696fb40399c4ea7791f974caa891703546 100644 --- a/bsp/rx/rtconfig.h +++ b/bsp/rx/rtconfig.h @@ -66,6 +66,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/samd21/rtconfig.h b/bsp/samd21/rtconfig.h index 1ccf6616a0f16852362bffe8b671defa1f0f067e..c22a5496e76fa6a28cdeee293d8d0b3c1b36aa10 100644 --- a/bsp/samd21/rtconfig.h +++ b/bsp/samd21/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/simulator/.config b/bsp/simulator/.config index be55343ce7525c5d41f82eeb5ff0a2e72ef06a03..dbb69fd3903b3e4df69a3da130a32f6eb5deec5d 100644 --- a/bsp/simulator/.config +++ b/bsp/simulator/.config @@ -117,6 +117,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 995ab93c3b95c4268d2806fa25bd03501707925c..4955172df7b5172a17311314589fe7c449661eed 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -108,6 +108,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/stm32/libraries/templates/stm32f10x/.config b/bsp/stm32/libraries/templates/stm32f10x/.config index 1bfa29eca5003346b4586eb1672ea38a64f4eb1b..4a931cf1e268ee7e489c1490d124164cdc2fca61 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/.config +++ b/bsp/stm32/libraries/templates/stm32f10x/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h index f213d2e34b65ab99d3daa5697154a9046ea0b84c..ed7bf5a5f76a00ce59871cdae28d3d45a2f539ac 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h +++ b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/libraries/templates/stm32f4xx/.config b/bsp/stm32/libraries/templates/stm32f4xx/.config index 1491b26f9ab038449d4d8e31964a2422df24d202..935757f65af6b5e1bdfb3fc73eee0cbe69e7f013 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/.config +++ b/bsp/stm32/libraries/templates/stm32f4xx/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h index 2f9f7370d72c17966a6b8c98c8433dc61f07bd8d..21d3064ad0676363e30e0512d590d5b369a415fb 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h +++ b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/libraries/templates/stm32l4xx/.config b/bsp/stm32/libraries/templates/stm32l4xx/.config index fccf1fe55b60cb1c7d516f2e0cbf6739b91d4e8c..233ed0577f67e92fa1b884c7b0509e9d8ea5bcd2 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/.config +++ b/bsp/stm32/libraries/templates/stm32l4xx/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h index ceec0bd451284efe810fb5e73f190467e4b668ec..1b16eff99f649c5429fa9cd1fec03c22fd05bb71 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h +++ b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/stm32f103-atk-nano/.config b/bsp/stm32/stm32f103-atk-nano/.config index efe60afe646cb8c6ab7f0d29dbfd9f6ac71679c5..73bea08b164a273751084ac3038216d7c05946b0 100644 --- a/bsp/stm32/stm32f103-atk-nano/.config +++ b/bsp/stm32/stm32f103-atk-nano/.config @@ -108,6 +108,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/stm32f103-atk-nano/rtconfig.h b/bsp/stm32/stm32f103-atk-nano/rtconfig.h index c9087c09a6924422b083ee8b02adc89aa85e8e77..a711e28ea157a2270bef649102589197edb0dc79 100644 --- a/bsp/stm32/stm32f103-atk-nano/rtconfig.h +++ b/bsp/stm32/stm32f103-atk-nano/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/stm32f103-fire-arbitrary/.config b/bsp/stm32/stm32f103-fire-arbitrary/.config index f67ab34e10eb8c33521d6df064a4a7cfabb2e7e0..17c6756122cd2e84ceb936b57e9f2512dd7b6d0f 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/.config +++ b/bsp/stm32/stm32f103-fire-arbitrary/.config @@ -108,6 +108,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.h b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.h index fdd6a747f45516302a3cb4d4927fa78bc763a89e..db085c7e6bc3ec3cdd1fb730702b00d4f9f12083 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.h +++ b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/stm32f407-atk-explorer/.config b/bsp/stm32/stm32f407-atk-explorer/.config index 4f44d6b3afdf668785199b394c6c6dd7f1c6546c..d01dbef79b4bdb36653141198a6a2d7a075b23a4 100644 --- a/bsp/stm32/stm32f407-atk-explorer/.config +++ b/bsp/stm32/stm32f407-atk-explorer/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h index 948a7a65d72185265752f294abd704c9450a82f4..917f5fb0b54532fcd7775e29affe7afe8edfc95a 100644 --- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h +++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/stm32f429-atk-apollo/.config b/bsp/stm32/stm32f429-atk-apollo/.config index 1ad45f888b3a6c91675006b183e3dfb55ec51df8..f637dd09aff3c63a6c2e92bbc49fbf74395f19e9 100644 --- a/bsp/stm32/stm32f429-atk-apollo/.config +++ b/bsp/stm32/stm32f429-atk-apollo/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/stm32f429-atk-apollo/rtconfig.h b/bsp/stm32/stm32f429-atk-apollo/rtconfig.h index d236ab8d538898afe9cb09bd8603b0f6551b4df6..c68a679a378b38e54e115ff516db1076411d6453 100644 --- a/bsp/stm32/stm32f429-atk-apollo/rtconfig.h +++ b/bsp/stm32/stm32f429-atk-apollo/rtconfig.h @@ -76,6 +76,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32/stm32f429-fire-challenger/.config b/bsp/stm32/stm32f429-fire-challenger/.config index 8bab59ba52e12de73821365b6198c6fc1e347624..3032c8fe13c189560a0fe95b022311cbe22c9dc8 100644 --- a/bsp/stm32/stm32f429-fire-challenger/.config +++ b/bsp/stm32/stm32f429-fire-challenger/.config @@ -110,6 +110,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32/stm32f429-fire-challenger/rtconfig.h b/bsp/stm32/stm32f429-fire-challenger/rtconfig.h index 1357a79922be29b1427c36d2073cc5fc5e7de67f..cda13925953ddace48ef3d1ecb05080576f5a8c3 100644 --- a/bsp/stm32/stm32f429-fire-challenger/rtconfig.h +++ b/bsp/stm32/stm32f429-fire-challenger/rtconfig.h @@ -77,6 +77,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/stm32f0x/rtconfig.h b/bsp/stm32f0x/rtconfig.h index bee200136a644c55c0c8f81aab3897a40a47f965..0a71690b5359c5eda7b660c9d430ab3912273ec8 100644 --- a/bsp/stm32f0x/rtconfig.h +++ b/bsp/stm32f0x/rtconfig.h @@ -66,6 +66,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* SECTION: Console options */ #define RT_USING_CONSOLE diff --git a/bsp/stm32f10x-HAL/.config b/bsp/stm32f10x-HAL/.config index 3f583f6b34ae09cee5be5871745c56258fefbfd9..39706cd49665be7fafdd183dde7fb272e064f021 100644 --- a/bsp/stm32f10x-HAL/.config +++ b/bsp/stm32f10x-HAL/.config @@ -91,6 +91,7 @@ CONFIG_FINSH_USING_MSH_ONLY=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f10x-HAL/rtconfig.h b/bsp/stm32f10x-HAL/rtconfig.h index ad9537c49517feae416bc869d6809e9309705034..84514b603c17d876fc18e8d6d093cf8a9438f520 100644 --- a/bsp/stm32f10x-HAL/rtconfig.h +++ b/bsp/stm32f10x-HAL/rtconfig.h @@ -83,6 +83,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/stm32f10x/.config b/bsp/stm32f10x/.config index 360fa61320c3d3c0ce63433894cd81195656c581..7b1a9477ab0c15f69d260b214ed47615e0b75a8d 100644 --- a/bsp/stm32f10x/.config +++ b/bsp/stm32f10x/.config @@ -121,6 +121,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y CONFIG_RT_USING_CAN=y CONFIG_RT_CAN_USING_HDR=y # CONFIG_RT_USING_HWTIMER is not set diff --git a/bsp/stm32f10x/rtconfig.h b/bsp/stm32f10x/rtconfig.h index e41cb5fc10582f67aab8ab0b0f6c54d950e02547..e1d38b46678d72cd6641548fff8493c29ccfb76c 100644 --- a/bsp/stm32f10x/rtconfig.h +++ b/bsp/stm32f10x/rtconfig.h @@ -112,6 +112,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_CAN #define RT_CAN_USING_HDR /* RT_USING_HWTIMER is not set */ diff --git a/bsp/stm32f40x/.config b/bsp/stm32f40x/.config index b7945e182035fa154ac48462a2bf59e636e4b834..a6a47ac6f37e3a5b72b0027428ff8db742834c6a 100644 --- a/bsp/stm32f40x/.config +++ b/bsp/stm32f40x/.config @@ -135,6 +135,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f40x/rtconfig.h b/bsp/stm32f40x/rtconfig.h index 9482d19aa35a355f57c93c9be00af33673facc87..c855f42fad81166258c2ce566d6dbef3f1b4dd3c 100644 --- a/bsp/stm32f40x/rtconfig.h +++ b/bsp/stm32f40x/rtconfig.h @@ -93,6 +93,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/stm32f411-nucleo/.config b/bsp/stm32f411-nucleo/.config index a757505873eac213a48975e03af326aa680fad0e..f300370a16995fe978e602dec885b279360c4aae 100644 --- a/bsp/stm32f411-nucleo/.config +++ b/bsp/stm32f411-nucleo/.config @@ -92,6 +92,7 @@ CONFIG_FINSH_USING_MSH_ONLY=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f411-nucleo/rtconfig.h b/bsp/stm32f411-nucleo/rtconfig.h index e3b684271c19538fe2f4a8c008ce78f89dc88597..3a925c78b4a64e300ff4deadab0e91ff9e65f93b 100644 --- a/bsp/stm32f411-nucleo/rtconfig.h +++ b/bsp/stm32f411-nucleo/rtconfig.h @@ -70,6 +70,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* Using USB */ diff --git a/bsp/stm32f429-apollo/.config b/bsp/stm32f429-apollo/.config index 45c584c188522c8996b39078591f49f90ed206b0..604b56e5b25f61ff257261e03bae696405c0dee1 100644 --- a/bsp/stm32f429-apollo/.config +++ b/bsp/stm32f429-apollo/.config @@ -132,6 +132,7 @@ CONFIG_RT_USING_DFS_ROMFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f429-apollo/rtconfig.h b/bsp/stm32f429-apollo/rtconfig.h index 4de160fe177cea669e0b98b50222d2351a439b48..9c28c2c959a2e6a1cf0166f3fab1075cce93daff 100644 --- a/bsp/stm32f429-apollo/rtconfig.h +++ b/bsp/stm32f429-apollo/rtconfig.h @@ -90,6 +90,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_MTD_NAND diff --git a/bsp/stm32f429-armfly/.config b/bsp/stm32f429-armfly/.config index be7abc5df7fae8c18c26285be363de978cb8758c..b001018a9fccf974150b6c02e96f5b1e9b6442e5 100644 --- a/bsp/stm32f429-armfly/.config +++ b/bsp/stm32f429-armfly/.config @@ -134,6 +134,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f429-armfly/rtconfig.h b/bsp/stm32f429-armfly/rtconfig.h index 0f302ccee4dfb4d1a13059bad45524239345cd11..b570ea5234c3de3be6d256ce073b5c56c88a7499 100644 --- a/bsp/stm32f429-armfly/rtconfig.h +++ b/bsp/stm32f429-armfly/rtconfig.h @@ -92,6 +92,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_PIN diff --git a/bsp/stm32f429-disco/.config b/bsp/stm32f429-disco/.config index a2d11a94c339f8d466ced15da74a50d1f611be11..1a51abcea17762d630e9c7db50d7a5dc74054602 100644 --- a/bsp/stm32f429-disco/.config +++ b/bsp/stm32f429-disco/.config @@ -114,6 +114,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f429-disco/rtconfig.h b/bsp/stm32f429-disco/rtconfig.h index 962f62bc5586c3713e33c29f1729dc4b03e95b9a..91dd49c8722d64a3f90d17aeccdbcf236f301384 100644 --- a/bsp/stm32f429-disco/rtconfig.h +++ b/bsp/stm32f429-disco/rtconfig.h @@ -75,6 +75,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_I2C #define RT_USING_I2C_BITOPS #define RT_USING_PIN diff --git a/bsp/stm32f4xx-HAL/.config b/bsp/stm32f4xx-HAL/.config index 8be1f1789fd6087d9ce206831849e4ee9adf433f..210efe60dcc3da553ca45d6358943c0134155edd 100644 --- a/bsp/stm32f4xx-HAL/.config +++ b/bsp/stm32f4xx-HAL/.config @@ -88,6 +88,7 @@ CONFIG_FINSH_USING_MSH_ONLY=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_I2C is not set diff --git a/bsp/stm32f4xx-HAL/rtconfig.h b/bsp/stm32f4xx-HAL/rtconfig.h index 8fe06d171c692095fd7720ad089b5876ed0e6833..e490ee1f318e81b7a9b4a1e417237a88f5b3666f 100644 --- a/bsp/stm32f4xx-HAL/rtconfig.h +++ b/bsp/stm32f4xx-HAL/rtconfig.h @@ -80,6 +80,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_I2C is not set */ diff --git a/bsp/stm32f7-disco/.config b/bsp/stm32f7-disco/.config index 36452791a8b7743fad11a77f02afc89f67c95d2f..9cdfcfa368bb764c88d515b0f29c6ad4fe42a330 100644 --- a/bsp/stm32f7-disco/.config +++ b/bsp/stm32f7-disco/.config @@ -92,6 +92,7 @@ CONFIG_FINSH_USING_MSH_DEFAULT=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32f7-disco/rtconfig.h b/bsp/stm32f7-disco/rtconfig.h index abbe9d6f5981c9e725cb01be8ba64a0a3a63d29c..5d0a04aad7457f86b99f69a83fcae55897cbdf89 100644 --- a/bsp/stm32f7-disco/rtconfig.h +++ b/bsp/stm32f7-disco/rtconfig.h @@ -70,6 +70,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/stm32h743-nucleo/.config b/bsp/stm32h743-nucleo/.config index bb13ccfc66150cea8901eb9f32fcdc5f83f0af0b..1576a11eff9d155e875442fbcb028e2a972a68e6 100644 --- a/bsp/stm32h743-nucleo/.config +++ b/bsp/stm32h743-nucleo/.config @@ -116,6 +116,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32h743-nucleo/rtconfig.h b/bsp/stm32h743-nucleo/rtconfig.h index e341d043f9edcfb553221781fb3949a87ce7b719..173db7f63c3e7bafa6d70a2076b996ed7d05985b 100644 --- a/bsp/stm32h743-nucleo/rtconfig.h +++ b/bsp/stm32h743-nucleo/rtconfig.h @@ -108,6 +108,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/stm32l072/rtconfig.h b/bsp/stm32l072/rtconfig.h index 57be51ea767ea4d10a7c2607867f6cf6595e1e80..5e750f5d1f6c19aa1ba8dbf4f8206ef8b74696e4 100644 --- a/bsp/stm32l072/rtconfig.h +++ b/bsp/stm32l072/rtconfig.h @@ -66,6 +66,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_HOOK #define RT_USING_CPU_USAGE /* SECTION: Console options */ diff --git a/bsp/stm32l475-iot-disco/rtconfig.h b/bsp/stm32l475-iot-disco/rtconfig.h index 89428e1cf42541032205302643f06a7b3c48262d..f7b00767d2a54951e8acc4e998af9d815b352eba 100644 --- a/bsp/stm32l475-iot-disco/rtconfig.h +++ b/bsp/stm32l475-iot-disco/rtconfig.h @@ -61,6 +61,7 @@ #define RT_USING_DEVICE_IPC /* Using serial framework */ #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_UART1 #define RT_USING_UART2 diff --git a/bsp/stm32l476-nucleo/.config b/bsp/stm32l476-nucleo/.config index 44a239f90d3643a5876d14d0b911959d9b12fff4..529d8c5fb0e47cd44a637554c7f10e7d1ef8d5e7 100644 --- a/bsp/stm32l476-nucleo/.config +++ b/bsp/stm32l476-nucleo/.config @@ -105,6 +105,7 @@ CONFIG_FINSH_ARG_MAX=10 CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/stm32l476-nucleo/rtconfig.h b/bsp/stm32l476-nucleo/rtconfig.h index 7be9f6b5b684de0b5a53e52949336defc5c86e99..d1e5fd2e41ad79b71a1039fda0986da232a0ae3d 100644 --- a/bsp/stm32l476-nucleo/rtconfig.h +++ b/bsp/stm32l476-nucleo/rtconfig.h @@ -71,6 +71,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using USB */ diff --git a/bsp/tm4c129x/.config b/bsp/tm4c129x/.config index 65b5b05742d3a26547b924342cafe8049ba541e8..3dbea9e5babd3914d8affba873f85adbcf673997 100644 --- a/bsp/tm4c129x/.config +++ b/bsp/tm4c129x/.config @@ -82,6 +82,7 @@ CONFIG_FINSH_CMD_SIZE=80 # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_I2C is not set diff --git a/bsp/tm4c129x/rtconfig.h b/bsp/tm4c129x/rtconfig.h index d9e6e561c901169a0594b1bb6c78805cd8d0133b..17065905cdab3863842a7e729d5f92b8a167f574 100644 --- a/bsp/tm4c129x/rtconfig.h +++ b/bsp/tm4c129x/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_I2C is not set */ diff --git a/bsp/tms320f28379d/.config b/bsp/tms320f28379d/.config index ddc9fd302eefc8975705d8c5e1a78977c490a09b..d62b1e40c8215395a89472354eafcc1e9f78759e 100644 --- a/bsp/tms320f28379d/.config +++ b/bsp/tms320f28379d/.config @@ -104,6 +104,7 @@ CONFIG_RT_USING_DFS_DEVFS=y CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_PIPE_BUFSZ=512 CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/tms320f28379d/rtconfig.h b/bsp/tms320f28379d/rtconfig.h index f74783569c05a2f262cb2969adaf1fc17f02a3e3..b0372958130dac2bba5f177ab52a140e52e2f4ae 100644 --- a/bsp/tms320f28379d/rtconfig.h +++ b/bsp/tms320f28379d/rtconfig.h @@ -68,6 +68,7 @@ #define RT_USING_DEVICE_IPC #define RT_PIPE_BUFSZ 512 #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA #define RT_USING_PIN /* Using WiFi */ diff --git a/bsp/x1000/.config b/bsp/x1000/.config index e6698d1d90687b3db8ce657be3b5638868ab70fb..9ac579ccd9ea4343d2c14f2ee3f7ced788f66367 100644 --- a/bsp/x1000/.config +++ b/bsp/x1000/.config @@ -121,6 +121,7 @@ CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DEVICE_IPC=y CONFIG_RT_USING_SERIAL=y +CONFIG_RT_SERIAL_USING_DMA=y # CONFIG_RT_USING_CAN is not set # CONFIG_RT_USING_HWTIMER is not set # CONFIG_RT_USING_CPUTIME is not set diff --git a/bsp/x1000/rtconfig.h b/bsp/x1000/rtconfig.h index 30ccf9e409b50f4216add8dcb703923531587da1..6babbd0b1512159b8be48a71a0fcb0940ef54134 100644 --- a/bsp/x1000/rtconfig.h +++ b/bsp/x1000/rtconfig.h @@ -112,6 +112,7 @@ #define RT_USING_DEVICE_IPC #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA /* RT_USING_CAN is not set */ /* RT_USING_HWTIMER is not set */ /* RT_USING_CPUTIME is not set */ diff --git a/bsp/xplorer4330/M0/rtconfig.h b/bsp/xplorer4330/M0/rtconfig.h index 8adbc4e576201c11eaceb7cb2ee9724bfa015016..ee849028f22d2e009a204f2089dab9b091ea3112 100644 --- a/bsp/xplorer4330/M0/rtconfig.h +++ b/bsp/xplorer4330/M0/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 256 // diff --git a/bsp/xplorer4330/M4/rtconfig.h b/bsp/xplorer4330/M4/rtconfig.h index 8adbc4e576201c11eaceb7cb2ee9724bfa015016..ee849028f22d2e009a204f2089dab9b091ea3112 100644 --- a/bsp/xplorer4330/M4/rtconfig.h +++ b/bsp/xplorer4330/M4/rtconfig.h @@ -74,6 +74,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 256 // diff --git a/bsp/zynq7000/rtconfig.h b/bsp/zynq7000/rtconfig.h index 4c042a88f6c55d778a1dcb579c4b095957588a57..ca304c6ac912ec531a30ef379724c596a3752375 100644 --- a/bsp/zynq7000/rtconfig.h +++ b/bsp/zynq7000/rtconfig.h @@ -72,6 +72,7 @@ #define RT_USING_DEVICE_IPC // #define RT_USING_SERIAL +#define RT_SERIAL_USING_DMA // #define RT_UART_RX_BUFFER_SIZE 64 //