* ESP32: add support for RS485
This commit adds support for switching UART mode to RS485/IRDA.
Also included are patches for memory leaks then handling UART events other than data.
* ESP32: Documentation for uart.setmode()
* ESP32: Add time modules
New time module for manipulating system time/ calendar and controlling SNTP server
* ESP32: Time module documentation & style fixes
* added documentation for time modules
* style fixes as pointed out by @devsaurus
* ESP32: Time module small fixes
* Couple small fixes
* Esp32: Add SJSON module
This adds SJSON module taken directly from master
* ESP32: Fixes for sjson lib
Fixed compilation not including config header, thus braking some of libs functionality
* ESP32: Upgraded SJSON to master
* Adding qrcodegen module for generating QR Codes
* Added LUA_MODULE_QRCODEGEN KConfig
* Changed qrcodegen.encodeText() to use an options table
Created common.h with new option table helper fns.
* Reworked http.c to use new common.h options table APIs
* esp32: Reinstate tmr.now() function using esp_timer_get_time()
Also added larger limit before wrapping if Lua's number type supports
it.
* Renamed tmr.now() to node.uptime()
Added second return value to indicate timer wrap
- implement file.size for spiffs (#1516)
- fix vfs_lseek() result checking in enduser_setup and clarify SPIFFS_lseek() return value (#1570)
- Handle error condition in file.read() (#1599)
* #2521: Add object-based file API to dev-esp32 branch
Merged in from master@c708828bbe853764b9de58fb8113a70f5a24002d minus
some VFS changes and similar.
* Updated file docs from master
Omitting:
* file.mount()
* reference to rtctime.epoch2cal()
* file.stat()
As these are not available in dev-esp32 branch
Unsure about whether "directories are not supported" is still true
* Set stdout to unbuffered
This fixes issue #2507 esp32 serial console doesn't show output until
enter pressed.
* Moved setvbuf call to app_main immediately after console_init