From 96b60370d3f00643778c4831b6f8d3c92ecfb98d Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Mon, 28 Oct 2024 22:14:18 +0100 Subject: [PATCH] Try re-activate RPI --- .github/workflows/ci.yml | 4 ++-- platformio.ini | 15 ++++++--------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e712f1..c062a23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,8 +127,8 @@ jobs: - env: ci-esp8266 board: d1_mini - # - env: ci-raspberrypi - # board: rpipicow + - env: ci-raspberrypi + board: rpipicow steps: - name: Checkout uses: actions/checkout@v4 diff --git a/platformio.ini b/platformio.ini index 317fb00..cb76487 100644 --- a/platformio.ini +++ b/platformio.ini @@ -76,15 +76,11 @@ lib_deps = bblanchon/ArduinoJson @ 7.2.0 esphome/ESPAsyncTCP-esphome @ 2.0.0 -; PlatformIO support for Raspberry Pi Pico is not official -; https://github.com/platformio/platform-raspberrypi/pull/36 -; https://github.com/earlephilhower/arduino-pico/blob/master/docs/platformio.rst -; board settings: https://github.com/earlephilhower/arduino-pico/blob/master/tools/json/rpipico.json [env:raspberrypi] -upload_protocol = picotool -platform = raspberrypi -; platform = https://github.com/maxgerhardt/platform-raspberrypi#v1.2.0-gcc12 +platform = https://github.com/maxgerhardt/platform-raspberrypi.git board = rpipicow +lib_ldf_mode = chain +lib_compat_mode = soft lib_deps = bblanchon/ArduinoJson @ 7.2.0 khoih-prog/AsyncTCP_RP2040W @ 1.2.0 @@ -119,9 +115,10 @@ lib_deps = esphome/ESPAsyncTCP-esphome @ 2.0.0 [env:ci-raspberrypi] -; platform = raspberrypi -platform = https://github.com/maxgerhardt/platform-raspberrypi.git#f2687073f73d554c9db41f29b4769fd9703f4e55 +platform = https://github.com/maxgerhardt/platform-raspberrypi.git board = ${sysenv.PIO_BOARD} +lib_ldf_mode = chain +lib_compat_mode = soft lib_deps = bblanchon/ArduinoJson @ 7.2.0 khoih-prog/AsyncTCP_RP2040W @ 1.2.0