Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | unix/Makefile: "make axtls": Automatically fetch submodules if missing. | Paul Sokolovsky | 2016-05-28 |
| | | | | | Try to emulate "you can build without reading instructions" behavior as far as possible. | ||
* | README: Add "make deplibs" to quick build section. | Paul Sokolovsky | 2016-05-28 |
| | |||
* | unix/mpconfigport.mk: Document MICROPY_STANDALONE make-level option. | Paul Sokolovsky | 2016-05-28 |
| | | | | | | | 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). | ||
* | tools: Upgrade upip to 0.7. | Paul Sokolovsky | 2016-05-28 |
| | | | | SSL certificate warning, switch to uerrno, and better usage message. | ||
* | py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. | Paul Sokolovsky | 2016-05-28 |
| | |||
* | extmod/vfs_fat*: Replace text error messages by POSIX error numbers. | Robert HH | 2016-05-27 |
| | | | | | These changes are in line with similar changes in other modules, and with standard Python interface. | ||
* | extmod/virtpin: Initial implementation of open-ended C-level Pin interface. | Paul Sokolovsky | 2016-05-27 |
| | | | | | | | | | 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). | ||
* | esp8266/Makefile: Document "disable" value for UART_OS. | Paul Sokolovsky | 2016-05-27 |
| | |||
* | esp8266: Add dht.py script for high-level control of DHT11/DHT22 sensor. | Damien George | 2016-05-26 |
| | | | | | TODO: should go in a more port-neutral place, like drivers/dht, but at the moment in relies on specific esp module. | ||
* | esp8266: Enable DHT C-level driver. | Damien George | 2016-05-26 |
| | | | | | Exposed as esp.dht_readinto. Probably should go somewhere less port-specific. | ||
* | drivers: Add C-level function to read DHT11 and DHT22 devices. | Damien George | 2016-05-26 |
| | | | | Uses mp_hal_pin API. | ||
* | extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. | Damien George | 2016-05-26 |
| | | | | | mp_hal_pin_config_od is renamed mp_hal_pin_open_drain, and mp_hal_pin_low is mp_hal_pin_od_low. | ||
* | 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 | 2016-05-26 |
| | | | | | | ets_loop_iter processes pending tasks, and tasks are considered lower priority than interrupts, so tasks shouldn't be processed if interrupts are disabled. | ||
* | 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 | 2016-05-26 |
| | | | | | | 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. | ||
* | unix: Enable "ussl" module. | Paul Sokolovsky | 2016-05-26 |
| | | | | | 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. | ||
* | 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 | 2016-05-26 |
| | | | | Still not compatible with nanboxing. | ||
* | py/moduerrno: Add EEXIST, EISDIR. | Paul Sokolovsky | 2016-05-25 |
| | | | | Useful to check file/dir operations result, in particular used by upip. | ||
* | esp8266/esp_mphal: mp_uos_dupterm_deactivate() may raise exception. | Paul Sokolovsky | 2016-05-24 |
| | | | | So, keep call to it protected via NLR still. | ||
* | 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-24 |
| | |||
* | docs/esp8266/general: Grammar fixes. | mad474 | 2016-05-23 |
| | |||
* | py/objnamedtuple: Allow passing field names as a tuple. | Antonin ENFRUN | 2016-05-23 |
| | | | | | So the documentation's example works. Besides, a tuple can be more memory efficient. | ||
* | unix: Support frozen packages. | Damien George | 2016-05-23 |
| | | | | | | To use, put your directory structure with .py files in frozen/ and then: make FROZEN_MPY_DIR=frozen | ||
* | py/makeqstrdata.py: Allow to have double-quote characters in qstrs. | Damien George | 2016-05-23 |
| | | | | | When rendering the qstr for a C header file, the double-quate character must be escaped. | ||
* | stmhal: Support frozen packages using .mpy files. | Damien George | 2016-05-23 |
| | | | | See issue #1814. | ||
* | tools/mpy-tool.py: Don't strip directories from the frozen source name. | Damien George | 2016-05-23 |
| | | | | | Directories are now supported by the frozen import system (to implement frozen packages) so we should keep them. | ||
* | mpy-cross: Add -s option to specify the embedded source filename. | Damien George | 2016-05-23 |
| | | | | | | | | | | .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. | ||
* | tools/mpy-tool.py: Include .py extension in frozen filename. | Damien George | 2016-05-23 |
| | | | | So that it can be correctly stat'd when looking for frozen files. | ||
* | py: Allow to stat and import frozen mpy files using new frozen "VFS". | Damien George | 2016-05-23 |
| | | | | Freezing mpy files using mpy-tool.py now works again. | ||
* | docs: esp8266: Include ussl module in the docs. | Paul Sokolovsky | 2016-05-22 |
| | |||
* | docs/ussl: Add basic description of axTLS-based modussl. | Paul Sokolovsky | 2016-05-22 |
| | | | | | In particular, disclose the fact that server certificates are not validated. | ||
* | esp8266/main: Update _boot module loading for recent frozen modules refactors. | Paul Sokolovsky | 2016-05-22 |
| | |||
* | esp8266: Enable collections.OrderedDict. | Paul Sokolovsky | 2016-05-22 |
| | |||
* | py/objstr: Fix mix-signed comparison in str.center(). | Paul Sokolovsky | 2016-05-22 |
| | |||
* | py/objstr*: Properly ifdef str.center(). | Dave Hylands | 2016-05-22 |
| | |||
* | tests: Add testcase for str.center(). | Paul Sokolovsky | 2016-05-22 |
| | |||
* | py/objstr: Implement str.center(). | Paul Sokolovsky | 2016-05-22 |
| | | | | | | Disabled by default, enabled in unix port. Need for this method easily pops up when working with text UI/reporting, and coding workalike manually again and again counter-productive. | ||
* | py/builtinimport: Unbreak bare-arm build. | Paul Sokolovsky | 2016-05-21 |
| | |||
* | py/builtinimport: Unbreak minimal build. | Paul Sokolovsky | 2016-05-21 |
| | | | | | These are workarounds required until frozen .mpy loading following standard frozen modules code path. | ||
* | tools/make-frozen: Update for latest changes in frozen modules support. | Paul Sokolovsky | 2016-05-21 |
| | | | | | | Frozen modules are now stored with extensions and with '/' as path separator. In other words, frozen modules paths stored as they are in normal filesystem. | ||
* | py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. | Paul Sokolovsky | 2016-05-21 |
| | | | | | | | | | | Now frozen modules is treated just as a kind of VFS, and all operations performed on it correspond to operations on normal filesystem. This allows to support packages properly, and potentially also data files. This change also have changes to rework frozen bytecode modules support to use the same framework, but it's not finished (and actually may not work, as older adhox handling of any type of frozen modules is removed). | ||
* | unix/unix_mphal: Implement mp_hal_ticks_us(). | Paul Sokolovsky | 2016-05-21 |
| | | | | Similar to existing mp_hal_ticks_ms(). |