@@ -20,37 +20,15 @@ Follow the
20
20
### 2 - Install the IDF-Component Manager
21
21
22
22
Follow the
23
- [ idf-component manager installation guide] ( https://github. com/espressif /idf-component-manager#installing-the-idf-component-manager ) .
23
+ [ idf-component manager installation guide] ( https://docs.espressif. com/projects /idf-component-manager/en/latest/ ) .
24
24
25
- ### 3 - Setup a New Project
26
-
27
- Create a new CMake project:
25
+ ### 3 - Create a New Project from the edgehog_app example
28
26
29
27
``` bash
30
- mkdir ~ /hello_world
31
- cd ~ /hello_world
32
- cp -r $IDF_PATH /examples/get-started/hello_world .
33
- ```
34
-
35
- ### 4 - Setup Dependencies
36
-
37
- Create a new ` idf_component.yml ` in the project root directory, as follows:
38
-
39
- ``` yaml
40
- # # IDF Component Manager Manifest File
41
- dependencies :
42
- idf :
43
- version : " >=4.4.4"
44
- edgehog-esp32-device :
45
- version : " *" # this is the latest commit on the main branch
46
- git : https://github.com/edgehog-device-manager/edgehog-esp32-device.git
47
- astarte-device-sdk-esp32 :
48
- version : " b47e453777f774835b3f86eeb0ce5d3b3a890c9c" # 'release-1.0' branch
49
- git : https://github.com/astarte-platform/astarte-device-sdk-esp32.git
50
-
28
+ idf.py create-project-from-example " edgehog-device-manager/edgehog-esp32-device^0.8.0:edgehog_app"
51
29
```
52
30
53
- ### 5 - Build project
31
+ ### 4 - Build project
54
32
55
33
``` bash
56
34
idf.py build
@@ -92,7 +70,10 @@ with the Free RTOS APIs and its resource usage should be evaluated separately.
92
70
93
71
* [ ESP32 Component Documentation] ( https://edgehog-device-manager.github.io/docs/snapshot/device-sdks/esp32/ )
94
72
* [ Edgehog documentation] ( https://edgehog-device-manager.github.io/docs/snapshot/ )
95
- * [ Example app] ( examples/edgehog_app/ )
73
+ * Check out the examples on the right pane of the
74
+ [ edgehog-esp32-device] ( https://components.espressif.com/components/edgehog-device-manager/edgehog-esp32-device )
75
+ component page or on the
76
+ [ GitHub repository] ( https://github.com/edgehog-device-manager/edgehog-esp32-device/tree/main/examples/edgehog_app )
96
77
97
78
## Contributing
98
79
0 commit comments