diff options
| author | Bernard Xiong <[email protected]> | 2018-12-17 19:31:55 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-17 19:31:55 +0800 |
| commit | dcf74bce45f8caf2a3209f498f2675dee5df8500 (patch) | |
| tree | 55ac07aa7e83e3fc7bac766ee9122a582bc2a9ad /bsp/simulator | |
| parent | 453a3b3cbe6e83a9bdd39cf5ff020de018dcaee2 (diff) | |
| parent | 87b407ff18aee13514e41337da45354c6577f273 (diff) | |
Merge pull request #2078 from ErnestChen1/master
【串口】宏定义对应增加
Diffstat (limited to 'bsp/simulator')
| -rw-r--r-- | bsp/simulator/.config | 1 | ||||
| -rwxr-xr-x | bsp/simulator/rtconfig.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bsp/simulator/.config b/bsp/simulator/.config index be55343ce7..dbb69fd390 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 995ab93c3b..4955172df7 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 */ |
