led流水灯

This commit is contained in:
2026-08-11 00:56:52 +08:00
parent d363e04b64
commit 57e7ee15e5
4 changed files with 77 additions and 5 deletions

View File

@@ -29,12 +29,14 @@ add_executable(${CMAKE_PROJECT_NAME}
CMSIS/system_stm32f10x.c
${SPL_SRC}
User/main.c
BSP/Delay.c
)
target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
CMSIS # stm32f10x.h, core_cm3.h, system_stm32f10x.h
StdPeriph_Driver/inc # stm32f10x_gpio.h 等外设头
User # stm32f10x_conf.h
BSP # delay.h
)
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE