nucleo_f446re_playground/components/f4ll/CMakeLists.txt
Attila Body 61fce5992e
git subrepo clone ssh://git@codeberg.org/abody/f4ll.git components/f4ll
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:   "???"
2025-06-09 18:13:21 +02:00

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)