pimoroni-pico/examples/tufty2040/tufty2040_drawing.cmake

16 lines
335 B
CMake
Raw Normal View History

2022-05-25 10:44:14 +01:00
set(OUTPUT_NAME tufty2040_drawing)
add_executable(${OUTPUT_NAME} tufty2040_drawing.cpp)
target_link_libraries(${OUTPUT_NAME}
tufty2040
hardware_spi
pico_graphics
st7789
2022-05-25 10:44:14 +01:00
button
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})