generated from hulk/gd32e23x_template_cmake_vscode
添加RTT支持并清理一些无效内容
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
project(SEGGER_RTT LANGUAGES C)
|
||||
|
||||
add_library(SEGGER_RTT STATIC
|
||||
SEGGER_RTT.c
|
||||
SEGGER_RTT_printf.c
|
||||
)
|
||||
|
||||
target_include_directories(SEGGER_RTT PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(SEGGER_RTT PUBLIC CMSIS)
|
||||
Reference in New Issue
Block a user