Code Monkey home page Code Monkey logo

esp-idf-cxx's Introduction

ESP-IDF-C++

This project provides C++ wrapper classes around some components of esp-idf. It is organized as a component for the IDF component manager. You can find this component in the component registry.

NOTE

This component is in a beta-release phase. Some bits that are still missing (non-exhaustive list):

  • MQTT C++ classes
  • Default pin definition on Kconfig for some examples

A road map and detailed release document will be announced soon.

Requirements

No other special requirements are necessary.

Usage

Set up the IDF environment (i.e., . ./export.sh inside esp-idf). Then go to your project directory, use idf.py add-dependency espressif/esp-idf-cxx^1.0.0-beta (should only be done once) and you should be able to use this component.

esp-idf-cxx's People

Contributors

0xjakob avatar antmak avatar betoes avatar souchesouche avatar zikalino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp-idf-cxx's Issues

release plan?

wow, this sounds like a breaking change for esp-idf developers! is there a kind of plan for a stable and comprehensive release?

Naming convention in GPIO

All classes defined in gpio_cxx uses the following naming convention:
GPIO
but Output and OpenDrain use
GPIO_

As the project follows esp-idf coding style, these classes should be GPIOOutput and GPIOOpenDrain

Why the function name style change from GPIOInput() vs GPIO_Output()

Hello,

Is there a reason for the change in the name style between these two classes? Could we make a PR to change the class name, and provide a using statement to allow existing code to continue to compile?

If I find the time I could make the refactoring. But I would like some feedback concerning whether there was some rationale behind the current naming...

Thank you,
Michael Uman
Sr Software/Firmware Engineer
UmanSoft.ddns.net

Using esp-idf-cxx with ESP8266 SDK

Hi, I was wondering if it's possible to use this C++ wrapper for ESP8266?
I'm a bit new to ESP. I did configure the ESP8266 SDK in Qt Creator but didn't manage to use this C++ wrapper.
The idf.py add-dependency command doesn't work as there is no add-dependency option in the ESP8266 SDK's idf.py.

So, if the answer is yes, could you please provide a working example for it?

How to install

Hi! Should one put the github repo in the idf_component.yml?
I can not find this awesome component in the component registry

Thank you for the great work

ESP32-C6 Support

The library currently fails to compile for the ESP32-C6 target. Part of it seems to be the missing declaration of INVALID_GPIOS, but it looks like there's also something about the number of I2C that needs adjustment.

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.