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: "???"
This commit is contained in:
parent
ce3dd83b9f
commit
61fce5992e
22 changed files with 1750 additions and 0 deletions
19
components/f4ll/CMakeLists.txt
Normal file
19
components/f4ll/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue