添加LetterShell库

This commit is contained in:
2026-05-26 22:23:44 +08:00
parent bedceb1785
commit a91d6db680
4 changed files with 4 additions and 5 deletions
Generated
+1 -1
View File
@@ -3,6 +3,6 @@
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/VoiletBspStm32F10x" vcs="Git" />
<mapping directory="$PROJECT_DIR$/VoiletBspStm32F10x/ThirdParty/LetterShell" vcs="Git" />
<mapping directory="$PROJECT_DIR$/VoiletBspStm32F10x/ThirdParty/LetterShellV3" vcs="Git" />
</component>
</project>
-1
View File
@@ -21,7 +21,6 @@
#if (DO_NUM != 0)
#endif
#define TTY_COM COM1
#define TTY_BAUD 115200
typedef struct {
+2 -2
View File
@@ -80,7 +80,7 @@ include_directories(
VoiletBspStm32F10x/StdLib/Inc
VoiletBspStm32F10x/System
VoiletBspStm32F10x/System/Cmsis/Inc
VoiletBspStm32F10x/ThirdParty/LetterShell/Inc
VoiletBspStm32F10x/ThirdParty/LetterShellV3/Inc
)
# [我加的] 自动收集源文件(递归搜索指定目录下的所有源文件)
@@ -91,7 +91,7 @@ file(GLOB_RECURSE SOURCES
VoiletBspStm32F10x/StdLib/Src/*.c
VoiletBspStm32F10x/System/*.c
VoiletBspStm32F10x/System/Cmsis/Src/*.c
VoiletBspStm32F10x/ThirdParty/LetterShell/Src/*.c
VoiletBspStm32F10x/ThirdParty/LetterShellV3/Src/*.c
)
# [我加的] 排除模板文件和测试套件
list(FILTER SOURCES EXCLUDE REGEX ".*template.*")