2022-05-12 16:02:56 +01:00
|
|
|
set(OUTPUT_NAME pico_display2_demo)
|
2021-06-17 15:33:05 +01:00
|
|
|
|
|
|
|
add_executable(
|
|
|
|
${OUTPUT_NAME}
|
2022-06-07 19:02:30 +01:00
|
|
|
pico_display_2_demo.cpp
|
2021-06-17 15:33:05 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2022-06-07 19:02:30 +01:00
|
|
|
target_link_libraries(${OUTPUT_NAME} pico_stdlib hardware_spi hardware_pwm hardware_dma rgbled button pico_display_2 st7789 pico_graphics)
|
2021-06-17 15:33:05 +01:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
2022-05-12 16:02:56 +01:00
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|