pimoroni-pico/examples/inky_frame/inky_frame_jpeg_image.cmake

15 lines
422 B
CMake
Raw Normal View History

2022-07-04 11:35:32 +01:00
set(OUTPUT_NAME inky_frame_jpeg_image)
add_executable(
${OUTPUT_NAME}
inky_frame_jpeg_image.cpp
)
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib jpegdec inky_frame fatfs hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})