pimoroni-pico/examples/badger2040/badger2040_sleep.cmake

13 wiersze
279 B
CMake

set(OUTPUT_NAME badger2040_sleep)
add_executable(${OUTPUT_NAME} badger2040_sleep.cpp)
target_link_libraries(${OUTPUT_NAME}
badger2040
hardware_spi
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})