diff --git a/.travis.yml b/.travis.yml index 2481af45..0f92dc73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,12 @@ os: linux language: generic env: global: - - IDE_VERSION=1.8.12 + - IDE_VERSION=1.8.16 jobs: - - BOARD="esp8266:esp8266:generic:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled,FlashMode=qio,FlashFreq=80" ARDJSON="5.13.5" - - BOARD="esp32:esp32:esp32:FlashFreq=80,FlashSize=4M" ARDJSON="5.13.5" - - BOARD="esp8266:esp8266:generic:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled,FlashMode=qio,FlashFreq=80" ARDJSON="6.14.0" - - BOARD="esp32:esp32:esp32:FlashFreq=80,FlashSize=4M" ARDJSON="6.17.2" + - BOARD="esp8266:esp8266:generic:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled,FlashMode=qio,FlashFreq=80" PB="1.5.0" ARDJSON="5.13.5" + - BOARD="esp32:esp32:esp32:FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs" PB="1.5.0" ARDJSON="5.13.5" + - BOARD="esp8266:esp8266:generic:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled,FlashMode=qio,FlashFreq=80" PB="1.5.0" ARDJSON="6.14.0" + - BOARD="esp32:esp32:esp32:FlashFreq=80,FlashSize=4M,PartitionScheme=min_spiffs" PB="1.5.0" ARDJSON="6.18.0" before_install: - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16" - sleep 3 @@ -16,15 +16,14 @@ before_install: - tar xf arduino-$IDE_VERSION-linux64.tar.xz - sudo mv arduino-$IDE_VERSION ~/arduino-ide - export PATH=$PATH:~/arduino-ide - - arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json,http://dl.espressif.com/dl/package_esp32_index.json" --save-prefs + - arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json" --save-prefs - if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then arduino --install-boards esp8266:esp8266; fi - if [[ "$BOARD" =~ "esp32:esp32:" ]]; then arduino --install-boards esp32:esp32; fi - - arduino --install-library PubSubClient,PageBuilder - - arduino --install-library ArduinoJson:$ARDJSON + - arduino --install-library PageBuilder:$PB,ArduinoJson:$ARDJSON,PubSubClient - buildExampleSketch() { arduino --verify --board $BOARD $PWD/examples/$1/$1.ino; } install: - mkdir -p ~/Arduino/libraries diff --git a/README.md b/README.md index 64bdb9dc..d2ea8534 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![GitHub release](https://img.shields.io/github/v/release/Hieromon/AutoConnect)](https://github.com/Hieromon/AutoConnect/releases) [![arduino-library-badge](https://www.ardu-badge.com/badge/AutoConnect.svg?)](https://www.ardu-badge.com/AutoConnect) -[![Build Status](https://travis-ci.org/Hieromon/AutoConnect.svg?branch=master)](https://travis-ci.org/Hieromon/AutoConnect) +[![Build Status](https://app.travis-ci.com/Hieromon/AutoConnect.svg?branch=master)](https://app.travis-ci.com/Hieromon/AutoConnect) [![License](https://img.shields.io/github/license/Hieromon/AutoConnect)](https://github.com/Hieromon/AutoConnect/blob/master/LICENSE) An Arduino library for ESP8266/ESP32 WLAN configuration at run time with web interface. @@ -30,7 +30,7 @@ The connection authentication data as credentials are saved automatically in EEP AutoConnect can be embedded easily into your sketch, just "**begin**" and "**handleClient**". -### Lives with the your sketches +### Lives with the your sketches The sketches which provide the web page using ESP8266WebServer/WebServer there is, AutoConnect will not disturb it. AutoConnect can use an already instantiated ESP8266WebServer object(ESP8266) or WebServer object(ESP32), or itself can assign it. @@ -102,6 +102,37 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some ## Change log +### [1.3.0] Sep. 25, 2021 +- Supports ESP8266 3.0.0 Arduino core. +- Supports ESP32 Arduino core 2.0.0. +- Supports LittleFS with ESP32. +- Supports a callback with OTA status change. (issue #325) +- Supports to save credentials always. (Discussions #385) +- Supports AutoConnectConfigAux. +- Added AutoConnect::getConfig function. +- Added AutoConnectOTA status notification. +- Added a style attribute for AutoConnectInput. +- Added the div tag generation with the AutoConnectElement. +- Fixed AUTOCONNECT_JSONDOCUMENT_SIZE was inoperative. +- Fixed garbage being mixed in a loaded credential. +- Fixed the layout on the page being corrupted with NUMBER type of AutoConnectInput. +- Fixed the output place of Posterior attribute for AutoConnectRadio. +- Fixed Incomplete deletion with AutoConnectCredential. (issue #388) +- Fixed credentials not erased correctly. (issue #388) +- Fixed AutoConnectText posterior being unavailable. + +##### Important Notes: + +1. Upgraded Arduino core 2.0.0 for ESP32 will increase the compiled sketch binary size. Your sketch may not fit in the flash and may occur an error during the linkage phase. +In ESP32 Arduino core 2.0.0, the default maximum sketch binary size is 1280 KB, an area of the same size is reserved for OTA. 1472 KB is added as a file system area to this. You can change this partition definition at will with Arduino IDE for each build. You can also reallocate the SPIFFS area to the sketch binary if the sketch does not require a large file. Select menu `Tool` > `Partition Scheme`, you will be able to find a partition scheme that fits your sketch. Also, in the PlatformIO environment, it can be changed by adding the `board_build.partitions` directive to the `platformio.ini` file. See [FAQ](https://hieromon.github.io/AutoConnect/faq.html#sketch-size) of Documentation for details. +2. When building a sketch in the PlatformIO environment, a compile error may appear that says: *File system header file not found*. This error can be avoided by setting the library search mode to the `deep` in with the `platformio.ini` file. See [FAQ](https://hieromon.github.io/AutoConnect/faq.html#compile-error-due-to-file-system-header-file-not-found) of Documentation for details. + +### [1.2.3] Jan. 3, 2021 + +Since AutoConnect v1.2.3, [PageBuilder](https://github.com/Hieromon/PageBuilder) v1.5.0 or later is required. Please update PageBuilder latest. + +- Improved memory management + ### [1.2.2] Dec. 13, 2020 - Fixed an issue where OTA updates would crash on the ESP32 platform. (issue #284) diff --git a/docs/404.html b/docs/404.html index 428971fe..0c990019 100644 --- a/docs/404.html +++ b/docs/404.html @@ -10,11 +10,11 @@ - - - + + + @@ -22,10 +22,10 @@ - + - + @@ -37,9 +37,9 @@ - + - + @@ -52,10 +52,19 @@ - - - - + + + + + + + + + + + + + @@ -67,8 +76,10 @@ - + + + @@ -82,46 +93,54 @@
-
+ +
-
+ +
+
@@ -817,13 +988,16 @@

404 - Not found

+
+
+
+ + - - - - + diff --git a/docs/acelements.html b/docs/acelements.html index 1f5ba94d..81e51c9d 100644 --- a/docs/acelements.html +++ b/docs/acelements.html @@ -10,13 +10,13 @@ - + - + - - + + @@ -24,10 +24,10 @@ - + - + @@ -39,9 +39,9 @@ - + - + @@ -54,10 +54,19 @@ - - - - + + + + + + + + + + + + + @@ -69,8 +78,10 @@ - + + + @@ -89,46 +100,54 @@
-
+ +
-
+ +
+
+ + + +