From 2539f60df9f4bb1c3eedec9761b2900694c0dacb Mon Sep 17 00:00:00 2001 From: Junxiao Shi Date: Wed, 5 Jun 2024 20:37:29 -0400 Subject: [PATCH] ci: pin to ESP32 v2.x --- .github/workflows/build.yml | 10 +++++++--- README.md | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e097299..dab25a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,15 +15,18 @@ jobs: fqbn: esp8266:esp8266:nodemcuv2 - chip: ESP32 core-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json + core-version: @2 fqbn: esp32:esp32:esp32wrover build-args: --build-property=build.partitions=default_ffat arduino-libs: NimBLE-Arduino - chip: ESP32S2 core-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json + core-version: @2 fqbn: esp32:esp32:adafruit_magtag29_esp32s2 build-args: --build-property=build.partitions=default_ffat - chip: ESP32C3 core-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json + core-version: @2 fqbn: esp32:esp32:esp32c3 build-args: --build-property=build.partitions=default_ffat arduino-libs: NimBLE-Arduino @@ -34,7 +37,7 @@ jobs: fail-fast: false name: ${{ matrix.chip }} steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' if: ${{ matrix.pip-deps }} @@ -53,7 +56,8 @@ jobs: - name: Install Arduino cores run: | FQBN=${{ matrix.fqbn }} - arduino-cli core install ${FQBN%:*} --additional-urls "${{ matrix.core-url }}" + COREVER=${{ matrix.core-version }} + arduino-cli core install ${FQBN%:*}$COREVER --additional-urls "${{ matrix.core-url }}" echo ${{ matrix.pip-deps }} | xargs -r pip install echo ArduinoUnit ${{ matrix.arduino-libs }} | xargs -rn1 arduino-cli lib install - uses: actions/checkout@v4 @@ -92,7 +96,7 @@ jobs: - name: Build docs run: docs/build.sh - name: Deploy docs - uses: nwtgck/actions-netlify@v2.1 + uses: nwtgck/actions-netlify@v3 with: publish-dir: ./docs/html/ production-deploy: true diff --git a/README.md b/README.md index 81762e4..bec91e3 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ **esp8266ndn** library enables [Named Data Networking](https://named-data.net/) application development in Arduino environment. It supports [ESP8266](https://github.com/esp8266/Arduino), [ESP32, ESP32-S2, ESP32-C3](https://github.com/espressif/arduino-esp32), and [Adafruit nRF52](https://github.com/adafruit/Adafruit_nRF52_Arduino) microcontrollers. +Note: currently NDNph and esp8266ndn are compatible with ESP32 Arduino core v2.x; it is incompatible with ESP32 Arduino core v3.x at the moment. + * [Doxygen documentation](https://esp8266ndn.ndn.today/) * [#esp8266ndn on Twitter](https://twitter.com/hashtag/esp8266ndn) for announcements * [GitHub Issues](https://github.com/yoursunny/esp8266ndn) for bug reports and best-effort support