kopia lustrzana https://github.com/pimoroni/pimoroni-pico
14 wiersze
349 B
CMake
14 wiersze
349 B
CMake
add_executable(
|
|
display
|
|
demo.cpp
|
|
image_data.cpp
|
|
pico_display.cpp
|
|
../../../drivers/st7789/st7789.cpp
|
|
../../../libraries/pico_graphics/pico_graphics.cpp
|
|
)
|
|
|
|
# Pull in pico libraries that we need
|
|
target_link_libraries(display pico_stdlib hardware_spi hardware_pwm hardware_dma)
|
|
|
|
# create map/bin/hex file etc.
|
|
pico_add_extra_outputs(display) |