- 07 Jun, 2015 2 commits
-
-
Damien George authored
If IRQs are disabled then the USB CDC buffer will never be drained/filled and the sys-tick timer will never increase, so we should not busy wait in this case.
-
Daniel Campora authored
-
- 06 Jun, 2015 6 commits
-
-
Daniel Campora authored
-
Daniel Campora authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also, other small cleanups/improvements.
-
Paul Sokolovsky authored
Now address comes first, and args related to struct type are groupped next. Besides clear groupping, should help catch errors eagerly (e.g. forgetting to pass address will error out). Also, improve args number checking/reporting overall.
-
- 05 Jun, 2015 2 commits
-
-
Paul Sokolovsky authored
This requires some special handling, which was previosuly applied only to the main code path.
-
Damien George authored
-
- 04 Jun, 2015 10 commits
-
-
Damien George authored
-
Damien George authored
-
Daniel Campora authored
Using Damien's approach where conf.py and topindex.html are shared by all ports.
-
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
-
- 03 Jun, 2015 8 commits
-
-
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.
-
- 02 Jun, 2015 5 commits
-
-
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.
-
- 01 Jun, 2015 3 commits
-
-
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.
-
- 31 May, 2015 2 commits
-
-
Dave Hylands authored
I tested this on my CERB40 board and it seems to be working fine.
-
Paul Sokolovsky authored
-
- 30 May, 2015 2 commits
-
-
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.
-