- Jun 04, 2015
-
-
Damien George authored
See issue #1306.
-
Paul Sokolovsky authored
After enabling line editing support on Windows console, this is no longer trivial.
-
stijn authored
-
Damien George authored
-
Damien George authored
This allows to do "ar[i]" and "ar[i] = val" in viper when ar is a Python object and i and/or val are native viper types (eg ints). Patch also includes tests for this feature.
-
Daniel Campora authored
-
Daniel Campora authored
-
- Jun 03, 2015
-
-
Damien George authored
Addresses issue #1268.
-
Damien George authored
-
Damien George authored
Eg, builtin map can map over a map, etc, and call iternext deeply. Addresses issue #1294.
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Daniel Campora authored
With network.server_timeout(secs) the timeout can be changed. The default value is 300 secs. Minimmum accpeted is 5 secs. Without params the function returns the current configured timeout.
-
- Jun 02, 2015
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Turns out this is supposed to be called only for UDP connections. Patch by Josef Gajdusek.
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
"Structure class" is its descriptor, encoded as a dictionary. Then, uctypes.struct() instantiates an actual object, and thus requires memory address.
-
- Jun 01, 2015
-
-
Paul Sokolovsky authored
So unix version, which now includes upip as a frozen module, can be built without Internet connection.
-
Paul Sokolovsky authored
MicroPython doesn't come with standard library included, so it is important to be able to easily install needed package in a seamless manner. Bundling package manager (upip) inside an executable solves this issue. upip is bundled only with standard executable, not "minimal" or "fast" builds.
-
Paul Sokolovsky authored
Pasting more or less sizable text into ESP8266 REPL leads to random chars missing in the received input. Apparent cause is that using RTOS messages to pass individual chars one by one is to slow and leads to UART FIFO overflow. So, instead of passing chars one by one, use RTOS msg to signal that input data is available in FIFO, and then let task handler to read data directly from FIFO. With this change, lost chars problem is gone, but the pasted text is truncated after some position. At least 500 chars can be pasted reliably (at 115200 baud), but 1K never pastes completely.
-
- May 31, 2015
-
-
Dave Hylands authored
I tested this on my CERB40 board and it seems to be working fine.
-
Paul Sokolovsky authored
-
- May 30, 2015
-
-
Damien George authored
This patch converts Q(abc) to "Q(abc)" to protect the abc from the C preprocessor, then converts back after the preprocessor is finished. So now we can safely put includes in mpconfig(port).h, and also preprocess qstrdefsport.h (latter is now done also in this patch). Addresses issue #1252.
-
Damien George authored
"raise" is a common word that was found to exist in a vendor's stdlib.
-
Damien George authored
This patch was needed for gcc 4.4.
-
Damien George authored
These scripts should run under as wide a range of Python versions as possible.
-
Josef Gajdusek authored
1. Updated linker script, now user app appears to contain exception vector table and oesn't work (faults) without it. 2. Commened out support for GPIO pulldown, which was removed in this SDK version without clear explanation, but apparently because it was released without proper validation, and now turns out it doesn't work as expected, or there's a different function there.
-
Radomir Dopieralski authored
I document as much as I could guess from experiments and reading the code for the ``esp`` module for the ESP8266 port of Micropython. For now the tag has to be set manually with -t option when building, when we have properly split documentation, there will be a separate config file for esp8266 with that the tag "port_esp8266" set. To build use: make SPHINXOPTS="-t port_esp8266" html
-
stijn authored
Default implementation uses VT100-style sequences which are not implemented by all terminals out there
-
stijn authored
xterm and others use the ESC[~3 sequence when pressing the delete key
-
stijn authored
This assures the terminal prints it's prompt on a fresh line instead of appending it to the uPy prompt after exit.
-
Paul Sokolovsky authored
After switching to builtin readline support, "minimal" no longer builds, and minimal doesn't really need readline support.
-
- May 29, 2015
-
-
Paul Sokolovsky authored
Using MICROPY_PY_SYS_PATH_DEFAULT macro define. A usecase is building a distribution package, which should not have user home path by default in sys.path. In such case, MICROPY_PY_SYS_PATH_DEFAULT can be defined on make command-line (using CFLAGS_EXTRA).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Currently, frozen packages are not supported, but eventually they should be, so make sure to store complete directory hierarchy.
-
Paul Sokolovsky authored
-
Daniel Campora authored
-