kopia lustrzana https://github.com/pimoroni/pimoroni-pico
15 wiersze
410 B
CMake
15 wiersze
410 B
CMake
set(OUTPUT_NAME inky_frame_day_planner)
|
|
|
|
add_executable(
|
|
${OUTPUT_NAME}
|
|
inky_frame_day_planner.cpp
|
|
)
|
|
|
|
# Pull in pico libraries that we need
|
|
target_link_libraries(${OUTPUT_NAME} pico_stdlib inky_frame 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})
|