Skip to content

Commit fa9e215

Browse files
authored
Update README.md
1 parent 4e8ee55 commit fa9e215

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -45,35 +45,35 @@ To use the components in this repository, you have a few options:
4545
For example, if you want to use the `task` component and the
4646
`ble_gatt_server` components, you could run:
4747

48-
```console
49-
idf.py add-dependency "esp-cpp/task^0.21.0"
50-
idf.py add-dependency "esp-cpp/ble_gatt_server^0.21.0"
51-
```
48+
```console
49+
idf.py add-dependency "esp-cpp/task^0.21.0"
50+
idf.py add-dependency "esp-cpp/ble_gatt_server^0.21.0"
51+
```
5252
5353
Alternatively, you could add the following dependencies to your
5454
`main/idf_component.yml`:
5555
56-
```yaml
57-
dependencies:
58-
esp-cpp/ble_gatt_server:
59-
version: '>=0.21.0'
60-
esp-cpp/task:
61-
version: '>=0.21.0'
62-
# other dependencies here...
63-
```
56+
```yaml
57+
dependencies:
58+
esp-cpp/ble_gatt_server:
59+
version: '>=0.21.0'
60+
esp-cpp/task:
61+
version: '>=0.21.0'
62+
# other dependencies here...
63+
```
6464

6565
1. If you have an existing project with a `components` directory, then you can
6666
clone `espp` as a submodule within that directory e.g. `git submodule add
6767
https://github.com/esp-cpp/espp components/espp`, then make sure to run `git
6868
submodule update --init --recursive`. Afterwards, simply update your
6969
`CMakeLists.txt` to add
7070

71-
```cmake
72-
# add the component directories that we want to use
73-
set(EXTRA_COMPONENT_DIRS
74-
"components/espp/components"
75-
)
76-
```
71+
```cmake
72+
# add the component directories that we want to use
73+
set(EXTRA_COMPONENT_DIRS
74+
"components/espp/components"
75+
)
76+
```
7777

7878
1. You can clone espp somewhere on your computer and then point your project to
7979
its `components` directory to use any of the components it contains, similar

0 commit comments

Comments
 (0)