Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 746de52

Browse files
authored
Add dependencies to library.json
Add dependencies to library.json
1 parent 5d5a0ac commit 746de52

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Thanks to this [ESPAsync_WiFiManager library](https://github.com/khoih-prog/ESPA
7272
---
7373
---
7474

75-
## Prerequisite
75+
## Prerequisites
7676

7777
1. [`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
7878
2. [`ESP8266 Core 2.7.4+`](https://github.com/esp8266/Arduino) for ESP8266-based boards.
@@ -98,7 +98,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `ESPAsy
9898
### VS Code & PlatformIO:
9999
1. Install [VS Code](https://code.visualstudio.com/)
100100
2. Install [PlatformIO](https://platformio.org/platformio-ide)
101-
3. Install **ESPAsync_WiFiManager** library by using [Library Manager](https://docs.platformio.org/en/latest/librarymanager/). Search for **ESPAsync_WiFiManager** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
101+
3. Install [**ESPAsync_WiFiManager** library](https://platformio.org/lib/show/11065/ESPAsync_WiFiManager) by using [Library Manager](https://platformio.org/lib/show/11065/ESPAsync_WiFiManager/installation). Search for **ESPAsync_WiFiManager** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
102102
4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
103103

104104
---

library.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
"tests"
2323
]
2424
},
25+
"dependencies": [
26+
{
27+
"owner": "me-no-dev",
28+
"name": "AsyncTCP",
29+
"version": "^1.1.1",
30+
"platforms": ["espressif32"]
31+
},
32+
{
33+
"owner": "me-no-dev",
34+
"name": "ESP AsyncTCP",
35+
"version": "^1.2.2",
36+
"platforms": "espressif8266"
37+
},
38+
{
39+
"owner": "me-no-dev",
40+
"name": "ESP Async WebServer",
41+
"version": "^1.2.3",
42+
"platforms": ["espressif8266", "espressif32"]
43+
},
44+
],
2545
"frameworks": "*",
2646
"platforms": "espressif",
2747
"examples": "examples/*/*/*.ino"

0 commit comments

Comments
 (0)