summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-01stmhal: Add symbolic #defines for interrupt levels in irq.h.Dave Curtis
2015-11-01cc3200: Remove includes of rom.h (must be included via rom_map.h).danicampora
2015-11-01cc3200: Fix SPI clock divider calculation.danicampora
2015-11-01extmod/re1.5: Workaround issue with mingw32-gcc 4.2.1.Paul Sokolovsky
2015-11-01windows/README: Deprecate mingw32, suggest using mingw64.Paul Sokolovsky
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.
2015-11-01extmod/modure: Make sure that errors in regexps are caught early.Paul Sokolovsky
2015-11-01extmod/re1.5: Update to 0.8.Paul Sokolovsky
Contains implementation of ?: (non-capturing groups), ?? (non-greedy ?), as well as much improved robustness, and edge cases and error handling by Amir Plivatsky (@ampli).
2015-10-31cc3200: Use common pyexec.c .Paul Sokolovsky
2015-10-31extmod/modlwip: socket->incoming changed by async callbacks, must be volatile.Paul Sokolovsky
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.
2015-10-31stmhal: pyexec.c is common module, move to lib/utils/ .Paul Sokolovsky
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
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.
2015-10-31tests/base/struct1.py: Add test for repetition counters.Paul Sokolovsky
2015-10-31py/modstruct: Support repetition counters for all types, not just string.Paul Sokolovsky
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).
2015-10-31stmhal: Update PYBv3 and PYBv4 pin defs to include MMA pins, and others.Damien George
2015-10-31tests: Make sure test output has \r\n line-ends when running on Windowsstijn
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.
2015-10-31windows: Use write() instead of fwrite() to avoid out-of-order output.stijn
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.
2015-10-31py: In inline asm, vldr and vstr offsets now in bytes not words.adminpete
As per ARM convention.
2015-10-30stmhal: f7: Fix recent RTC change to build on F7.Dave Hylands
2015-10-31README: Adjust suggested path for generated docs.Paul Sokolovsky
2015-10-31docs/library/index.rst: Minimally adapt for unix port.Paul Sokolovsky
2015-10-31docs: Actually add unix port indexes, so docs for it could be generated.Paul Sokolovsky
2015-10-30stmhal: Make RTC init skip startup if LTE is already enabled and ready.Peter Hinch
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.
2015-10-30stmhal: Add define for UNIQUE_ID address (differs per MCU)Dave Hylands
2015-10-30stmhal: Enable sdcard on STM32F7DISC board.Dave Hylands
2015-10-30windows: Call _set_output_format() only on Visual Studio versions 2013 or lower.omtinez
Since VS2015, float formatting is C standard compliant by default: https://msdn.microsoft.com/en-us/library/bb531344(v=vs.140).aspx
2015-10-30py/makeversionhdr.py: Work with backslashes in paths.omtinez
This script may be called by Windows IDEs (e.g. Visual Studio) and be passed paths with backslashes.
2015-10-29stmhal: Make accel AVDD pin configurable via mpconfigboard.h.Damien George
2015-10-29docs: select: Describe poll.poll() return value in detail.Paul Sokolovsky
2015-10-29cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29stmhal/moduselect: Use mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().Paul Sokolovsky
2015-10-29teensy: Switch from HAL_* to mp_hal_* functions.Paul Sokolovsky
2015-10-29minimal: Use mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function.Paul Sokolovsky
2015-10-29stmhal/pyexec: Use mp_hal_ticks_ms().Paul Sokolovsky
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.
2015-10-29esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_delay_us() MPHAL function.Paul Sokolovsky
2015-10-28examples: Add example of I2C usage, taking PyBoard accelerometer as subject.Paul Sokolovsky
2015-10-28cc3200: Actually allow to specify a custom build directory.danicampora
2015-10-28cc3200: Fix bug in FTP command buffer, and set listening backlog to 0.danicampora
2015-10-28extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull().Paul Sokolovsky
Since we now have it.
2015-10-27unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms().Paul Sokolovsky
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.
2015-10-26docs/wipy: Fix bug in example code and add note regarding OTA.danicampora
2015-10-27extmod/modlwip: Codestyle: no need for () when taking address of primary expr.Paul Sokolovsky
Like foo.bar or foo->bar.
2015-10-27extmod/modlwip: lwip_tcp_send(): Common subexpression elimination, use MIN().Paul Sokolovsky
2015-10-27extmod/modlwip.c: Codestyle whitespace changes.Paul Sokolovsky
With MicroPython codestyle, with pointer casts, "*" packs with primary type without space. Few other similar changes too (git diff -b -w is null).
2015-10-26docs/wipy: Fix several typos and change some pyboard to WiPy.Martijn Koster
2015-10-26cc3200: Set pin direction first, then value. Fixes #1542.danicampora
2015-10-27extmod/modlwip: slip: Use stream protocol and be port-independent.Paul Sokolovsky
Based on the original patch by Galen Hazelwood: https://github.com/micropython/micropython/pull/1517 .
2015-10-26windows: Rename "time" module to "utime" for consistency with others.stijn