实现串口驱动,移植方便

This commit is contained in:
冯佳
2026-01-22 16:36:56 +08:00
parent 2ef4dac5bd
commit 51e8d79f78
151 changed files with 4064 additions and 11050 deletions

View File

@ -58,6 +58,44 @@ rule C_COMPILER__STM32_Drivers_unscanned_Debug
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__hal_unscanned_Debug
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}D:\ARM_GCC\bin\arm-none-eabi-gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for linking C static library.
rule C_STATIC_LIBRARY_LINKER__hal_Debug
command = C:\windows\system32\cmd.exe /C "$PRE_LINK && C:\Users\ZHIZHANKEJI\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe -E rm -f $TARGET_FILE && D:\ARM_GCC\bin\arm-none-eabi-ar.exe qc $TARGET_FILE $LINK_FLAGS $in && D:\ARM_GCC\bin\arm-none-eabi-ranlib.exe $TARGET_FILE && $POST_BUILD"
description = Linking C static library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling C files.
rule C_COMPILER__bsp_unscanned_Debug
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}D:\ARM_GCC\bin\arm-none-eabi-gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for linking C static library.
rule C_STATIC_LIBRARY_LINKER__bsp_Debug
command = C:\windows\system32\cmd.exe /C "$PRE_LINK && C:\Users\ZHIZHANKEJI\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe -E rm -f $TARGET_FILE && D:\ARM_GCC\bin\arm-none-eabi-ar.exe qc $TARGET_FILE $LINK_FLAGS $in && D:\ARM_GCC\bin\arm-none-eabi-ranlib.exe $TARGET_FILE && $POST_BUILD"
description = Linking C static library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling C files.
@ -96,6 +134,44 @@ rule C_STATIC_LIBRARY_LINKER__delay_Debug
restat = $RESTAT
#############################################
# Rule for compiling C files.
rule C_COMPILER__uart_unscanned_Debug
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}D:\ARM_GCC\bin\arm-none-eabi-gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for linking C static library.
rule C_STATIC_LIBRARY_LINKER__uart_Debug
command = C:\windows\system32\cmd.exe /C "$PRE_LINK && C:\Users\ZHIZHANKEJI\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe -E rm -f $TARGET_FILE && D:\ARM_GCC\bin\arm-none-eabi-ar.exe qc $TARGET_FILE $LINK_FLAGS $in && D:\ARM_GCC\bin\arm-none-eabi-ranlib.exe $TARGET_FILE && $POST_BUILD"
description = Linking C static library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling C files.
rule C_COMPILER__logging_unscanned_Debug
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}D:\ARM_GCC\bin\arm-none-eabi-gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for linking C static library.
rule C_STATIC_LIBRARY_LINKER__logging_Debug
command = C:\windows\system32\cmd.exe /C "$PRE_LINK && C:\Users\ZHIZHANKEJI\AppData\Local\Programs\Python\Python311\Lib\site-packages\cmake\data\bin\cmake.exe -E rm -f $TARGET_FILE && D:\ARM_GCC\bin\arm-none-eabi-ar.exe qc $TARGET_FILE $LINK_FLAGS $in && D:\ARM_GCC\bin\arm-none-eabi-ranlib.exe $TARGET_FILE && $POST_BUILD"
description = Linking C static library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for re-running cmake.