Clan up the structure
This commit is contained in:
parent
340f0329fa
commit
45141798d8
42 changed files with 134 additions and 452 deletions
15
components/f1ll/CMakeLists.txt
Normal file
15
components/f1ll/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue