Merge branch 'feature/examples_use_manifest_for_deps' into 'master'

feat(examples): add local components via idf_component.yml

See merge request espressif/esp-idf!25228
This commit is contained in:
Ivan Grokhotkov
2023-09-20 20:14:14 +08:00
202 changed files with 428 additions and 273 deletions
@@ -7,9 +7,11 @@ It could be used to route lwip traffic to host side network, typically when work
### Usage of the API
1) Add the path to this component to the `EXTRA_COMPONENT_DIRS` in your project makefile
```cmake
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/common_components/tapif_io")
1) Add the path to this component to as a dependency to the `main` component of your project using the following idf_component.yml file:
```yaml
dependencies:
tapif_io:
path: ${IDF_PATH}/examples/common_components/tapif_io
```
2) Include lwip and linux side of the configuration
```cpp