move I2C communication to arbiter
This commit is contained in:
@@ -4,6 +4,7 @@ set(KPI_Rover_Arbiter_I2C_Inc
|
||||
|
||||
set(KPI_Rover_Arbiter_I2C_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hwI2C.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/drvI2C.c
|
||||
)
|
||||
|
||||
add_library(KPI_Rover_Arbiter_I2C STATIC)
|
||||
@@ -18,6 +19,7 @@ target_sources(KPI_Rover_Arbiter_I2C PRIVATE
|
||||
|
||||
target_link_libraries(KPI_Rover_Arbiter_I2C PRIVATE
|
||||
HAL_H
|
||||
FREERTOS_H
|
||||
)
|
||||
|
||||
add_library(KPI_Rover_Arbiter_I2C_H INTERFACE)
|
||||
|
||||
Reference in New Issue
Block a user