24 lines
377 B
CMake
24 lines
377 B
CMake
|
cmake_minimum_required(VERSION 3.12)
|
||
|
|
||
|
# Pull in SDK (must be before project)
|
||
|
include(pico_sdk_import.cmake)
|
||
|
|
||
|
project(pico_examples C CXX ASM)
|
||
|
set(CMAKE_C_STANDARD 11)
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
|
||
|
set(PICO_EXAMPLES_PATH ${PROJECT_SOURCE_DIR})
|
||
|
|
||
|
# Initialize the SDK
|
||
|
pico_sdk_init()
|
||
|
|
||
|
# Add blink example
|
||
|
add_subdirectory(examples/Transmit)
|
||
|
add_subdirectory(examples/Receive)
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|