Damien George
ddadbaed06
tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000.
...
This makes the test reliably overflow the recursion limit (which is the
correct behaviour) on Mac OS X.
2016-06-03 09:33:57 +01:00
Paul Sokolovsky
1bc8aa85a4
lib/timeutils/timeutils: Fix pedantic warning in coverage build.
2016-06-03 10:46:15 +03:00
Paul Sokolovsky
993cc3611a
lib/timeutils/timeutils: timeutils_mktime may accept negative time values.
...
And will normalize them.
2016-06-02 22:52:42 +03:00
Paul Sokolovsky
d8cc51ea2b
docs/esp8266/quickref: Update WebREPL section for 1.8.1 release.
...
WebREPL is much more stable now.
2016-06-02 20:11:40 +03:00
Damien George
ed4e5d2583
docs/library/index: Fix grammar and spelling in intro paragraph.
2016-06-02 11:05:13 +01:00
Marcel Stör
0b9725812e
docs/wipy/tutorial: Add note about screen key bindings on OS X.
2016-06-02 00:13:21 +03:00
Paul Sokolovsky
e456b2cc94
docs/README: Add some hints for PDF docs generation.
2016-06-02 00:08:47 +03:00
Paul Sokolovsky
09f764dc04
docs/library/index: Add intro paragraph regarding availability of modules.
...
This introductions makes explicit the fact that whenever possible,
the documentation describes full MicroPython functionality, and arbitrary
functions/classes/modules may be missing in a paricular port or build.
2016-06-02 00:08:07 +03:00
Paul Sokolovsky
9a1a49ceec
esp8266/general: Typo/grammar fixes.
2016-06-01 23:16:17 +03:00
Paul Sokolovsky
fdf45a718b
esp8266/quickref: Use local image of Adafruit Huzzah board.
...
Using remote image causes problems with tools (partly because the image
is semi-firewalled and can't be accessed by arbitrary tools).
2016-06-01 23:11:49 +03:00
Paul Sokolovsky
c4ab8895e8
docs: math, cmath: Add port availability information.
2016-06-01 22:12:39 +03:00
Paul Sokolovsky
1a05a59116
docs/math: Typo fix.
2016-06-01 22:09:51 +03:00
Damien George
927388e80e
esp8266: Provide a dedicated variable to disable ets_loop_iter.
...
So ets_loop_iter is now only disabled when using machine.disable_irq.
2016-06-01 17:26:49 +01:00
Damien George
752e952096
esp8266/rtc: Set RTC user memory length to 0 on first boot.
...
So that RTC.memory() returns b'' on power up if it was never set.
Fixes issue #2138 .
2016-06-01 11:33:04 +01:00
Robert HH
4f3fbf09cc
esp8266/moduos.c: Add stat() to the module uos of esp8266.
...
This implementation makes use of vfs.stat() and therefore has the same
properties. Known issues for all ports: uos.stat(".") on the top level
returns the error code 22, EINVAL. The same happens with
uos.stat("dirname/") where dirname IS the name of a directory.
2016-05-31 23:00:38 +03:00
Paul Sokolovsky
15eb1ce52d
esp8266: Enable MICROPY_PY_IO_FILEIO to get compliant text/binary streams.
2016-05-31 21:46:02 +03:00
Damien George
33168081f4
extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us.
...
Since not all ports that enable the machine module have the pin HAL
functions.
2016-05-31 14:25:19 +01:00
Damien George
cff2b7a6e3
esp8266/modmachine: Add machine.time_pulse_us function.
2016-05-31 14:06:50 +01:00
Damien George
93a9c2e840
docs/library/machine: Add documentation for machine.time_pulse_us.
2016-05-31 14:06:33 +01:00
Damien George
4940bee62a
extmod: Add machine time_pulse_us function (at C and Python level).
...
The C implementation is taken from the DHT driver.
2016-05-31 13:58:48 +01:00
Paul Sokolovsky
298c2ae2c7
extmod/vfs_fat: Mark anused "self" arg for fat_vfs_stat().
2016-05-31 15:42:08 +03:00
Peter Hinch
641300dccb
stmhal/dac: DAC deinit() method added.
2016-05-31 13:10:35 +03:00
Robert HH
ee009d713a
extmod/vfs_fat.c: Add vfs.stat().
...
The call to stat() returns a 10 element tuple consistent to the os.stat()
call. At the moment, the only relevant information returned are file
type and file size.
2016-05-31 13:03:12 +03:00
Tomas R
7d4fd8b6db
docs/esp8266/general: Remove duplicate phrase.
2016-05-30 19:20:11 +03:00
Paul Sokolovsky
225562d915
esp8266/scripts/ntptime: Allow to override NTP server.
...
This is not part of public API, variable name may change, or it can be
replaced with a function.
2016-05-30 19:16:05 +03:00