subrepo: subdir: "components/f4ll" merged: "a4df325" upstream: origin: "ssh://git@codeberg.org/abody/f4ll.git" branch: "master" commit: "a4df325" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
19 lines
479 B
CMake
19 lines
479 B
CMake
add_library(f4ll STATIC
|
|
src/console_handler.cpp
|
|
src/crc_handler.cpp
|
|
src/dma_helper.cpp
|
|
src/fault.cpp
|
|
src/memcpy_dma.cpp
|
|
src/packet_usart.cpp
|
|
src/str_util.cpp
|
|
src/usart_core.cpp
|
|
)
|
|
|
|
target_include_directories(f4ll PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
|
)
|
|
|
|
target_link_libraries(f4ll PUBLIC platform stm32cubemx)
|
|
|
|
# ST code quality workaround - Suppres register storage class warning (C++17...)
|
|
target_compile_options(f4ll PRIVATE -Wno-register)
|