+tested IMU, +tested PCA9685, fail to work together
This commit is contained in:
@@ -6,6 +6,10 @@ target_include_directories(KPI_Rover PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
set(KPIROVER_ARBITERS
|
||||
I2C
|
||||
)
|
||||
|
||||
set(KPIROVER_COMPONENTS
|
||||
ADC
|
||||
Communication
|
||||
@@ -13,9 +17,17 @@ set(KPIROVER_COMPONENTS
|
||||
Logger
|
||||
Motors
|
||||
Encoders
|
||||
IMU
|
||||
#Storage
|
||||
)
|
||||
|
||||
foreach(arb ${KPIROVER_ARBITERS})
|
||||
add_subdirectory(Arbiters/${arb})
|
||||
target_link_libraries(KPI_Rover PRIVATE
|
||||
KPI_Rover_Arbiter_${arb}
|
||||
KPI_Rover_Arbiter_${arb}_H
|
||||
)
|
||||
endforeach()
|
||||
|
||||
foreach(comp ${KPIROVER_COMPONENTS})
|
||||
add_subdirectory(${comp})
|
||||
|
||||
Reference in New Issue
Block a user