15 Commits
Author SHA1 Message Date
Boris Lovosevic c6aa0c6fc1 Remove one unnecessary debug message from uart module 2018-04-18 16:22:54 +02:00
Boris Lovosevic 7ca7a402f3 Added build time option to start REPL in separate thread
Running REPL in thread may solve some issues with uasyncio
  and long running or infinite loops

Updated 'machine.UART' module
  - fixed bug when wrong parameter was returned to callback functions
  - added option to set inverted mode for Rx, Tx, CTS, RTS
  - enabled using hw flow controll if CTS and/or RTC pisn are defined
  - 'write_break()' function added whitch enits the break signal after data write

Updated 'sys' module
  Added 'sys.tz()' to get or set the time zone
  The time zone is saved in NVS string and time zone is set on boot
  The time zone can be now preserved on reset, power off or deepsleep wake up

Updated 'machine' module
  Added SetStackSize() function to set the MicroPython stack size
  Added SetHeapSize() function to set the MicroPython heap size
  Both heap an stack sizes are set as NVS variables and are read at boot time
    to set the sizes, so the sizes may now be different than the compiled ones

Updated 'machine.timer' module
  Changed function name 'reshot()' -> 'reshoot()'
2018-04-18 13:52:42 +02:00
Boris Lovosevic 09e4111c4b Updated 'machine.UART' module
Fixed issue where 'linefeed' and 'pattern' arguments
  were not able to accept character values > \x7f
2018-04-16 14:47:34 +02:00
Boris Lovosevic a0586ce802 Bug fixes, esp-idf update
'network' module updated

'ADC' module updated
  fixed 'read()' bug

'UART' module updated, some bugs fixed

Enabled High speed mode for SD cards (in SD modes only)

Updated esp-idf
  Commit: f586f5e (Apr 5, 2018)
full SHA: f586f5e690e687f8db219a8b509bbf483fc416d6
2018-04-08 16:17:44 +02:00
Boris Lovosevic b8fff81b45 MicroPython core updated to the latest commit (bcfff4f, 2018-03-30)
'Ctrl+D' on empty line now performs full ESP32 soft reset

'math' module updated, added 'factorial' method

'uos' module updated, added 'mpycore' method to show MicroPython core git commit hash and date
2018-04-03 13:59:26 +02:00
Boris Lovosevic 8c5b384312 Updated Power management, some bugs fixed 2018-03-18 16:24:40 +01:00
Boris Lovosevic fcb5c233d0 Fixed bug in UART module 2018-03-17 15:20:25 +01:00
Boris Lovosevic 1f67e6e0ee Updated UART module
Updated display module, added methods to get/set default background and foreground colors

Updated neopixel module
  added method info() which returns the neopixel instance configuration
  get() method can now return tuple of neopixel colors

Fixed ALLHIGH constant in RTC module
2018-03-16 12:45:01 +01:00
Boris Lovosevic f2b25e261d Removed libquickmail
libcurl based email function implemented

Fixed GPIO initialization after deepsleep
if ext0 or ext1 wake up source was used

Licensing information updated

Some unneeded sources removed
2018-03-03 11:43:38 +01: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 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 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
loboris 45c58efc5e Repository cleanup 2018-01-03 14:18:06 +01:00