diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-06-20 10:56:05 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-06-20 10:56:05 -0700 |
| commit | 30ee7019ca651bce1fe966c1089fe977d51dc92b (patch) | |
| tree | 0114b6f744dd175b7722dd8edcbe24f4ee84bb45 /docs/topindex.html | |
| parent | 97fcdfbd08c922efd7470d6482d7c7c703ffc0ae (diff) | |
| parent | 869cdcfdfc860b1177baf9b0f8818915ba54f3f5 (diff) | |
Merge tag 'v1.9.1'2.0.0-alpha.0
Fixes for stmhal USB mass storage, lwIP bindings and VFS regressions
This release provides an important fix for the USB mass storage device in
the stmhal port by implementing the SCSI SYNCHRONIZE_CACHE command, which
is now require by some Operating Systems. There are also fixes for the
lwIP bindings to improve non-blocking sockets and error codes. The VFS has
some regressions fixed including the ability to statvfs the root.
All changes are listed below.
py core:
- modbuiltins: add core-provided version of input() function
- objstr: catch case of negative "maxsplit" arg to str.rsplit()
- persistentcode: allow to compile with complex numbers disabled
- objstr: allow to compile with obj-repr D, and unicode disabled
- modsys: allow to compile with obj-repr D and PY_ATTRTUPLE disabled
- provide mp_decode_uint_skip() to help reduce stack usage
- makeqstrdefs.py: make script run correctly with Python 2.6
- objstringio: if created from immutable object, follow copy on write policy
extmod:
- modlwip: connect: for non-blocking mode, return EINPROGRESS
- modlwip: fix error codes for duplicate calls to connect()
- modlwip: accept: fix error code for non-blocking mode
- vfs: allow to statvfs the root directory
- vfs: allow "buffering" and "encoding" args to VFS's open()
- modframebuf: fix signed/unsigned comparison pendantic warning
lib:
- libm: use isfinite instead of finitef, for C99 compatibility
- utils/interrupt_char: remove support for KBD_EXCEPTION disabled
tests:
- basics/string_rsplit: add tests for negative "maxsplit" argument
- float: convert "sys.exit()" to "raise SystemExit"
- float/builtin_float_minmax: PEP8 fixes
- basics: convert "sys.exit()" to "raise SystemExit"
- convert remaining "sys.exit()" to "raise SystemExit"
unix port:
- convert to use core-provided version of built-in import()
- Makefile: replace references to make with $(MAKE)
windows port:
- convert to use core-provided version of built-in import()
qemu-arm port:
- Makefile: adjust object-file lists to get correct dependencies
- enable micropython.mem_*() functions to allow more tests
stmhal port:
- boards: enable DAC for NUCLEO_F767ZI board
- add support for NUCLEO_F446RE board
- pass USB handler as parameter to allow more than one USB handler
- usb: use local USB handler variable in Start-of-Frame handler
- usb: make state for USB device private to top-level USB driver
- usbdev: for MSC implement SCSI SYNCHRONIZE_CACHE command
- convert from using stmhal's input() to core provided version
cc3200 port:
- convert from using stmhal's input() to core provided version
teensy port:
- convert from using stmhal's input() to core provided version
esp8266 port:
- Makefile: replace references to make with $(MAKE)
- Makefile: add clean-modules target
- convert from using stmhal's input() to core provided version
zephyr port:
- modusocket: getaddrinfo: Fix mp_obj_len() usage
- define MICROPY_PY_SYS_PLATFORM (to "zephyr")
- machine_pin: use native Zephyr types for Zephyr API calls
docs:
- machine.Pin: remove out_value() method
- machine.Pin: add on() and off() methods
- esp8266: consistently replace Pin.high/low methods with .on/off
- esp8266/quickref: polish Pin.on()/off() examples
- network: move confusingly-named cc3200 Server class to its reference
- uos: deconditionalize, remove minor port-specific details
- uos: move cc3200 port legacy VFS mounting functions to its ref doc
- machine: sort machine classes in logical order, not alphabetically
- network: first step to describe standard network class interface
examples:
- embedding: use core-provided KeyboardInterrupt object
Diffstat (limited to 'docs/topindex.html')
| -rw-r--r-- | docs/topindex.html | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/docs/topindex.html b/docs/topindex.html new file mode 100644 index 000000000..f32f3cea6 --- /dev/null +++ b/docs/topindex.html @@ -0,0 +1,124 @@ +{% extends "defindex.html" %} +{% block body %} + + <h1>MicroPython documentation</h1> + + <p> + {{ _('Welcome! This is the documentation for MicroPython') }} + v{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}. + </p> + + <p> + MicroPython runs on a variety of systems and each has their own specific + documentation. You are currently viewing the documentation for + <strong>{{ port_name }}</strong>. + </p> + + <!--p> + Documentation for other systems are available: + {% for p in all_ports %} + <a href="{{ p[1] }}">{{ p[0] }}</a>{% if not loop.last %}, {% endif %} + {% endfor %}. + </p--> + + <p><strong>Documentation for MicroPython and {{ port_name }}:</strong></p> + + <table class="contentstable"><tr> + <td width="40%" style="padding-left:2em;"> + {% if port in ("pyboard", "wipy", "esp8266") %} + <p class="biglink"> + <a class="biglink" href="{{ pathto(port + "/quickref") }}">Quick reference for {{ port_name }}</a><br/> + <span class="linkdescr">pinout for {{ port_name }} and snippets of useful code</span> + </p> + <p class="biglink"> + <a class="biglink" href="{{ pathto(port + "/general") }}">General information about {{ port_name }}</a><br/> + <span class="linkdescr">read this first for a quick overview</span> + </p> + <p class="biglink"> + <a class="biglink" href="{{ pathto(port + "/tutorial/index") }}">Tutorials and code examples</a><br/> + <span class="linkdescr">start here</span> + </p> + {% endif %} + <p class="biglink"> + <a class="biglink" href="{{ pathto("library/index") }}">Library Reference</a><br/> + {% if port == "pyboard" %} + <span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/pyb") }}">pyb module</a></span> + {% else %} + <span class="linkdescr">MicroPython libraries, including the <a href="{{ pathto("library/machine") }}">machine module</a></span> + {% endif %} + </p> + <p class="biglink"> + <a class="biglink" href="{{ pathto("genrst/index") }}">MicroPython Differences</a><br/> + <span class="linkdescr">MicroPython operations which differ from CPython</span> + </p> + </td> + <td width="40%" style="padding-left:2em;"> + <p class="biglink"> + <a class="biglink" href="{{ pathto("reference/index") }}">Language Reference</a><br/> + <span class="linkdescr">information about MicroPython specific language features</span> + </p> + {% if port == "pyboard" %} + <p class="biglink"> + <a class="biglink" href="{{ pathto(port + "/hardware/index") }}">The {{ port }} hardware</a><br/> + <span class="linkdescr">schematics, dimensions and component datasheets</span> + </p> + <p class="biglink"> + <a class="biglink" href="http://micropython.org/resources/Micro-Python-Windows-setup.pdf">Guide for {{ port_name }} on Windows (PDF)</a><br/> + <span class="linkdescr">including DFU programming</span> + </p> + {% endif %} + <p class="biglink"> + <a class="biglink" href="{{ pathto("license") }}">License</a><br/> + <span class="linkdescr">MicroPython license information</span> + </p> + </td> + </tr></table> + + <p><strong>Indices and tables:</strong></p> + <table class="contentstable"><tr> + <td width="40%" style="padding-left:2em;"> + <p class="biglink"> + <a class="biglink" href="{{ pathto("py-modindex") }}">Module index</a><br/> + <span class="linkdescr">quick access to all modules</span> + </p> + <p class="biglink"> + <a class="biglink" href="{{ pathto("genindex") }}">Full index</a><br/> + <span class="linkdescr">all functions, classes, constants</span> + </p> + </td> + <td width="40%" style="padding-left:2em;"> + <p class="biglink"> + <a class="biglink" href="{{ pathto(port + "_contents") }}">Table of contents</a><br/> + <span class="linkdescr">a list of all sections and subsections</span> + </p> + </td></tr> + </table> + + <p><strong>External links:</strong></p> + + <table class="contentstable"><tr> + <td width="40%" style="padding-left:2em;"> + <p class="biglink"> + <a class="biglink" href="http://micropython.org">MicroPython homepage</a><br/> + <span class="linkdescr">the official MicroPython site</span> + </p> + <p class="biglink"> + <a class="biglink" href="http://forum.micropython.org">MicroPython forum</a><br/> + <span class="linkdescr">community discussion for all things related to MicroPython</span> + </p> + </td> + <td width="40%" style="padding-left:2em;"> + <p class="biglink"> + <a class="biglink" href="https://github.com/micropython">MicroPython on GitHub</a><br/> + <span class="linkdescr">contribute to the source code on GitHub</span> + </p> + {% if port == "wipy" %} + <p class="biglink"> + <a class="biglink" href="http://wipy.io">The WiPy homepage</a><br/> + <span class="linkdescr">the official WiPy site</span> + </p> + {% endif %} + </td> + </tr></table> + +{% endblock %} |
