Skip to content

Commit 2f80d30

Browse files
authored
doc: add CMakeLists app_update dependency
1 parent 2af276b commit 2f80d30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,12 @@ fflush(stdout);
8181
printf("Restarting now.\n");
8282
esp_restart();
8383
```
84+
85+
If the project is using explicit list of components, you need to add `app_update` into `main/CMakeLists.txt`, so it looks like this:
86+
```
87+
idf_component_register(
88+
SRCS "main.cpp"
89+
INCLUDE_DIRS "."
90+
REQUIRES esp-box-3 app_update
91+
)
92+
```

0 commit comments

Comments
 (0)