pimoroni-pico/examples/tufty2040/tufty2040_drawing.cmake

16 lines
335 B
CMake

set(OUTPUT_NAME tufty2040_drawing)
add_executable(${OUTPUT_NAME} tufty2040_drawing.cpp)
target_link_libraries(${OUTPUT_NAME}
tufty2040
hardware_spi
pico_graphics
st7789
button
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})