- Sun Mar 13, 2016 7:07 am
#43002
Finally a new release!
See:
http://github.com/eriksl/esp8266-univer ... e/releasesAbout 3/4 of the code rewritten to make a more flexible framework that allows extension in various directions. Much of the changes are under the hood, but there are many changes in the user interface as well. As everything has become rather big, it's not anymore doable to keep the documention as "mark down" document. The README.md file has been emptied and only has a link to the, now, real documentation in PDF (recommended!) or HTML format. Reading the complete PDF is very much recommend for everyone, even the sections that may not look relevant at first sight. Some things have remained the same, but many have changed more or less!
Summary of what has changed (mainly on user interface level):
- fixes/workarounds for GPIO counter (which has a bit flakey implementation)
- added additional layer of "io device" with sublayer "pin", so "io devices" can be added (like I2C I/O expanders)
- added NTP support; set server and timezone using ntp-set and write config
- gpio config is no longer immediately auto-saved, you should now use write config just like with any other command
- move MUCH static content from DRAM to IROM (flash), save about 20 kilobytes on dram! this includes static text strings, that are normally copied to dram on startup; include code to handle this (data in flash must always be aligned on 4 bytes and can only be read 4 bytes at a time)
- add string pseudo-class (including length and size traits) to always make sure strings can't be overflowing buffer space
add feature to automatically display time on external display - add I2C address to I2C sensors traits, so the same sensor can be added multiple times, with different addresses
- add configurable status I/O pin; you can make use this to make e.g. a led blink on command reception or counter trigger
- change UART bridge default data port from 25 (SMTP, wrong) to 23 (telnet)
- add command to select WLAN powersaving
- add OTA (over-the-air) firmware flashing, uses part from RBOOT by Richard Burton
- replicate/reimplement some libc functions ourselves, in IROM, saves some more IRAM space
- add basic HTTP support (point your browser to port 24 and see)
- add support for the ADC input
- using make flash, also flash default.bin and blank.bin, even though we're not using it
- remove wlan "bootstrap" mode, see documentation for how to set wlan/ssid instead
- add MCP23017 16 pin I2C I/O expander as first "extra" I/O device
- only counter downward edges using the counter, counters are mostly pulled up, this reduces the number of spurious counts.