pimoroni-pico/examples/inky_frame/inky_frame_day_planner.cmake

31 wiersze
926 B
CMake
Czysty Zwykły widok Historia

# Inky Frame 5.7"
add_executable(
inky_frame_day_planner
inky_frame_day_planner.cpp
)
# Pull in pico libraries that we need
target_link_libraries(inky_frame_day_planner pico_stdlib inky_frame hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
2022-07-04 10:35:32 +00:00
pico_enable_stdio_usb(inky_frame_day_planner 1)
# create map/bin/hex file etc.
pico_add_extra_outputs(inky_frame_day_planner)
# Inky Frame 7.3"
2022-07-04 10:35:32 +00:00
add_executable(
inky_frame_7_day_planner
2022-07-04 10:35:32 +00:00
inky_frame_day_planner.cpp
)
# Pull in pico libraries that we need
target_link_libraries(inky_frame_7_day_planner pico_stdlib inky_frame_7 hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
2022-07-04 10:35:32 +00:00
pico_enable_stdio_usb(inky_frame_7_day_planner 1)
2022-07-04 10:35:32 +00:00
# create map/bin/hex file etc.
pico_add_extra_outputs(inky_frame_7_day_planner)
target_compile_definitions(inky_frame_7_day_planner PUBLIC INKY_FRAME_7)