Skip to content

Install esp32:esp32 platform correctly in CI workflow #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Install esp32:esp32 platform correctly in CI workflow #3

merged 1 commit into from
Apr 14, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Apr 14, 2021

This change causes the latest release of the ESP32 boards platform to be installed via Boards Manager and the sketches to be compiled for its "ESP32 Wrover Module" board (https://github.com/espressif/arduino-esp32/blob/1.0.6/boards.txt#L157).

It was not clear to me whether you truly intended to use the unstable development version of the platform from the tip of the default branch of https://github.com/espressif/arduino-esp32.git. If so, you will still want to install the release version, as was done here, in order to install the toolchain (which cloning https://github.com/espressif/arduino-esp32.git doesn't provide), but then you'll want to add an additional element to the platforms input list which installs the platform via Git clone, overwriting the release platform that was installed via Boards Manager:

platforms:
  - source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    name: esp32:esp32
  - source-url: https://github.com/espressif/arduino-esp32.git
    name: esp32:esp32

This pull request does not provide you with a working CI workflow. The run is still failing due to missing library dependencies (and it looks like maybe at least one sketch is incompatible with ESP32), but it gets you one step closer to that goal.

@ibaranov-cp
Copy link
Member

Amazing, thank you!

@ibaranov-cp ibaranov-cp merged commit 8d81717 into Blueprint-Foundry:main Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants