Merge pull request #1077 from pimoroni/ci/rp2350

CI: Add Pico 2 and Pico 2 W builds.
pull/1081/head
Philip Howard 2025-05-27 14:06:34 +01:00 zatwierdzone przez GitHub
commit cfee94a69d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
6 zmienionych plików z 14 dodań i 6 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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)

Wyświetl plik

@ -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)

Wyświetl plik

@ -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)

Wyświetl plik

@ -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)

Wyświetl plik

@ -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)