Files
pico-examples/pico_w/blink/CMakeLists.txt
graham sanderson 01e8128953 Add Pico W examples
2022-06-29 23:12:10 -05:00

15 lines
400 B
CMake

add_executable(picow_blink
picow_blink.c
)
target_link_libraries(picow_blink
pico_stdlib # for core functionality
pico_cyw43_arch_none # we need Wifi to access the GPIO, but we don't need anything else
)
# create map/bin/hex file etc.
pico_add_extra_outputs(picow_blink)
# add url via pico_set_program_url
example_auto_set_url(picow_blink)