Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | stmhal: Add symbolic #defines for interrupt levels in irq.h. | Dave Curtis | 2015-11-01 |
| | |||
* | cc3200: Remove includes of rom.h (must be included via rom_map.h). | danicampora | 2015-11-01 |
| | |||
* | cc3200: Fix SPI clock divider calculation. | danicampora | 2015-11-01 |
| | |||
* | extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1. | Paul Sokolovsky | 2015-11-01 |
| | |||
* | windows/README: Deprecate mingw32, suggest using mingw64. | Paul Sokolovsky | 2015-11-01 |
| | | | | | | Ubuntu's mingw32 has gcc 4.2.1, which is rather old and has incorrect non-initialized variable analysis which produces warnings, which per MicroPython default settings get turned into errors. | ||
* | extmod/modure: Make sure that errors in regexps are caught early. | Paul Sokolovsky | 2015-11-01 |
| | |||
* | extmod/re1.5: Update to 0.8. | Paul Sokolovsky | 2015-11-01 |
| | | | | | | Contains implementation of ?: (non-capturing groups), ?? (non-greedy ?), as well as much improved robustness, and edge cases and error handling by Amir Plivatsky (@ampli). | ||
* | cc3200: Use common pyexec.c . | Paul Sokolovsky | 2015-10-31 |
| | |||
* | extmod/modlwip: socket->incoming changed by async callbacks, must be volatile. | Paul Sokolovsky | 2015-10-31 |
| | | | | | | | | | | Otherwise for code like: while (socket->incoming == NULL) { LWIP_DELAY(100); } a compiler may cache it in a register and it will be an infinite loop. | ||
* | stmhal: pyexec.c is common module, move to lib/utils/ . | Paul Sokolovsky | 2015-10-31 |
| | |||
* | all: Add py/mphal.h and use it in all ports. | Damien George | 2015-10-31 |
| | | | | | | py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations. | ||
* | tests/base/struct1.py: Add test for repetition counters. | Paul Sokolovsky | 2015-10-31 |
| | |||
* | py/modstruct: Support repetition counters for all types, not just string. | Paul Sokolovsky | 2015-10-31 |
| | | | | | | | This makes format specifiers ~ fully compatible with CPython. Adds 24 bytes for stmhal port (because previosuly we had to catch and report it's unsupported to user). | ||
* | stmhal: Update PYBv3 and PYBv4 pin defs to include MMA pins, and others. | Damien George | 2015-10-31 |
| | |||
* | tests: Make sure test output has \r\n line-ends when running on Windows | stijn | 2015-10-31 |
| | | | | | | | This is the case already when using just subprocess.check_output, but in the special cases (cmdline, meminfo, ...) the carriage return gets lost during output processing so restore it in the end. This fixes the micropython/meminfo.py test on Windows. | ||
* | windows: Use write() instead of fwrite() to avoid out-of-order output. | stijn | 2015-10-31 |
| | | | | | This fixes the basics/exception_chain.py test, also see #1500 for more info and [4300c7d] where the same change was done for the other ports. | ||
* | py: In inline asm, vldr and vstr offsets now in bytes not words. | adminpete | 2015-10-31 |
| | | | | As per ARM convention. | ||
* | stmhal: f7: Fix recent RTC change to build on F7. | Dave Hylands | 2015-10-30 |
| | |||
* | README: Adjust suggested path for generated docs. | Paul Sokolovsky | 2015-10-31 |
| | |||
* | docs/library/index.rst: Minimally adapt for unix port. | Paul Sokolovsky | 2015-10-31 |
| | |||
* | docs: Actually add unix port indexes, so docs for it could be generated. | Paul Sokolovsky | 2015-10-31 |
| | |||
* | stmhal: Make RTC init skip startup if LTE is already enabled and ready. | Peter Hinch | 2015-10-30 |
| | | | | | | | This prevents the loss of RTC time when exiting from standby mode, since the RTC is paused while it is being re-inited and this loses about 120ms. Thanks to @chuckbook for the patch. | ||
* | stmhal: Add define for UNIQUE_ID address (differs per MCU) | Dave Hylands | 2015-10-30 |
| | |||
* | stmhal: Enable sdcard on STM32F7DISC board. | Dave Hylands | 2015-10-30 |
| | |||
* | windows: Call _set_output_format() only on Visual Studio versions 2013 or lower. | omtinez | 2015-10-30 |
| | | | | | Since VS2015, float formatting is C standard compliant by default: https://msdn.microsoft.com/en-us/library/bb531344(v=vs.140).aspx | ||
* | py/makeversionhdr.py: Work with backslashes in paths. | omtinez | 2015-10-30 |
| | | | | | This script may be called by Windows IDEs (e.g. Visual Studio) and be passed paths with backslashes. | ||
* | stmhal: Make accel AVDD pin configurable via mpconfigboard.h. | Damien George | 2015-10-29 |
| | |||
* | docs: select: Describe poll.poll() return value in detail. | Paul Sokolovsky | 2015-10-29 |
| | |||
* | cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-29 |
| | |||
* | stmhal/moduselect: Use mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-29 |
| | |||
* | cc3200: Switch from HAL_Delay() to mp_hal_delay_ms(). | Paul Sokolovsky | 2015-10-29 |
| | |||
* | teensy: Switch from HAL_* to mp_hal_* functions. | Paul Sokolovsky | 2015-10-29 |
| | |||
* | minimal: Use mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-29 |
| | |||
* | esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function. | Paul Sokolovsky | 2015-10-29 |
| | |||
* | stmhal/pyexec: Use mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-29 |
| | | | | | | This file is actually port-generic and should be moved out of stmhal/ . Other ports already use it, and thus it should use mp_hal_ticks_ms() right away. | ||
* | esp8266: Switch to standard mp_hal_delay_ms() MPHAL function. | Paul Sokolovsky | 2015-10-29 |
| | |||
* | esp8266: Switch to standard mp_hal_delay_us() MPHAL function. | Paul Sokolovsky | 2015-10-29 |
| | |||
* | examples: Add example of I2C usage, taking PyBoard accelerometer as subject. | Paul Sokolovsky | 2015-10-28 |
| | |||
* | cc3200: Actually allow to specify a custom build directory. | danicampora | 2015-10-28 |
| | |||
* | cc3200: Fix bug in FTP command buffer, and set listening backlog to 0. | danicampora | 2015-10-28 |
| | |||
* | extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull(). | Paul Sokolovsky | 2015-10-28 |
| | | | | Since we now have it. | ||
* | unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms(). | Paul Sokolovsky | 2015-10-27 |
| | | | | | | | | These MPHAL functions are intended to replace previously used HAL_Delay(), HAL_GetTick() to provide better naming and MPHAL separation (they are fully equivalent otherwise). Also, refactor extmod/modlwip to use them. | ||
* | docs/wipy: Fix bug in example code and add note regarding OTA. | danicampora | 2015-10-26 |
| | |||
* | extmod/modlwip: Codestyle: no need for () when taking address of primary expr. | Paul Sokolovsky | 2015-10-27 |
| | | | | Like foo.bar or foo->bar. | ||
* | extmod/modlwip: lwip_tcp_send(): Common subexpression elimination, use MIN(). | Paul Sokolovsky | 2015-10-27 |
| | |||
* | extmod/modlwip.c: Codestyle whitespace changes. | Paul Sokolovsky | 2015-10-27 |
| | | | | | With MicroPython codestyle, with pointer casts, "*" packs with primary type without space. Few other similar changes too (git diff -b -w is null). | ||
* | docs/wipy: Fix several typos and change some pyboard to WiPy. | Martijn Koster | 2015-10-26 |
| | |||
* | cc3200: Set pin direction first, then value. Fixes #1542. | danicampora | 2015-10-26 |
| | |||
* | extmod/modlwip: slip: Use stream protocol and be port-independent. | Paul Sokolovsky | 2015-10-27 |
| | | | | | Based on the original patch by Galen Hazelwood: https://github.com/micropython/micropython/pull/1517 . | ||
* | windows: Rename "time" module to "utime" for consistency with others. | stijn | 2015-10-26 |
| |