pimoroni-pico/examples/pico_wireless/cheerlights.cmake

15 lines
380 B
CMake
Raw Normal View History

2021-04-08 15:09:55 +01:00
add_executable(
wireless_cheerlights
cheerlights.cpp
)
# enable usb output, disable uart output
pico_enable_stdio_usb(wireless_cheerlights 1)
pico_enable_stdio_uart(wireless_cheerlights 1)
# Pull in pico libraries that we need
target_link_libraries(wireless_cheerlights pico_stdlib pico_wireless)
# create map/bin/hex file etc.
pico_add_extra_outputs(wireless_cheerlights)