12 lines
256 B
CMake
12 lines
256 B
CMake
add_library(f1ll STATIC
|
|
src/usart_core.cpp
|
|
src/dma_helper.cpp
|
|
src/str_util.cpp
|
|
src/console_handler.cpp
|
|
)
|
|
|
|
target_include_directories(f1ll PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
|
)
|
|
|
|
target_link_libraries(f1ll PUBLIC platform stm32cubemx)
|