kopia lustrzana https://github.com/pimoroni/pimoroni-pico
commit
cfee94a69d
|
@ -20,6 +20,10 @@ jobs:
|
|||
board: pico
|
||||
- name: Pico W
|
||||
board: pico_w
|
||||
- name: Pico 2
|
||||
board: pico2
|
||||
- name: Pico 2 W
|
||||
board: pico2_w
|
||||
|
||||
env:
|
||||
PICO_SDK_PATH: $GITHUB_WORKSPACE/pico-sdk
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
add_subdirectory(buttons)
|
||||
add_subdirectory(chase_game)
|
||||
if (TARGET hardware_rtc)
|
||||
add_subdirectory(clock)
|
||||
else()
|
||||
message("Skipping breakout_encoder_wheel/clock example as hardware_rtc is unavailable on this platform")
|
||||
endif()
|
||||
add_subdirectory(colour_picker)
|
||||
add_subdirectory(encoder)
|
||||
add_subdirectory(gpio_pwm)
|
||||
|
|
|
@ -6,7 +6,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# Pull in pico libraries that we need
|
||||
target_link_libraries(${OUTPUT_NAME} pico_stdlib psram_display inky73 inky_frame hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
|
||||
target_link_libraries(${OUTPUT_NAME} pico_stdlib psram_display inky73 inky_frame hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(${OUTPUT_NAME} 0)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# 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)
|
||||
target_link_libraries(inky_frame_day_planner pico_stdlib inky_frame hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(inky_frame_day_planner 1)
|
||||
|
||||
|
@ -19,7 +19,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# 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)
|
||||
target_link_libraries(inky_frame_7_day_planner pico_stdlib inky_frame_7 hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(inky_frame_7_day_planner 1)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# Pull in pico libraries that we need
|
||||
target_link_libraries(inky_frame_jpeg_image pico_stdlib jpegdec inky_frame fatfs hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
|
||||
target_link_libraries(inky_frame_jpeg_image pico_stdlib jpegdec inky_frame fatfs hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(inky_frame_jpeg_image 1)
|
||||
|
||||
|
@ -18,7 +18,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# Pull in pico libraries that we need
|
||||
target_link_libraries(inky_frame_7_jpeg_image pico_stdlib jpegdec inky_frame_7 fatfs hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
|
||||
target_link_libraries(inky_frame_7_jpeg_image pico_stdlib jpegdec inky_frame_7 fatfs hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(inky_frame_7_jpeg_image 1)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# 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)
|
||||
target_link_libraries(${OUTPUT_NAME} pico_stdlib inky_frame hardware_pwm hardware_spi hardware_i2c fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue