pimoroni-pico/examples/badger2040/badger2040_drawing.cmake

13 lines
283 B
CMake
Raw Normal View History

2022-01-07 14:46:16 +00:00
set(OUTPUT_NAME badger2040_drawing)
add_executable(${OUTPUT_NAME} badger2040_drawing.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})