Damien George
3eece29807
docs: Change "Micro Python" to "MicroPython" in all places in docs.
2015-06-04 23:53:26 +01:00
Damien George
601cfea6a3
docs: Update license date range to include 2015.
2015-06-04 23:47:10 +01:00
Daniel Campora
7ca1bd314b
docs: Generate a separate docs build for each port.
...
Using Damien's approach where conf.py and topindex.html are
shared by all ports.
2015-06-04 23:44:35 +01:00
Damien George
031278f661
unix: Allow to cat a script into stdin from the command line.
...
See issue #1306 .
2015-06-04 23:42:45 +01:00
Paul Sokolovsky
9724a0538b
windows/README: Add notes on running under Wine.
...
After enabling line editing support on Windows console, this is no longer
trivial.
2015-06-04 19:29:51 +03:00
stijn
87ad80edf9
windows: Implement the mp_hal_xxx functions and enable mp-readline
2015-06-04 19:22:13 +03:00
Damien George
567b349c2b
py: Implement native multiply operation in viper emitter.
2015-06-04 14:00:29 +00:00
Damien George
4d9cad180d
py: Implement implicit cast to obj for viper load/store index/value.
...
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.
2015-06-04 11:52:16 +01:00
Daniel Campora
a3cf4ea2f6
cc3200: Do not kick the watchdog inside the idle task.
2015-06-04 10:13:55 +02:00
Daniel Campora
71f85cc330
cc3200: Close ftp and telnet server sockets if listening fails.
2015-06-04 10:13:53 +02:00
Damien George
53a8aeb6e7
stmhal: Fix slow SPI DMA transfers by removing wfi from DMA wait loop.
...
Addresses issue #1268 .
2015-06-03 23:20:23 +01:00
Damien George
80f638fe19
tests: Add test for recursive iternext stack overflow.
2015-06-03 22:41:06 +01:00
Damien George
953c23b1bc
py: Add stack check to mp_iternext, since it can be called recursively.
...
Eg, builtin map can map over a map, etc, and call iternext deeply.
Addresses issue #1294 .
2015-06-03 22:19:41 +01:00
Damien George
181adc6a4e
unix: Update .gitignore; now ignores coverage build.
2015-06-03 17:47:31 +01:00
Paul Sokolovsky
c36635c112
unix: Prepare upip frozen modules under build/.
2015-06-03 19:28:31 +03:00
Paul Sokolovsky
f8a39e3bb1
tools/make-frozen.py: Handle trailing slash in argument more reliably.
2015-06-03 19:28:31 +03:00
Damien George
0e6c89a5c8
tools: Add codestats.sh to compute code statistics such as size, speed.
2015-06-03 15:38:43 +00:00
Daniel Campora
cc20482aa9
cc3200: Add method to configure the servers timeout.
...
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.
2015-06-03 17:31:21 +02:00
Paul Sokolovsky
a546acda8c
unix: Uncompress upip tarball to build directory.
2015-06-03 01:55:54 +03:00
Paul Sokolovsky
a32538bb66
esp8266: Do not call espconn_create in constructor of esp.socket.
...
Turns out this is supposed to be called only for UDP connections.
Patch by Josef Gajdusek.
2015-06-02 22:40:06 +03:00
Daniel Campora
2ffb6e1b15
cc3200: Fix 'MP_QSTR_sd' undeclared error when building for the LAUNCHXL.
2015-06-02 13:11:01 +02:00
Paul Sokolovsky
32ce72cb9e
docs/uctypes: Typo fix.
2015-06-02 10:35:06 +03:00
Paul Sokolovsky
f8bce131c0
docs/uctypes: Fix API description errors.
...
"Structure class" is its descriptor, encoded as a dictionary. Then,
uctypes.struct() instantiates an actual object, and thus requires memory
address.
2015-06-02 10:30:01 +03:00
Paul Sokolovsky
0df20da4dd
tools: Add upip 0.5.2 tarball.
...
So unix version, which now includes upip as a frozen module, can be built
without Internet connection.
2015-06-02 01:32:07 +03:00
Paul Sokolovsky
9456732b86
unix: Include upip as fronzen modules inside the standard interpreter.
...
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.
2015-06-02 01:32:07 +03:00