Skip to content

Releases: eriksl/esp8266-universal-io-bridge

Release 25

16 Jun 14:54
Compare
Choose a tag to compare

I found a few minor and one major bug in release 24.

wlan: fix bug where wlan mode was set to recovery mode permanently when it failed to associate.

This means a temporary connection loss (e.g. caused by not responding
DHCP server, access point temporaly off, etc) would set the ESP
permanently in recovery mode, where it needs to configured for wlan
manually. This is not desirable.

Changed the behaviour now that wlan recovery mode is not saved in the
config, so a reset should be enough to get it working again with the
current wlan parameters.

Release 24

15 Jun 15:16
Compare
Choose a tag to compare
  • fix bug in LWIP interface (ping didn't work)
  • introduce i2c sensor periodic background fetch, this avoids the need to keep waiting for a sensor to yield a result; sensor data is refreshed about every 30 seconds now, for these selected sensors.
  • Espressif SDK update to HEAD
  • fix bug where network would become unresponsive after some time, a race condition
  • reorganise stats output
  • use libc functions instead of own replacements, where possible, now we have full libc access
  • improve display user interface
  • add direct support for rotary encoders (no more external flip-flops required)
  • add support for controlling the espiobridge using the UART (mostly with a connected USB bridge)
  • add support for bootstrapping WLAN config (SSID/password) over the UART by sending two commands

Release 23

22 Apr 08:19
Compare
Choose a tag to compare
  • a few small bugfixes
  • trying to reduce UART to network latency by starting the sending process immediately, not waiting for the next "slow timer" to fire.

Release 22

18 Apr 15:42
Compare
Choose a tag to compare
  • add native SNTP support (not using the code from Espressif anymore)
  • lower memory footprint (DRAM) by optimisation of config per I/O-pin structs
  • when UART0 TX pin is not explicitly configured, assume UART0 TX and not "unconnected".

This helps debugging when initial bootstrap (= no configuration) fails.

Release 21

13 Apr 11:18
Compare
Choose a tag to compare

Many fixes to the beta quality release 20, most notably quicker and more stable networking.

Also fixed the bug where simple digital I/O wouldn't get autostarted.

Release 20 (pre-release)

28 Mar 16:20
Compare
Choose a tag to compare
Pre-release

This fixes the bug where the uart data bits width could not be set.

Also it's experimental because it now features:

  • espconn interface replaced by raw lwip interface
  • include LWIP from source code, ditch most of Espressif's code (especially espconn)
  • all functions now by default go to IROM, only IRAM functions need to be marked (source level change)
  • compile everything with -O3 instead of -Os, but keep IRAM functions -Os which seems to work well

As LWIP has a different interface than espconn, I've had to make some design choices. One of them is that the UART queue (software, not hardware) is only checked when previous data has been sent completely. This may result in a slowdown of the data transfer rate from UART to network. Please evaluate.

Release 19

01 Mar 18:10
Compare
Choose a tag to compare

This release adds

  • compiler upgraded from gcc 4.8.5 to gcc 7.4.0 (experimental!)
  • various options to reduce code size (IRAM) (experimental!)
  • toolchain now included in the project, so if you want to build yourself, you only need: gcc, make, git and esptool.py; all the rest will be built from the project if you run "make"; no need for any SDKs or toolchains.
  • flags to select polarity of the TX/RX pins of both uarts:
    • uart0-tx-inv
    • uart0-rx-inv
    • uart1-tx-inv
      use flag-set to enable or flag-unset to disable inversion, then write config, then reset.

Release 18

19 Feb 19:48
Compare
Choose a tag to compare

Many changes, see commit log for details.

This release primarily adds support for led pixels (WS2812b, AP106 etc.) and it fixes an issue where the firmware would not run in "plain" mode (i.e. not "OTA flash") (kept resetting).

For the plain image, you may need 1 Mbyte of flash now, but it may also work on a smaller flash size of 512 kbyte, because the code does fit in it, I can't test it though, please report.

The "ota" image is for the "over the air" upgradable image, but it needs at least 2 Mbyte (16 Mbit) of flash. It needs to be flashed using esptool initially, though.

The "plain" image is for and "esptool.py" etc. flashable image.

The documentation is outdated. For questions please refer to this thread: https://www.esp8266.com/viewtopic.php?f=6&t=3959

Release 17

20 Oct 09:36
Compare
Choose a tag to compare

Release notes:

  • revert pin change detection to interrupts. PC ints seem to work fine now and can act quicker.
  • PWM: revert to use NMI. SDK seems to be more stable now on this point. It will prevent occasional flickering on low duty cycles.
  • switch to SDK 2.1.0
  • define a null user_spi_flash_dio_to_qio_pre_init function. As it's not used, it saves an extra ~600 bytes of IRAM memory.
  • add support for i2c repeated start condition feature.
  • i2c: more robust bus recovery at start condition.
  • i2c_sensors: add support for veml6075 UV sensor.
  • io: add new trigger types, on now always means "on", off is always "off", to start or stop autosweep, now use "start" or "stop".
  • io: add possibility for second action on a trigger io.
  • io_aux: add counter/trigger to RTC GPIO (gpio16)
  • add mac and ip address information to wlan info
  • http: add slider controls for analog outputs.

http: add WLAN bootstripping over http.

This makes bootstrapping WLAN a bit easier. No need for telnet or espif
client.

Procedure:
 - when the ESP8266 can't connect the configure SSID or has no SSID/password
   configured (yet), it will go into Access Point mode using SSID "esp".
 - Take a phone or tablet and connect to this SSID "esp", use password
   "espespesp" (three times esp in a row).
 - Take your browser to http://192.168.4.1:24
 - Select "reset WLAN configuration"
 - Type SSID and password
 - Click on the "set" button
 - Click on the "reset" link
 - The ESP8266 will now start in WLAN client mode and connect to the
   specified SSID and password.

Release 16.

14 May 13:56
Compare
Choose a tag to compare

Mostly bug fixes, a few additions, see git log.