2021-03-29 17:05:06 +01:00
|
|
|
add_executable(
|
2021-03-29 21:08:29 +01:00
|
|
|
wireless_time
|
2021-03-29 17:05:06 +01:00
|
|
|
demo.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# enable usb output, disable uart output
|
2021-03-29 21:08:29 +01:00
|
|
|
pico_enable_stdio_usb(wireless_time 1)
|
|
|
|
pico_enable_stdio_uart(wireless_time 0)
|
2021-03-29 17:05:06 +01:00
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-03-29 21:08:29 +01:00
|
|
|
target_link_libraries(wireless_time pico_stdlib pico_wireless)
|
2021-03-29 17:05:06 +01:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
2021-03-29 21:08:29 +01:00
|
|
|
pico_add_extra_outputs(wireless_time)
|