f103c8_minimal_ll/components/f1ll/CMakeLists.txt

15 lines
389 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)
# ST code quality workaround - Suppres register storage class warning (C++17...)
target_compile_options(f1ll PRIVATE -Wno-register)