|
|
|
@ -28,15 +28,17 @@ target_compile_definitions(INIT PRIVATE ${C_DEFS})
|
|
|
|
|
target_include_directories(INIT PUBLIC ${PERIFERALS_DIR} ${CSL_INCLUDES})
|
|
|
|
|
add_library(sub::init ALIAS INIT)
|
|
|
|
|
|
|
|
|
|
add_library(TIMER ${CSL_SOURCES}/timer.c)
|
|
|
|
|
target_compile_options(TIMER PRIVATE ${C_FLAGS})
|
|
|
|
|
target_compile_definitions(TIMER PRIVATE ${C_DEFS})
|
|
|
|
|
target_include_directories(TIMER PUBLIC ${PERIFERALS_DIR} ${CSL_INCLUDES})
|
|
|
|
|
add_library(sub::timer ALIAS TIMER)
|
|
|
|
|
|
|
|
|
|
add_library(I2C i2c.c ${CSL_SOURCES}/imp_i2c.c)
|
|
|
|
|
target_compile_options(I2C PRIVATE ${C_FLAGS})
|
|
|
|
|
target_compile_definitions(I2C PRIVATE ${C_DEFS})
|
|
|
|
|
target_include_directories(I2C PUBLIC ${PERIFERALS_DIR} ${CSL_INCLUDES})
|
|
|
|
|
add_library(sub::i2c ALIAS I2C)
|
|
|
|
|
|
|
|
|
|
add_library(TIMER ${CSL_SOURCES}/imp_timer.c)
|
|
|
|
|
target_compile_options(TIMER PRIVATE ${C_FLAGS})
|
|
|
|
|
target_compile_definitions(TIMER PRIVATE ${C_DEFS})
|
|
|
|
|
target_include_directories(TIMER PUBLIC ${PERIFERALS_DIR} ${CSL_INCLUDES})
|
|
|
|
|
add_library(sub::timer ALIAS TIMER)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|