14 lines
420 B
Markdown
14 lines
420 B
Markdown
|
|
# Components
|
|
|
|
These are examples of creating custom components for use in local projects or eventually published to the ESP-IDF component registry.
|
|
|
|
Official component examples can be found in the [ESP-BSP project](https://github.com/espressif/esp-bsp/tree/master/components).
|
|
|
|
The `idf.py` tool can be used to create a new component:
|
|
|
|
```bash
|
|
source /path/to/esp-idf/export.sh
|
|
idf.py create-component my-component
|
|
```
|