aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-29extmod/modwebrepl: More detailed debug output.Paul Sokolovsky
So detailed that even commented by default.
2016-04-29extmod/modwebrepl: GET_FILE: Send length-prefix chunk with one write().Paul Sokolovsky
A bit of optimization.
2016-04-29README: Mention support "async" keyword from Python 3.5.Paul Sokolovsky
2016-04-29extmod/modwebrepl: Keep reading data when there's something to read.Paul Sokolovsky
EAGAIN should be returned only if underlying socket returned it. Wrap existing read function into external loop to process all data available.
2016-04-29extmod/modwebrepl: Initial implementation of "get file" operation.Paul Sokolovsky
2016-04-29extmod/modwebrepl: Module to handle WebREPL protocol.Paul Sokolovsky
While just a websocket is enough for handling terminal part of WebREPL, handling file transfer operations requires demultiplexing and acting upon, which is encapsulated in _webrepl class provided by this module, which wraps a websocket object.
2016-04-29esp8266/help: Add cheatsheet for basic WiFi configuration.Paul Sokolovsky
2016-04-29esp8266/help: Implement help() builtin.Paul Sokolovsky
2016-04-29README: Promote "docs" and "tests" to "major components".Paul Sokolovsky
2016-04-28esp8266/modnetwork: Make WLAN.ifconfig() read/write.Aex Aey
Allow setting ip, netmask, gw and dns server (also, allows getting dns). For docs see: https://github.com/micropython/micropython/commit/06deec9
2016-04-28unix/Makefile: Make install more compatible (BSD, etc.).Martin Müller
The current install command uses the flag -D which is specific to the install command from GNU coreutils, but isn't available for the BSD version. This solution uses the -d flag which should be commonly available to create the target directory. Afterwards the target files are installed to this directory seperately.
2016-04-28esp8266/README: Add recently required step of 'make axtls'.bsdfox
2016-04-28examples/http_server_ssl.py: HTTPS server example.Paul Sokolovsky
2016-04-28esp8266: Set suitable values for axtls's RT_MAX_PLAIN_LENGTH & RT_EXTRA.Paul Sokolovsky
2016-04-28extmod/modussl: SSL_OK from ssl_read() means "no user data so far".Paul Sokolovsky
SSL_OK is numeric 0, and it's *not* an EOF. So, should keep reading.
2016-04-28extmod/modussl: Support server-side SSL sockets.Paul Sokolovsky
wrap_socket(sock, server_side=True)
2016-04-28docs/esp8266: Update quickref to reflect changes to 1-wire and NeoPixel.Damien George
2016-04-28esp8266/scripts/neopixel.py: Remove test function from neopixel driver.Damien George
It takes up lots of room and isn't needed.
2016-04-28esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.Damien George
Changes are: - added OneWireError exception and used where errors can occur - renamed read/write functions to use same names as C _onewire funcs - read_bytes is now read, write_bytes is now write - add ability to read/write DS18B20 scratch pad - rename start_measure to convert_temp (since that's what it does) - rename get_temp to read_temp (consistency with other read names) - removed test function
2016-04-28esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/.Damien George
2016-04-28docs: Make the short port names in the port/version sidebar lowercase.Damien George
To make it neater and simpler.
2016-04-28esp8266: Move pyb.info() function to esp module and remove pyb module.Damien George
All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed.
2016-04-28tests/run-tests: Add gen_yield_from_stopped to skipped for --emit=native.Paul Sokolovsky
Just as the rest of generator tests, which aren't yet supoorted for native.
2016-04-28tests: Add testcase for yielding from a stopped generator.Paul Sokolovsky
2016-04-28py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization.Paul Sokolovsky
E.g. crashed when yielding from already stopped generators.
2016-04-28extmod/modussl: Throw Python exceptions in case of errors.Paul Sokolovsky
2016-04-28esp8266/Makefile: Enable "ussl" module.Paul Sokolovsky
axTLS should be built first using "make axtls".
2016-04-28esp8266/Makefile: Support linking with axTLS built from source.Paul Sokolovsky
2016-04-27esp8266/tests/onewire.py: Don't run test on import.Damien George
2016-04-28docs/network: esp8266: Describe wlan.config() method.Paul Sokolovsky
2016-04-28docs/network: esp8266: Add wlan.ifconfig() method.Paul Sokolovsky
2016-04-27lib/timeutils/timeutils: Typo fix in comment.Paul Sokolovsky
2016-04-27docs/ubinascii: Clean up grammar.Paul Sokolovsky
2016-04-27docs/library: Consistently use admonitions for CPython differences.Paul Sokolovsky
2016-04-27docs/utime: Describe sleep() peculiarities in MicroPython.Paul Sokolovsky
Not all ports accept floating-point value.
2016-04-27docs/utime: Describe time() peculiarities in MicroPython.Paul Sokolovsky
2016-04-27esp8266/axtls_helpers: Helper/wrapper functions for axTLS.Paul Sokolovsky
2016-04-27docs/library/utime: Add more time functions for unix and esp8266 ports.Damien George
2016-04-27docs: Fix uos and utime heading underlines to be the correct length.Damien George
Otherwise Sphinx gives a warning.
2016-04-27esp8266/Makefile: Override abort() when building axtls.Paul Sokolovsky
abort() is a special function known to compiler as no-return.
2016-04-27extmod/modwebsocket: Handle CLOSE control frame.Paul Sokolovsky
This fixes situation when clients hangs waiting for disconnect and does so only on timeout.
2016-04-27docs/library: "os" module is actually "uos".Paul Sokolovsky
2016-04-27docs/Makefile: Default BUILDDIR based on MICROPY_PORT.Paul Sokolovsky
It doesn't make sense to duplicate both on command line, and MICROPY_PORT is effectively mandatory to build docs.
2016-04-27docs/library/index: Order sections from the most to least standard modules.Paul Sokolovsky
2016-04-27docs/library/index: Make single section for "micro-ified" modules.Paul Sokolovsky
Even the modules whose names don't start with "u" prefix are micro-ified anyway, i.e. provide only subset of CPython's functionality (and sometimes extensions to it). So, it doesn't make much sense to devide them by criteria of having/not having "u" prefix.
2016-04-27docs: Module "time" is actually "utime".Paul Sokolovsky
2016-04-27docs/library/index: esp8266 has the same set of stdlibs as pyboard/unix.Paul Sokolovsky
2016-04-27docs/library/index: Move WiPy "micro-libraries" under corresponding heading.Paul Sokolovsky
2016-04-27docs/library: Group MicroPython-specific modules under separate heading.Paul Sokolovsky
2016-04-27esp8266/esp8266.ld: Put axTLS to FlashROM.Paul Sokolovsky