Giter Site home page Giter Site logo

Support for ESP32 about compile-sketches HOT 2 CLOSED

arduino avatar arduino commented on July 23, 2024
Support for ESP32

from compile-sketches.

Comments (2)

ibaranov-cp avatar ibaranov-cp commented on July 23, 2024 1

Awesome, thank you for the super quick and detailed response, and the direct PR!
Merged, and very much appreciated @per1234

from compile-sketches.

per1234 avatar per1234 commented on July 23, 2024

Hi @ibaranov-cp. Thanks for your interest in this project!

Yes, all Arduino boards platforms are supported. This is a general purpose tool designed specifically with this sort of flexibility in mind.

You can see an example of ESP32 being used with the action in this workflow for the Arduino_ConnectionHandler library here:
https://github.com/arduino-libraries/Arduino_ConnectionHandler/blob/master/.github/workflows/compile-examples.yml

There is something fairly unique about the ESP32 platform which requires some special treatment for installation, both locally as well as in the GitHub Actions runner. We are accustomed to Arduino Boards platforms installing all necessary dependencies automatically during the Boards Manager installation. However, the ESP32 platform does not. The platform has a dependency on the pyserial Python package, and the user is expected to install this themselves. This did require an adjustment of the configuration of this action's virtual environment, but that has been done already some time ago (#15) and so it is now no problem to install the external dependency, as you can see done here:
https://github.com/arduino-libraries/Arduino_ConnectionHandler/blob/0.6.3/.github/workflows/compile-examples.yml#L110

If you run into any problems using the action with ESP32, I can help out over on the relevant pull request (Blueprint-Foundry/Shelly#3).

from compile-sketches.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.