| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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. | |||
| 2016-05-27 | extmod/virtpin: Initial implementation of open-ended C-level Pin interface. | Paul Sokolovsky | |
| Using usual method of virtual method tables. Single virtual method, ioctl, is defined currently for all operations. This universal and extensible vtable-based method is also defined as a default MPHAL GPIO implementation, but a specific port may override it with its own implementation (e.g. close-ended, but very efficient, e.g. avoiding virtual method dispatch). | |||
| 2016-05-27 | esp8266/Makefile: Document "disable" value for UART_OS. | Paul Sokolovsky | |
| 2016-05-26 | esp8266: Add dht.py script for high-level control of DHT11/DHT22 sensor. | Damien George | |
| TODO: should go in a more port-neutral place, like drivers/dht, but at the moment in relies on specific esp module. | |||
| 2016-05-26 | esp8266: Enable DHT C-level driver. | Damien George | |
| Exposed as esp.dht_readinto. Probably should go somewhere less port-specific. | |||
| 2016-05-26 | drivers: Add C-level function to read DHT11 and DHT22 devices. | Damien George | |
| Uses mp_hal_pin API. | |||
| 2016-05-26 | extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. | Damien George | |
| mp_hal_pin_config_od is renamed mp_hal_pin_open_drain, and mp_hal_pin_low is mp_hal_pin_od_low. | |||
| 2016-05-26 | docs/machine: Make disable_irq and enable_irq docs available for all. | Damien George | |
| 2016-05-26 | esp8266/modmachine: Add disable_irq and enable_irq functions. | Damien George | |
| 2016-05-26 | esp8266/ets_alt_task: Don't run ets_loop_iter if irqs are disabled. | Damien George | |
| ets_loop_iter processes pending tasks, and tasks are considered lower priority than interrupts, so tasks shouldn't be processed if interrupts are disabled. | |||
| 2016-05-26 | esp8266/xtirq: Add xtirq.h for controlling xtensa irqs. | Damien George | |
| 2016-05-26 | esp8266/modpybspi: Configure pins when initialising an SPI object. | Damien George | |
| 2016-05-26 | esp8266: Add mp_hal_pin_input() and mp_hal_pin_output() functions. | Damien George | |
| 2016-05-26 | .travis.yml: Install gcc-arm-none-eabi with --force-yes for now. | Paul Sokolovsky | |
| There appears to be issue signature problem with the PPA package we use, so workaround it this way for now. Warning: with broken signature, there's always a possibility that PPA was hacked and ships trojaned binaries. | |||
| 2016-05-26 | unix: Enable "ussl" module. | Paul Sokolovsky | |
| ussl was in testing mode for 8 months, and now enabled in other ports (e.g. esp8266), so time for unix port to catch up. | |||
| 2016-05-26 | extmod/modussl: Coverage build fixes. | Paul Sokolovsky | |
| 2016-05-26 | unix/Makefile: nanbox build is not compatible with modussl, disable. | Paul Sokolovsky | |
| 2016-05-26 | extmod/modussl: Make more compatible with non-default obj representations. | Paul Sokolovsky | |
| Still not compatible with nanboxing. | |||
| 2016-05-25 | py/moduerrno: Add EEXIST, EISDIR. | Paul Sokolovsky | |
| Useful to check file/dir operations result, in particular used by upip. | |||
| 2016-05-24 | esp8266/esp_mphal: mp_uos_dupterm_deactivate() may raise exception. | Paul Sokolovsky | |
| So, keep call to it protected via NLR still. | |||
| 2016-05-24 | esp8266/esp_mphal: Handle Ctrl+C from dupterm (e.g. WebREPL). | Paul Sokolovsky | |
| 2016-05-24 | esp8266/esp_mphal: Fix NLR buffer leak in call_dupterm_read(). | Paul Sokolovsky | |
| 2016-05-24 | esp8266/scripts/port_diag: Dump network interface IP settings. | Paul Sokolovsky | |
| 2016-05-23 | docs/esp8266/general: Grammar fixes. | mad474 | |
| 2016-05-23 | py/objnamedtuple: Allow passing field names as a tuple. | Antonin ENFRUN | |
| So the documentation's example works. Besides, a tuple can be more memory efficient. | |||
| 2016-05-23 | unix: Support frozen packages. | Damien George | |
| To use, put your directory structure with .py files in frozen/ and then: make FROZEN_MPY_DIR=frozen | |||
| 2016-05-23 | py/makeqstrdata.py: Allow to have double-quote characters in qstrs. | Damien George | |
| When rendering the qstr for a C header file, the double-quate character must be escaped. | |||
| 2016-05-23 | stmhal: Support frozen packages using .mpy files. | Damien George | |
| See issue #1814. | |||
| 2016-05-23 | tools/mpy-tool.py: Don't strip directories from the frozen source name. | Damien George | |
| Directories are now supported by the frozen import system (to implement frozen packages) so we should keep them. | |||
| 2016-05-23 | mpy-cross: Add -s option to specify the embedded source filename. | Damien George | |
| .mpy files contain the name of the source file that they were compiled from. This patch adds a way to change this name to an arbitrary string, specified on the command line with the -s option. The default is to use the full name of the input filename. This new -s option is useful to strip off a leading directory name so that mpy-tool.py can freeze packages. | |||
| 2016-05-23 | tools/mpy-tool.py: Include .py extension in frozen filename. | Damien George | |
| So that it can be correctly stat'd when looking for frozen files. | |||
| 2016-05-23 | py: Allow to stat and import frozen mpy files using new frozen "VFS". | Damien George | |
| Freezing mpy files using mpy-tool.py now works again. | |||
| 2016-05-22 | docs: esp8266: Include ussl module in the docs. | Paul Sokolovsky | |
| 2016-05-22 | docs/ussl: Add basic description of axTLS-based modussl. | Paul Sokolovsky | |
| In particular, disclose the fact that server certificates are not validated. | |||
