Skip to content

Commit

Permalink
Merge branch 'enhance/v130'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieromon committed Sep 30, 2021
2 parents e924347 + 65d27cc commit f34055f
Show file tree
Hide file tree
Showing 151 changed files with 43,769 additions and 23,090 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand Down
Loading

0 comments on commit f34055f

Please sign in to comment.