18 lines
537 B
CMake
18 lines
537 B
CMake
cmake_minimum_required(VERSION 3.12)
|
|
|
|
# Pull in SDK (must be before project)
|
|
include(pico_sdk_import.cmake)
|
|
|
|
project(base10-t1s)
|
|
|
|
# Initialize the SDK
|
|
pico_sdk_init()
|
|
|
|
add_executable(pio_differential_manchester)
|
|
|
|
pico_generate_pio_header(pio_differential_manchester ${CMAKE_CURRENT_LIST_DIR}/differential_manchester.pio)
|
|
|
|
target_sources(pio_differential_manchester PRIVATE differential_manchester.c)
|
|
|
|
target_link_libraries(pio_differential_manchester PRIVATE pico_stdlib hardware_pio)
|
|
pico_add_extra_outputs(pio_differential_manchester)
|