Giter Site home page Giter Site logo

pontuso / esphost Goto Github PK

View Code? Open in Web Editor NEW

This project forked from networking-for-arduino/esphost

0.0 0.0 0.0 2.64 MB

Arduino driver for communicating with Espressif's esp-hosted-fg firmware

License: GNU Lesser General Public License v2.1

Shell 0.08% C++ 20.77% C 79.15%

esphost's Introduction

ESPHost library

Arduino driver for communicating with Espressif's esp-hosted-fg firmware.

The library is meant to serve as low level driver for a LwIP network interface implementation.

The library was originally made by Arduino for Portenta C33 with Arduino Renesas Core.

Integration

This standalone ESPHost library is now used by lwIP_ESPHost library in Pico Core for RP2040 and in ESPHost-EMAC library for Arduino Mbed Core.

Hardware

The esp-hosted firmware version 0.5.0 runs on classic ESP32, ESP32-S2/S3, ESP32-C2/C3. The pins for released firmware builds are described in esp-hosted-fg documentation. Firmware builds for some specific boards are in this repository in extras/firmware.

Arduino Nano RP2040 Connect is the ideal board for ESPHost because it has on board ESP32 NINA module and it can be used with the Mbed Core and with the Pico Core.

The Adafruit AirLift shields in combination with Adafruit RP2040 boards offer a simple hardware setup in all sizes (Metro, Feather, ItsyBitsy).

The iLabs Challenger 2040 WiFi/BLE board has ESP32-C3 on board.

Configuration

Pins are configured with defines. To add the defines, modify boards.txt or create boards.local.txt next to boards.txt and add <board>.build.extra_flags. For boards with defines for the WiFiNINA library it is enough to add -DESPHOSTSPI.

Complete settings require to specify pins. Example:

rpipico.build.extra_flags=-DESPHOST_RESET=D5 -DESPHOST_HANDSHAKE=D7 -DESPHOST_DATA_READY=D6 -DESPHOST_CS=D10 -DESPHOSTSPI=SPI

Default SPI frequency set in the library is 10 MHz. It is the highest SPI speed for classic ESP32. Firmware for C and S series ESP32 are build with higher SPI frequency. To specify the SPI frequency to be used by the ESPHost library, add -DESPHOSTSPI_MHZ=30 to <board>.build.extra_flags.

Notes

esphost's People

Contributors

aentinger avatar earlephilhower avatar facchinm avatar jandrassy avatar maidnl avatar pennam avatar

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.