- Jul 01, 2017
-
-
Paul Sokolovsky authored
And in our case, "consistent" is where each word in the heading is *not* capitalized.
-
Damien George authored
Later versions of jinja2 need it to be in this subdir, and earlier versions work with it here as well.
-
Paul Sokolovsky authored
It's useful to try different Sphinx versions using virtualenv/venv, so exclude a common venv dir name from Sphinx processing.
-
Paul Sokolovsky authored
-
- Jun 30, 2017
-
-
Paul Sokolovsky authored
This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Jun 29, 2017
-
-
Damien George authored
-
Damien George authored
Prior to this patch there were 2 paths for creating the namedtuple, one for when no keyword args were passed, and one when there were keyword args. And alloca was used in the keyword-arg path to temporarily create the array of elements for the namedtuple, which would then be copied to a heap-allocated object (the namedtuple itself). This patch simplifies the code by combining the no-keyword and keyword paths, and removing the need for the alloca by constructing the namedtuple on the heap before populating it. Heap usage in unchanged, stack usage is reduced, use of alloca is removed, and code size is not increased and is actually reduced by between 20-30 bytes for most ports.
-
- Jun 28, 2017
-
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The name used in py/mpconfig.h is MICROPY_FLOAT_IMPL so rename this Makefile variable to mirror that.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
By default the firmware is built with single-precision floating point. To build a particular board using double precision instead, put the following line in the mpconfigboard.mk file: FLOAT_IMPL = double
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The while-loop that calls chop_component will guarantee that level==-1 at the end of the loop. Hence the code following it is unnecessary. The check for p==this_name will catch imports that are beyond the top-level, and also covers the case of new_mod_q==MP_QSTR_ (equivalent to new_mod_l==0) so that check is removed. There is also a new check at the start for level>=0 to guard against __import__ being called with bad level values.
-
Alexander Steffen authored
py/builtin.h declares mp_builtin_open with the first argument of type size_t. Make all implementations conform to this declaration.
-
- Jun 27, 2017
-
-
Alexander Steffen authored
-
Paul Sokolovsky authored
-
Benjamin Weps authored
-
- Jun 26, 2017
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Previously, only "selected chapters" were shown in left-pane ToC (of Read The Docs theme). These chapters were selected out of order. The rest of chapters were hidden beyond "Documentation Contents" pseudo- chapter. This arguably led only to confusion, as many people probably never tried to open that pseudo-chapter, and those who did, were confused. Such organization is even worse for PDF output, causing chapters go in mix-mashed order. So, instead move to single clean ToC. This will allow readers of HTML to have access to any doc content at their fingertips (and straight before their eyes), and will allow to finally have clean PDF docs.
-
Damien George authored
A previous version of the 1-wire driver (which was recently replaced by the current one) had this behaviour and it allows to create a 1-wire bus without any external pull-up resistors.
-
Damien George authored
And and FLASH_FS, and use "K" values instead of hex numbers for lengths. The increase of FLASH_TEXT is to allow more frozen bytecode for a particular user's project. It's not used for anything else.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The floating-point precision of the target is detected (0, 30, 32 or 64) and only those tests which can run on the target will be run.
-
Damien George authored
-
- Jun 25, 2017
-
-
Paul Sokolovsky authored
Move hardware-specific optimizations to the very end of document, and add visible note that it gives an example for Pyboard. Remove references to specific hardware technologies, so the doc can be more naturally used across ports. Various markup updates to adhere to the latest docs conventions.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-