uploaded 7 months ago
This component is an example, to be used with the IDF component manager.

readme

# Example Component

This component is an example, to be used with the IDF component manager.

To use it with your ESP-IDF project make sure that [the component manager](https://pypi.org/project/idf-component-manager/) is installed and create the manifest `idf_component.yml` in the project's `main` component directory:

```yaml
dependencies:
  example/cmp: "^3.3.3"
```

## API

This component defines only one function `void cmp_hello()` that prints a welcome message.

### Example

```C
#include "cmp.h"

void app_main(void)
{
    cmp_hello();
}
```

changelog

## 3.3.9

- Add more fields to the manifest of `cmp`

## 3.3.8

- Add example

## 3.3.7

- Fix accidentally excluded header file

## 3.3.6

- Add repository url and description

## 3.3.5

- Fix function declaration isn't a prototype

## 3.3.4

- Fix function prototype

## 3.3.3

- Add use cases to the readme
- Add license

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "example/cmp^3.3.9"

or download archive

Dependencies

  • ESP-IDF >=4.1
  • Examples:

    cmp_ex

    To create a project from this example, run:

    idf.py create-project-from-example "example/cmp^3.3.9:cmp_ex"

    or download archive

    Stats

    • Downloaded in total
      Downloaded in total 263.4k times
    • Downloaded this version
      This version: 29.2k times

    Badge

    example/cmp version: 3.3.9
    |