添加board_config.h作为全部板上IO的宏定义位置,独立soft_i2c为单独文件

This commit is contained in:
2024-12-28 18:39:11 +08:00
parent 97587ba990
commit 7d6be9f390
7 changed files with 257 additions and 185 deletions

View File

@@ -29,6 +29,7 @@ set(TARGET_C_SRC
${CMAKE_SOURCE_DIR}/src/rs485.c
${CMAKE_SOURCE_DIR}/src/led.c
${CMAKE_SOURCE_DIR}/src/i2c.c
${CMAKE_SOURCE_DIR}/src/soft_i2c.c
)
add_executable(xlsw_3dp_LDC1612 ${TARGET_C_SRC})