Files
pico-examples/pio/hello_pio/CMakeLists.txt
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

16 lines
337 B
CMake

add_executable(hello_pio)
pico_generate_pio_header(hello_pio ${CMAKE_CURRENT_LIST_DIR}/hello.pio)
target_sources(hello_pio PRIVATE hello.c)
target_link_libraries(hello_pio PRIVATE
pico_stdlib
hardware_pio
)
pico_add_extra_outputs(hello_pio)
# add url via pico_set_program_url
example_auto_set_url(hello_pio)