+tested IMU, +tested PCA9685, fail to work together
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
set(KPI_Rover_Arbiter_I2C_Inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
set(KPI_Rover_Arbiter_I2C_Src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hwI2C.c
|
||||
)
|
||||
|
||||
add_library(KPI_Rover_Arbiter_I2C STATIC)
|
||||
|
||||
target_include_directories(KPI_Rover_Arbiter_I2C PRIVATE
|
||||
${KPI_Rover_Arbiter_I2C_Inc}
|
||||
)
|
||||
|
||||
target_sources(KPI_Rover_Arbiter_I2C PRIVATE
|
||||
${KPI_Rover_Arbiter_I2C_Src}
|
||||
)
|
||||
|
||||
target_link_libraries(KPI_Rover_Arbiter_I2C PRIVATE
|
||||
HAL_H
|
||||
)
|
||||
|
||||
add_library(KPI_Rover_Arbiter_I2C_H INTERFACE)
|
||||
target_include_directories(KPI_Rover_Arbiter_I2C_H INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
Reference in New Issue
Block a user