30 Commits
Author SHA1 Message Date
sakabin 070e06db00 update micropython
add m5stack.py
add m5ui.py
2018-12-04 14:06:15 +08:00
Boris Lovosevic 0de63ef395 Changed the method of passing parameters from tasks/events/interrupts to MicroPython callbacks
Updated MicroPython scheduler functions
  Updated all affected modules

esp-idf sdspi_host driver refactored
  Using SDCard in SPI mode and display at the same time now works
  Tested on M5Stack & Adafruit 2.4" TFT Featherwing

Display module refactored
  uses (modified) esp-idf spi-master driver
  16-bit color mode added
  low level display functions added
  get TP calibration constants function added
  Backlight on/off function added
  M5Stack & GENERIC display types added
  display initialization sequence for unknown display types can now be handled from MicroPython
  tpcalib frozen module updated

I2C module refactored
  SLAVE mode added
  Low level I2C functions added
  esp-idf i2c driver modified

SPI module updated

UART module updated

network module updated

machine module: added method for reading internal ESP32 temperature sensor

_thread module: status of the system tasks is now available in _thread.list()

os module: SDCard mode can now be configured from MicroPython

time.ticks_xx() functions now returns correct tick count after time update
rtc module updated

Added MPU9250 frozen module (available on M5Stack)

Experimental Bluetooth support, not yet finished
Experimental support for eve display modules, not yet finished

License file added
License information in many source files updated/added
2018-02-28 14:46:02 +01:00
Boris Lovosevic d775bb11a0 Updated 'ftp server'
Some improvements and bug fixes
  Should now support many more FTP clients
Updated 'curl' module
  mail functions can now be excluded from build (via menuconfig)
2018-02-07 17:51:08 +01:00
Boris Lovosevic 6a8e7bf8be Bugfix in 'machine.UART'
Updated 'machine' module
Removed unused random.c & random.h
2018-02-05 18:14:30 +01:00
Boris Lovosevic 5bc0b0b85d Refactored 'machine.UART' module
changes in buffering mode and callbacks
Updated (again) 'utimeq' module
  fix handling if time values
More events handling in 'network' module
  not enabled by default
2018-02-04 20:19:15 +01:00
Boris Lovosevic d9c168e1b2 BUg fix:
utime.ticks_diff() and ticks_add(): Overflow error
Add missing uhashlib back
Updated 'utimeq' module
  fix handling if time values
Updated 'machine.UART' module
  added callbacks on data, pattern and error
  added flush() method
Various small uptates and improvements
2018-02-03 21:43:38 +01:00
Boris Lovosevic 8487eb82a3 Fix bug in 'machine.SPI' when building without 'Display' module included
Improved detection of ARM platform in 'BUILD.sh'
2018-02-02 23:05:03 +01:00
Boris Lovosevic 05ca947ee3 Updated 'machine.uart', bug in receive methods fixed
Updated 'ftp' module
Initial support for FTDI EVE display modules (FT80x and FT81x)
  not yet functional
2018-02-02 18:20:59 +01:00
Boris Lovosevic 24fb2858e8 Bugfix in 'network.ftp'
'Display' module updated
  added option to select rotation in init() method
  added option not to display splash in init() method
Added callback function on WiFi events in 'network' module
'uftpserver' removed from frozen modules and 'uftpserver.py' placed in examples directory
2018-01-29 14:48:28 +01:00
Boris Lovosevic 17cc78c216 Updated uftpserver frozen module 2018-01-28 17:00:02 +01:00
Boris Lovosevic c0c3840ca3 Updated Display module, M5Stack display support added
Updated microWebServer frozen module, WebSockets support added
Updated uftpserver frozen module
Some missing licensing information added
Other small changes and improvements
2018-01-28 16:24:07 +01:00
Boris Lovosevic 6935d21745 Updated mDNS module
can now be built with latest esp-idf mdns componnent
  some api changes, see the Wiki
Updated _thread module
  some bugfixes, new functions added
Updated esp-idf to the latest commit
2018-01-27 15:28:49 +01:00
Boris Lovosevic 7b97da2889 Fixed bug in machine.RTC
Added ARM Xtenssa toolchain
2018-01-24 09:59:19 +01:00
Boris Lovosevic 4dbd7db4e1 Updated Curl module, latest libcurl used
Individual prebuilt firmware zip archives added
Few small changes and improvements
2018-01-22 16:27:39 +01:00
Boris Lovosevic ccf2cbc472 Updated SSH & Curl modules, some bugs fixed
Some minor changes
2018-01-21 16:14:38 +01:00
Boris Lovosevic a7397a2a9e Updated BUILD.sh
do not permit 'flash' command if the firmware was not built
  fix wrong partition sizes in some cases
Updated OTA module
  allow setting boot partition also for ota types
2018-01-19 12:20:23 +01:00
Boris Lovosevic 1d9ef818a0 Fixed bug in machine.Timer
preventing extended timers to function as intended
2018-01-18 16:42:15 +01:00
Boris Lovosevic cc836a3c5d Updated PWM module
float values accepted in duty function
Updated RTC module
  improved smpt functions
Updated utime module
  added utime.ticks_base() function
Added -fno-stack-protector in mpy-cross Makefile to address issues on some operating systems
2018-01-17 16:04:14 +01:00
Boris Lovosevic 10f22d5971 Fixed buf in spiffs driver affecting uos.listdir() 2018-01-16 11:17:48 +01:00
Boris Lovosevic 927966dbc7 Fixed bug in unmounting sdcard causing issues with rshell
Fixed bug in curl module affecting sendmail
2018-01-16 01:34:47 +01:00
Boris Lovosevic 934917e19e Updated _thread module
class functions can now be used in threads
Updated PWM module
  up to 8 channels can be used
2018-01-13 21:04:40 +01:00
Boris Lovosevic b0c179e620 Fixed bug in utime.sleep & utime.sleep_ms 2018-01-12 16:23:16 +01:00
Boris Lovosevic aed6e636bc Updated _thread module, _thread.wait() function added
Updated utime module
Added prebuilt firmware with all modules enabled (for psRAM boards)
Updated esp-idf to the latest commit
Updated Xtenssa toolchains to version 1.22.0-80-g6c4433a-5.2.0
2018-01-12 14:44:19 +01:00
loboris fb0fb3aeae Updated esp-idf 2018-01-07 16:06:48 +01:00
loboris baab2076a2 Updated SPI module, bugs fixed
Refactored PWM module
Prebuilt firmwares available as one zip file
2018-01-07 15:48:03 +01:00