|
|
|
@ -22,6 +22,7 @@ target_compile_definitions(USART PRIVATE ${C_DEFS})
|
|
|
|
|
target_include_directories(USART PUBLIC ${PERIFERALS_DIR} ${CSL_INCLUDES})
|
|
|
|
|
add_library(sub::usart ALIAS USART)
|
|
|
|
|
|
|
|
|
|
# TODO: this point needs to be discussed. How should it work and what should it do?
|
|
|
|
|
add_library(INIT ${CSL_SOURCES}/deviceSetup.c)
|
|
|
|
|
target_compile_options(INIT PRIVATE ${C_FLAGS})
|
|
|
|
|
target_compile_definitions(INIT PRIVATE ${C_DEFS})
|
|
|
|
|