feat(rs485-boot): add STM32F103 and G474 ports
This commit is contained in:
9
c/rs485-boot/CMakeLists.txt
Normal file
9
c/rs485-boot/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(rs485_boot C)
|
||||
add_library(rs485_boot src/rs485_boot.c)
|
||||
target_include_directories(rs485_boot PUBLIC include)
|
||||
if(BUILD_TESTING)
|
||||
add_executable(test_rs485_boot tests/test_rs485_boot.c)
|
||||
target_link_libraries(test_rs485_boot PRIVATE rs485_boot)
|
||||
add_test(NAME rs485_boot COMMAND test_rs485_boot)
|
||||
endif()
|
||||
Reference in New Issue
Block a user