pimoroni-pico/examples/pico_wireless/demo.cmake

15 wiersze
338 B
CMake
Czysty Zwykły widok Historia

2021-04-07 22:25:08 +00:00
add_executable(
wireless_time
demo.cpp
)
# enable usb output, disable uart output
pico_enable_stdio_usb(wireless_time 1)
2021-05-14 09:44:12 +00:00
pico_enable_stdio_uart(wireless_time 1)
2021-04-07 22:25:08 +00:00
# Pull in pico libraries that we need
target_link_libraries(wireless_time pico_stdlib pico_wireless)
# create map/bin/hex file etc.
pico_add_extra_outputs(wireless_time)