Skip to content

Commit a951f34

Browse files
committed
moved header file
decreased version back to 1.0.0 completed library.properties added architecture compile error
1 parent a9967ce commit a951f34

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESPAsyncHTTPUpdateServer",
3-
"version": "2.0.0",
3+
"version": "1.0.0",
44
"description": "Simple HTTP Update server based on the ESP8266WebServer modifed for ESPAsyncWebServer(by me-no-dev).",
55
"keywords": "ESP, Async, OTA, WebServer, HTTP, Update",
66
"repository":
@@ -13,12 +13,12 @@
1313
{
1414
"name": "Mohammad Mahdi Nazari",
1515
"email": "[email protected]",
16-
"url": "https://www.ip-af.ir/contact",
16+
"url": "https://github.com/IPdotSetAF",
1717
"maintainer": true
1818
}
1919
],
2020
"license": "LGPL-V2.1",
21-
"homepage": "https://www.ip-af.ir/Projects/Electronics/ESPAsyncHTTPUpdateServer",
21+
"homepage": "https://github.com/IPdotSetAF/ESPAsyncHTTPUpdateServer",
2222
"dependencies": [
2323
{"me-no-dev/ESP Async WebServer": "*"}
2424
,

library.properties

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name=ESPAsyncHTTPUpdateServer
2-
version=2.0.0
3-
author=IPdotSetAF
4-
maintainer=IPdotSetAF <[email protected]>
5-
sentence=Simple HTTP Update server based on the ESP8266WebServer modifed for ESPAsyncWebServer(by me-no-dev)
6-
paragraph=The library accepts HTTP post requests to the /update url, and updates the ESP firmware.
7-
category=Communication
2+
version=1.0.0
3+
author=Mohammad Mahdi Nazari <[email protected]>
4+
maintainer=Mohammad Mahdi Nazari <[email protected]>
5+
sentence=Simple HTTP Update Server for ESPAsyncWebServer(by me-no-dev)
6+
paragraph=This library lets you to update Firmware/FileSystem of ESP32/ESP8266 OTA(Over The Air) from a web page.
7+
category=Other
88
url=https://github.com/IPdotSetAF/ESPAsyncHTTPUpdateServer
99
architectures=esp8266, esp32
1010
dot_a_linkage=false
11+
includes=ESPAsyncHTTPUpdateServer.h
12+
depends=ESPAsyncWebServer (>=1.2.3)

src/ESPAsyncHTTPUpdateServer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#elif defined(ESP8266)
1313
#include <flash_hal.h>
1414
#include <FS.h>
15+
#else
16+
#error "This library only supports boards with an ESP8266 or ESP32 processor."
1517
#endif
1618

1719
static const char serverIndex[] PROGMEM =

0 commit comments

Comments
 (0)