| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-03 | tests: Add test for recursive iternext stack overflow. | Damien George | |
| 2015-06-03 | py: Add stack check to mp_iternext, since it can be called recursively. | Damien George | |
| Eg, builtin map can map over a map, etc, and call iternext deeply. Addresses issue #1294. | |||
| 2015-06-03 | unix: Update .gitignore; now ignores coverage build. | Damien George | |
| 2015-06-03 | unix: Prepare upip frozen modules under build/. | Paul Sokolovsky | |
| 2015-06-03 | tools/make-frozen.py: Handle trailing slash in argument more reliably. | Paul Sokolovsky | |
| 2015-06-03 | tools: Add codestats.sh to compute code statistics such as size, speed. | Damien George | |
| 2015-06-03 | cc3200: Add method to configure the servers timeout. | Daniel Campora | |
| 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 | unix: Uncompress upip tarball to build directory. | Paul Sokolovsky | |
| 2015-06-02 | esp8266: Do not call espconn_create in constructor of esp.socket. | Paul Sokolovsky | |
| Turns out this is supposed to be called only for UDP connections. Patch by Josef Gajdusek. | |||
| 2015-06-02 | cc3200: Fix 'MP_QSTR_sd' undeclared error when building for the LAUNCHXL. | Daniel Campora | |
| 2015-06-02 | docs/uctypes: Typo fix. | Paul Sokolovsky | |
| 2015-06-02 | docs/uctypes: Fix API description errors. | Paul Sokolovsky | |
| "Structure class" is its descriptor, encoded as a dictionary. Then, uctypes.struct() instantiates an actual object, and thus requires memory address. | |||
| 2015-06-02 | tools: Add upip 0.5.2 tarball. | Paul Sokolovsky | |
| So unix version, which now includes upip as a frozen module, can be built without Internet connection. | |||
| 2015-06-02 | unix: Include upip as fronzen modules inside the standard interpreter. | Paul Sokolovsky | |
| 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-01 | esp8266: Fix lost chars problem when block-xfering data (e.g., when pasting). | Paul Sokolovsky | |
| Pasting more or less sizable text into ESP8266 REPL leads to random chars missing in the received input. Apparent cause is that using RTOS messages to pass individual chars one by one is to slow and leads to UART FIFO overflow. So, instead of passing chars one by one, use RTOS msg to signal that input data is available in FIFO, and then let task handler to read data directly from FIFO. With this change, lost chars problem is gone, but the pasted text is truncated after some position. At least 500 chars can be pasted reliably (at 115200 baud), but 1K never pastes completely. | |||
| 2015-06-01 | stmhal: Add support for UART5 | Dave Hylands | |
| I tested this on my CERB40 board and it seems to be working fine. | |||
| 2015-05-31 | frozenmod: Include header with function prototypes. | Paul Sokolovsky | |
| 2015-05-30 | py: Wrap qstr defs in quotes to protect from C preprocessor. | Damien George | |
| This patch converts Q(abc) to "Q(abc)" to protect the abc from the C preprocessor, then converts back after the preprocessor is finished. So now we can safely put includes in mpconfig(port).h, and also preprocess qstrdefsport.h (latter is now done also in this patch). Addresses issue #1252. | |||
| 2015-05-30 | py/parsenum.c: Rename "raise" func to "raise_exc" to avoid name clash. | Damien George | |
| "raise" is a common word that was found to exist in a vendor's stdlib. | |||
| 2015-05-30 | py: Add further autodetection of endianess in mpconfig.h. | Damien George | |
| This patch was needed for gcc 4.4. | |||
| 2015-05-30 | py: Get makeqstrdata.py and makeversionhdr.py running under Python 2.6. | Damien George | |
| These scripts should run under as wide a range of Python versions as possible. | |||
| 2015-05-30 | esp8266: Update to SDK version 1.1.0 (MIT-licensed). | Josef Gajdusek | |
| 1. Updated linker script, now user app appears to contain exception vector table and oesn't work (faults) without it. 2. Commened out support for GPIO pulldown, which was removed in this SDK version without clear explanation, but apparently because it was released without proper validation, and now turns out it doesn't work as expected, or there's a different function there. | |||
| 2015-05-30 | docs: Document esp module for ESP8266. | Radomir Dopieralski | |
| I document as much as I could guess from experiments and reading the code for the ``esp`` module for the ESP8266 port of Micropython. For now the tag has to be set manually with -t option when building, when we have properly split documentation, there will be a separate config file for esp8266 with that the tag "port_esp8266" set. To build use: make SPHINXOPTS="-t port_esp8266" html | |||
| 2015-05-30 | lib/mp-readline: Allow overriding implementation of cursor functions | stijn | |
| Default implementation uses VT100-style sequences which are not implemented by all terminals out there | |||
| 2015-05-30 | lib/mp-readline: Add implementation for deleting a character | stijn | |
| xterm and others use the ESC[~3 sequence when pressing the delete key | |||
| 2015-05-30 | unix: Print an extra newline to the output on ctrl-D | stijn | |
| This assures the terminal prints it's prompt on a fresh line instead of appending it to the uPy prompt after exit. | |||
| 2015-05-30 | unix: minimal: Don't use readline support. | Paul Sokolovsky | |
| After switching to builtin readline support, "minimal" no longer builds, and minimal doesn't really need readline support. | |||
| 2015-05-30 | unix: Allow to override default sys.path value. | Paul Sokolovsky | |
| Using MICROPY_PY_SYS_PATH_DEFAULT macro define. A usecase is building a distribution package, which should not have user home path by default in sys.path. In such case, MICROPY_PY_SYS_PATH_DEFAULT can be defined on make command-line (using CFLAGS_EXTRA). | |||
| 2015-05-30 | tools/make-frozen.py: Open files in binary mode. | Paul Sokolovsky | |
| 2015-05-30 | tools/make-frozen.py: Preserve directory hierarchy. | Paul Sokolovsky | |
| Currently, frozen packages are not supported, but eventually they should be, so make sure to store complete directory hierarchy. | |||
| 2015-05-29 | bootstrap_upip.sh: Allow to install into a path given by argument. | Paul Sokolovsky | |
| 2015-05-29 | cc3200: Add period set method to the Timer class. | Daniel Campora | |
| 2015-05-29 | cc3200: Fix incorrect type for the wake cause variable. | Daniel Campora | |
| 2015-05-29 | cc3200: Clean up WLAN API. Make WLAN.info() an attrtuple. | Daniel Campora | |
| 2015-05-29 | cc3200: Rename pyb.reset() to pyb.hard_reset() and add pyb.unique_id(). | Daniel Campora | |
| 2015-05-28 | esp8266: Add a bunch of miscellaneous methods | Josef Gajdusek | |
| 2015-05-28 | esp8266: Add pyb.ADC class | Josef Gajdusek | |
| 2015-05-28 | esp8266: Enable setting CPU frequency to 160MHz | Josef Gajdusek | |
| 2015-05-28 | tests: Add special tests to test mp_printf function to improve coverage. | Damien George | |
| 2015-05-28 | tests: Add some tests for printing floats to improve coverage. | Damien George | |
| 2015-05-28 | py: Remove unnecessary extra handling of padding of nan/inf. | Damien George | |
| C's printf will pad nan/inf differently to CPython. Our implementation originally conformed to C, now it conforms to CPython's way. Tests for this are also added in this patch. | |||
| 2015-05-28 | py: Reduce size of mp_printf by eliminating unnecessary code. | Damien George | |
| Saves around 120 bytes on Thumb2 archs. | |||
| 2015-05-28 | cc3200: Remove WIPY-SD variant, and make the WiPy the default board. | Daniel Campora | |
| 2015-05-28 | cc3200: Rename Pin.get_config() to Pin.info(). | Daniel Campora | |
| 2015-05-28 | cc3200: Make small changes in WLAN to improve the API. | Daniel Campora | |
| 2015-05-28 | tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. | Damien George | |
| 2015-05-28 | stmhal: Fix off-by-one error when checking for valid I2C and SPI bus. | Damien George | |
| 2015-05-28 | ACKNOWLEDGEMENTS: Add 1 backer name to the file. | Damien George | |
| 2015-05-27 | tools: Allow pyboard constructor to take a baudrate parameter. | Dave Hylands | |
| This allows pyboard.py to be used over a UART interface rather than just over a USB serial interface. | |||
| 2015-05-27 | stmhal: Allow to name SPI busses, and give them names for pyboard. | Damien George | |
