2021-01-15 18:19:39 +00:00
|
|
|
add_executable(
|
|
|
|
display
|
|
|
|
demo.cpp
|
|
|
|
image_data.cpp
|
2021-01-16 12:26:03 +00:00
|
|
|
pico_display.cpp
|
2021-01-15 18:19:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-01-16 15:02:18 +00:00
|
|
|
target_link_libraries(display pico_stdlib hardware_spi hardware_pwm hardware_dma st7789 pico_graphics)
|
2021-01-15 18:19:39 +00:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
2021-01-16 14:43:21 +00:00
|
|
|
pico_add_extra_outputs(display)
|