Paul Sokolovsky
b67d098841
py/modbuiltins: __repl_print__: Add comment about setting "_" special var.
2016-04-13 00:59:41 +03:00
Damien George
eec8a94f04
extmod/machine_i2c: Implement I2C memory reading/writing.
2016-04-12 15:52:17 +01:00
Damien George
9314b2df4f
extmod/machine_i2c: Fix I2C reading by sending ack/nack at end of byte.
2016-04-12 15:46:13 +01:00
Damien George
73bc0c24ab
drivers: Add SSD1306 OLED driver, with I2C and SPI interfaces.
2016-04-12 14:06:54 +01:00
Damien George
e813ea1070
esp8266: Enable framebuf module.
2016-04-12 14:06:54 +01:00
Damien George
a525493e40
esp8266: Switch from using custom I2C driver to generic extmod one.
2016-04-12 14:06:54 +01:00
Damien George
ac63ca7bc5
esp8266: Implement basic C-level pin HAL.
2016-04-12 14:06:54 +01:00
Damien George
1a65ff1b72
esp8266: Protect modpyb.h header file from multiple inclusions.
...
Also include py/obj.h so the header is self contained.
2016-04-12 14:06:54 +01:00
Damien George
67a327cb9b
stmhal: Enable framebuf module.
2016-04-12 14:06:54 +01:00
Damien George
e4f963a351
stmhal: Use new generic I2C object in machine module.
2016-04-12 14:06:54 +01:00
Damien George
69a1aaf654
stmhal: Implement basic C-level pin HAL.
2016-04-12 14:06:54 +01:00
Damien George
d083712224
extmod: Add generic machine.I2C class, with bit-bang I2C.
...
Should work on any machine that provides the correct pin functions.
2016-04-12 14:06:54 +01:00
Damien George
53ad681ed1
extmod: Add initial framebuf module.
2016-04-12 14:06:53 +01:00
Damien George
3a37426b29
esp8266/scripts/inisetup.py: Use "-" in AP ESSID instead of space.
2016-04-12 00:47:21 +03:00
Paul Sokolovsky
260b839483
esp8266/scripts/inisetup.py: Set WPA/WPA2 AP mode with a predefined password.
2016-04-12 00:46:04 +03:00
Paul Sokolovsky
40f5ecd3a8
esp8266: Add Python modules for initial configuration.
...
Main entry point is _boot.py which checks whether FAT FS in flash mountable,
and if so, mounts it. Otherwise, it checks if flash is empty, and if so,
performs initial module setup: makes FAT FS, configures default AP name,
etc. As a last option, if flash is not empty, and could not be mounted,
it means filesystem corruption, and warning message with instructions is
printed in an infinite loop.
2016-04-12 00:37:04 +03:00
Paul Sokolovsky
2f5935269b
esp8266/scripts/main.py: Remove stale file.
2016-04-12 00:35:13 +03:00
Paul Sokolovsky
54b89665fc
esp8266/modnetwork: .config(): Add "password" param (W/O).
2016-04-12 00:18:40 +03:00
Paul Sokolovsky
7acc252e93
esp8266/modnetwork: .config(): Add "authmode" param.
2016-04-12 00:17:31 +03:00
Paul Sokolovsky
6f3fc9bfa1
esp8266/modnetwork: .config(): Check interface whose config is requested.
2016-04-12 00:16:16 +03:00
Paul Sokolovsky
1a327c4fa3
unix: Build with MICROPY_PY_UHASHLIB_SHA1 if already building with axTLS.
2016-04-11 21:58:58 +03:00
Paul Sokolovsky
f49d63a75c
esp8266: Enable websocket module.
2016-04-11 21:25:43 +03:00
Damien George
9b0a150bd6
docs: Bump version to 1.7.
2016-04-11 12:18:10 +01:00
Paul Sokolovsky
f8fb4470a0
extmod/modwebsocket: write(): Support write size beyond 125 bytes.
2016-04-11 14:07:57 +03:00
Paul Sokolovsky
7063210014
extmod/modlwip: Fix for loss of data in unaccepted incoming sockets.
...
When lwIP creates a incoming connection socket of a listen socket, it
sets its recv callback to one which discards incoming data. We set
proper callback only in accept() call, when we allocate Python-level
socket where we can queue incoming data. So, in lwIP accept callback
be sure to set recv callback to one which tells lwIP to not discard
incoming data.
2016-04-11 01:21:34 +03:00