generated from hulk/gd32e23x_template
使用硬件IIC实现回去数据,并且,间隔缩小到300ms
This commit is contained in:
@@ -12,7 +12,7 @@ set(VERSION "V${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
||||
string(TIMESTAMP CURRENT_DATE "%Y-%m-%d")
|
||||
|
||||
# Options 1
|
||||
set(OPT1 "")
|
||||
set(OPT1 "_[HW_IIC]")
|
||||
#set(OPT1 "_[SW_IIC]")
|
||||
|
||||
# Options 2
|
||||
@@ -40,6 +40,7 @@ set(TARGET_C_SRC
|
||||
${CMAKE_SOURCE_DIR}/src/i2c.c
|
||||
${CMAKE_SOURCE_DIR}/src/fwdgt.c
|
||||
${CMAKE_SOURCE_DIR}/src/rs485_protocol.c
|
||||
${CMAKE_SOURCE_DIR}/src/gd60914.c
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${TARGET_C_SRC})
|
||||
|
||||
Reference in New Issue
Block a user