Update README.md

This commit is contained in:
Lurkars 2020-09-29 20:53:39 +02:00 committed by GitHub
parent 5ba07ae442
commit af56fc6a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,19 @@ For base functionality just an ESP32 is required.
### Include into project
To include these components into an esp-idf project, include the following into the CMakeLists.txt
```
include(FetchContent)
FetchContent_Declare(
esp-ena
GIT_REPOSITORY https://github.com/Lurkars/esp-ena.git
GIT_TAG origin/component
)
FetchContent_MakeAvailable(esp-ena)
set(EXTRA_COMPONENT_DIRS ${esp-ena_SOURCE_DIR}/components)
```
## Structure
The project is divided in different components. The main.c just wrap up all components. The Exposure Notification API is in **ena** module