Function to test the SDK
This commit is contained in:
parent
3b32a4c37b
commit
61d4458f23
3 changed files with 157 additions and 0 deletions
13
test/CMakeLists.txt
Normal file
13
test/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
include(pico_sdk_import.cmake)
|
||||
project(test_project C CXX ASM)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
pico_sdk_init()
|
||||
add_executable(test
|
||||
test.c
|
||||
)
|
||||
pico_enable_stdio_usb(test 1)
|
||||
pico_enable_stdio_uart(test 1)
|
||||
pico_add_extra_outputs(test)
|
||||
target_link_libraries(test pico_stdlib)
|
||||
Loading…
Add table
Add a link
Reference in a new issue