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
|
2022-06-07 19:02:30 +01:00
|
|
|
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})
|