Giter Club home page Giter Club logo

esp-bsp's Introduction

pre-commit

ESP-BSP: Espressif's Board Support Packages

Board support packages for development boards using Espressif's SoCs, written in C.

Supported boards

Board name SoC Features Photo
ESP-WROVER-KIT ESP32 LCD display, uSD card slot
ESP-BOX ESP32-S3 LCD display with touch, audio codec + power amplifier,
accelerometer and gyroscope
ESP32-Azure IoT Kit ESP32 OLED display, uSD card slot, accelerometer,
magnetometer, humidity, pressure, light
and temperature sensors
ESP32-S2-Kaluga Kit ESP32-S2 LCD display, audio codec + power amplifier,
smart LED and camera
ESP32-S3-USB-OTG ESP32-S3 LCD display, uSD card slot, USB-OTG
ESP32-S3-EYE ESP32-S3 LCD display, camera, uSD card slot, microphone and accelerometer
ESP32-S3-LCD-EV-BOARD ESP32-S3 LCD display with touch, audio codec + power amplifier

LCD and TOUCH drivers

The BSP repository includes lot of LCD and Touch driver components. The list of available and planned LCDs is here.

How to use

Examples

Best way to start with ESP-BSP is trying one of the examples on your board. Every example contains README.md with a list of supported boards. Here is the summary of the available examples:

Example Supported boards
display WROVER-KIT
display_audio Kaluga-kit
display_camera Kaluga-kit
display_audio_photo ESP-BOX
display_rotation ESP-BOX
display_lvgl_demos ESP32-S3-LCD-EV-BOARD
mqtt_example Azure-IoT-kit
rainmaker_example Azure-IoT-kit
sensors_example Azure-IoT-kit

BSP headers

Each BSP provides its header file in 'bsp' subfolder, so it can be included as follows: #include "bsp/name-of-the-bsp.h".

For you convenience, each BSP also provides a wrapper header, which has the same name for all BSPs: #include "bsp/esp-bsp.h".

NOTE: There can be only one BSP in a single esp-idf project.

In a custom project

Packages from this repository are uploaded to the IDF component registry. You can add them to your project via idf.py add-dependency, e.g.

    idf.py add-dependency esp_wrover_kit==1.0.0

Alternatively, you can create idf_component.yml file manually, such as in this example.

Recommendation for custom projects

When you want to use a BSP in a real project, it is highly recommended to disable configuration option CONFIG_BSP_ERROR_CHECK in menuconfig. You should check all returned error codes from all BSP functions you call. Otherwise, if the option CONFIG_BSP_ERROR_CHECK is enabled, any error encountered in a BSP will abort the program.

Migration to ESP-IDF v5.0

ESP-IDF v5.0 brings a lot of new features, but, as the bump in major version suggests, also a lot of breaking changes.

ESP-BSP is kept up-to-date with the latest ESP-IDF version, but some breaking changes in ESP-BSP API are inevitable. Usually, BSPs compatible with IDF v5.0 are version 2. If you want to use BSP with IDF v4.4 you can still use version 1 of the particular BSP.

More information about ESP-IDF breaking changes can be found in the official migration guide.

Additional information

More information about idf-component-manager can be found in Espressif API guide or PyPi registry.

Contributing to ESP-BSP

Please check CONTRIBUTING.md if you'd like to contribute to ESP-BSP.

Copyrights and License

All original source code in this repository is Copyright (c) Espressif Systems (Shanghai) Co. Ltd., and is licensed under the Apache 2.0 license.

esp-bsp's People

Contributors

atanisoft avatar dazza0 avatar espzav avatar igrr avatar kumekay avatar l-kaya avatar lzw655 avatar o-marshmallow avatar sudeep-mohanty avatar tore-espressif avatar vojtechbartoska avatar yhanchristian 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.