Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-03 | tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init(). | Damien George | |
2016-06-03 | tests/misc/recursive_iternext: Provide more fine-grained selection of N. | Damien George | |
To work on a variety of ports the selection of N is very specific. | |||
2016-06-03 | docs/esp8266/general: Add note about RTC overflow. | puuu | |
2016-06-03 | esp8266/modpybrtc: Handle RTC overflow. | puuu | |
ESP-SDK system_get_rtc_time() returns uint32 and therefore overflow about every 7:45h. Let's write the last state of system_get_rtc_time() in RTC mem and use it to check for overflow. This commit require running pyb_rtc_get_us_since_2000() at least once within 7 hours to avoid overflow. | |||
2016-06-03 | stmhal/uart.c: Fix wrong baudrate calculation for stm32l4 series. | Tobias Badertscher | |
2016-06-03 | drivers/display/ssd1306: update SSD1306_SPI to work with new API | Radomir Dopieralski | |
Makes it work on the ESP8266. | |||
2016-06-03 | tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000. | Damien George | |
This makes the test reliably overflow the recursion limit (which is the correct behaviour) on Mac OS X. | |||
2016-06-03 | lib/timeutils/timeutils: Fix pedantic warning in coverage build. | Paul Sokolovsky | |
2016-06-02 | lib/timeutils/timeutils: timeutils_mktime may accept negative time values. | Paul Sokolovsky | |
And will normalize them. | |||
2016-06-02 | docs/esp8266/quickref: Update WebREPL section for 1.8.1 release. | Paul Sokolovsky | |
WebREPL is much more stable now. | |||
2016-06-02 | docs/library/index: Fix grammar and spelling in intro paragraph. | Damien George | |
2016-06-02 | docs/wipy/tutorial: Add note about screen key bindings on OS X. | Marcel Stör | |
2016-06-02 | docs/README: Add some hints for PDF docs generation. | Paul Sokolovsky | |
2016-06-02 | docs/library/index: Add intro paragraph regarding availability of modules. | Paul Sokolovsky | |
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-01 | esp8266/general: Typo/grammar fixes. | Paul Sokolovsky | |
2016-06-01 | esp8266/quickref: Use local image of Adafruit Huzzah board. | Paul Sokolovsky | |
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 | docs: math, cmath: Add port availability information. | Paul Sokolovsky | |
2016-06-01 | docs/math: Typo fix. | Paul Sokolovsky | |
2016-06-01 | esp8266: Provide a dedicated variable to disable ets_loop_iter. | Damien George | |
So ets_loop_iter is now only disabled when using machine.disable_irq. | |||
2016-06-01 | esp8266/rtc: Set RTC user memory length to 0 on first boot. | Damien George | |
So that RTC.memory() returns b'' on power up if it was never set. Fixes issue #2138. | |||
2016-05-31 | esp8266/moduos.c: Add stat() to the module uos of esp8266. | Robert HH | |
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 | esp8266: Enable MICROPY_PY_IO_FILEIO to get compliant text/binary streams. | Paul Sokolovsky | |
2016-05-31 | extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us. | Damien George | |
Since not all ports that enable the machine module have the pin HAL functions. | |||
2016-05-31 | esp8266/modmachine: Add machine.time_pulse_us function. | Damien George | |
2016-05-31 | docs/library/machine: Add documentation for machine.time_pulse_us. | Damien George | |
2016-05-31 | extmod: Add machine time_pulse_us function (at C and Python level). | Damien George | |
The C implementation is taken from the DHT driver. | |||
2016-05-31 | extmod/vfs_fat: Mark anused "self" arg for fat_vfs_stat(). | Paul Sokolovsky | |
2016-05-31 | stmhal/dac: DAC deinit() method added. | Peter Hinch | |
2016-05-31 | extmod/vfs_fat.c: Add vfs.stat(). | Robert HH | |
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-30 | docs/esp8266/general: Remove duplicate phrase. | Tomas R | |
2016-05-30 | esp8266/scripts/ntptime: Allow to override NTP server. | Paul Sokolovsky | |
This is not part of public API, variable name may change, or it can be replaced with a function. | |||
2016-05-29 | extmod/vfs_fat: getcwd(): Use mp_obj_new_exception_arg1(). | Paul Sokolovsky | |
Copy-paste issue, with the original mistake in stmhal. | |||
2016-05-29 | stmhal/moduos: getcwd(): Use mp_obj_new_exception_arg1(). | Paul Sokolovsky | |
Argument types were converted, but old function call of mp_obj_new_exception_msg_varg() remained. | |||
2016-05-29 | esp8266/moduos: Add chdir() and getcwd() functions. | Paul Sokolovsky | |
2016-05-29 | tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd(). | Paul Sokolovsky | |
2016-05-29 | extmod/vfs_fat: chdir(), getcwd() methods should accept VFS object (self). | Paul Sokolovsky | |
2016-05-29 | extmod/vfs_fat: Add getcwd() method. | Paul Sokolovsky | |
Ported from stmhal. | |||
2016-05-29 | extmod/vfs_fat: Add chdir() method. | Paul Sokolovsky | |
Ported from stmhal. | |||
2016-05-29 | esp8266/uart: Properly initialise UART0 RXD pin in uart_config. | Damien George | |
Tested and seems to work. See #1995. | |||
2016-05-29 | esp8266/modnetwork: Allow to press ctrl-C while scan() is running. | Damien George | |
Ctrl-C will raise a KeyboardInterrupt and stop the scan (although it will continue to run in the background, it won't report anything). If interrupted, and another scan() is started before the old one completes in the background, then the second scan will fail with an OSError. | |||
2016-05-29 | esp8266/modnetwork: Protect scan() callback against memory errors. | Damien George | |
scan() allocates memory so may cause an exception to be raised. | |||
2016-05-29 | esp8266/modnetwork: scan() is only supported by STA when it's enabled. | Damien George | |
2016-05-28 | py/modstruct: Allow to have "0s" in struct format. | Damien George | |
2016-05-28 | README: "quick build": Use "make axtls" after all. | Paul Sokolovsky | |
"make deplibs" also builds libffi, and that requires GNU autotools. As we use host libffi by default, skip requiring users to build it for now. | |||
2016-05-28 | unix/Makefile: "make axtls": Automatically fetch submodules if missing. | Paul Sokolovsky | |
Try to emulate "you can build without reading instructions" behavior as far as possible. | |||
2016-05-28 | README: Add "make deplibs" to quick build section. | Paul Sokolovsky | |
2016-05-28 | unix/mpconfigport.mk: Document MICROPY_STANDALONE make-level option. | Paul Sokolovsky | |
Avoid using system libraries, use copies bundled with MicroPython as submodules (currently affects only libffi, other dependencies either already used as bundled-only (axtls), or can't be bundled (so far), like libjni). | |||
2016-05-28 | tools: Upgrade upip to 0.7. | Paul Sokolovsky | |
SSL certificate warning, switch to uerrno, and better usage message. | |||
2016-05-28 | py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. | Paul Sokolovsky | |
2016-05-27 | extmod/vfs_fat*: Replace text error messages by POSIX error numbers. | Robert HH | |
These changes are in line with similar changes in other modules, and with standard Python interface. |