26 Commits
Author SHA1 Message Date
0x1abin 610e9d8aa9 Merge branch 'master' into m5stack-dev 2018-04-16 10:53:00 +08:00
Boris Lovosevic 1996d7b5c8 Updated esp-idf
commit: bae9709 (Apr 11, 2018)
  fullSHA: bae9709a7950e2ee08e14c65be27831bcb547105

Improved initialization of SD card
  it should be possible to connect SD cards without external pull-ups
2018-04-12 17:30:56 +02:00
Boris Lovosevic f6297a57db MicroPython core updated
commit: 59dda71 (Apr 10, 2018)
  fullSHA: 59dda7103855e2f85822f83ecbb835d66f12183d

'network' module update
  see Wiki for changes

'microWebServer' frozen module updated

Some fixes related 'ticks_*' functions returning 64-bit values
  better compatibiliy with 'uasyncio' module

Other minor changes and bugfixes
2018-04-12 13:50:45 +02:00
0x1abin 4b43ea7656 Merge branch 'master' into m5stack-dev 2018-04-09 14:44:11 +08: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
0x1abin ad420d6867 Merge branch 'master' into m5stack-dev 2018-04-08 10:29:13 +08:00
Boris Lovosevic d9ee0a6cf7 Fixed bug preventing SDCard to be configured for 1-line SD mode 2018-04-06 01:18:02 +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
0x1abin 864438899f Merge branch 'master' into m5stack-dev 2018-04-02 15:50:52 +08:00
Boris Lovosevic db69153c34 LittleFS updated
use on top of esp-idf wear leveling
  512 Bytes sector size added

Fixed bug in utime module
  reversed sleep() and block_sleep() functions

Some WiFi events messages replaced with esp-idf log messages

Added hypot() method to math module
2018-03-29 15:57:58 +02:00
0x1abin f98c01f7fc Merge branch 'master' into m5stack-dev 2018-03-22 14:59:14 +08:00
Boris Lovosevic b5cf5d61fa Added support for LittleFS as internal file system
Updated esp-idf
2018-03-21 17:39:57 +01:00
0x1abin fe875f4f49 update i2s module 2018-03-19 18:54:35 +08:00
0x1abin df336a2223 Merge branch 'i2s' into m5stack-dev 2018-03-19 18:31:14 +08:00
0x1abin 21ca31656a update i2s module 2018-03-19 18:30:34 +08:00
0x1abin 0694c41a66 Merge branch 'master' into m5stack-dev 2018-03-16 12:04:57 +08:00
0x1abin 4ced85d0b8 d180316 2018-03-16 11:47:31 +08:00
Boris Lovosevic 4e4f1e8613 Fixed bug in spiffs causing crashes in ftp module when multiple subdirectories was used
Updated ftp module

Added option to force boot from factory partition based on the state of the defined gpio
Added option to activate the LED on defined gpio from bootloader, as boot indication

Updated SPI module
  fixed bug when initializing spi wothout CS specified

Added support for Power management and selecting CPU frequenca from MicroPython

Added support for Wake Stub during deepsleep
  Some new option to machine.deepsleep() added
  Updated wake_on_ext0() & wake_on_ext1 functions

Fixed bug in rtc.ntpsync(), not setting the time zone

Added getdrive() method to uos module

Updated machinne.Pin
  some improvements
  added all supported by ESP32 pin configuration

Updated 'upysh' frozen module
  'ls' function improved, now prints total and free drive space
  'cp' function added, copy file

Minor improvements and bug fixes

Added the toolchain for building on aarch64, thanks to John Cutler
2018-03-15 16:42:44 +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 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 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 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