summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-06stmhal/rtc: LSx oscillator is only initialized upon initial power up.T S
Initial power up also includes VBAT. If LSE is configured but fails to start, LSI is used until next full power cycle. Also handles STM32F7xx variant.
2015-11-07minimal: Clarify comments.Paul Sokolovsky
2015-11-06cc3200: Force SSL method to be TLSV1.danicampora
The default setting of using the "highest" method available doesn't work with some servers like Microsoft Azure. TLSV1 seems to work with pretty much any server.
2015-11-05cc3200: Make telnet server ignore NULL characters.danicampora
This fixes paste mode (Ctrl-E) which was not working for the telnet REPL.
2015-11-04extmod/lwip: Change void pointers to unions, include new mphal.h fileGalen Hazelwood
2015-11-04teensy: Switch over to using frozen modules instead of memzipDave Hylands
I left memzip in for the time being, so you can choose in the Makefile whether to USE_FROZEN or USE_MEMZIP. It looks like using frozen saves about 2472 bytes (using my set of 15 python files), mostly due to overheads in the zip file format.
2015-11-04lib/memzip: Factor out memzip from teensy/ into lib/memzip.Dave Hylands
2015-11-03docs: Add docs about REPL paste-mode and Control-CDave Hylands
2015-11-03docs: Move instructions on generating the documentation to docs/README.mdDave Hylands
2015-11-04minimal: Add an explicit comment on the gchelper.s line in the Makefile.Dave Hylands
2015-11-04README: Fix typo in package name.Mike Bryant
2015-11-03lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".Damien George
2015-11-02windows: Update build instructions in the READMEstijn
- use correct 'mingw-w64' package name - small grammar fixes - modify Cygwin build instructions to use that same compiler as well: the original mingw is stuck at gcc v4.7 and does not seem to be updated anymore - make it clear thet uPy also builds using Visual Studio versions > 2013
2015-11-02stmhal/can: Fix a bug in filter handling.Henrik Sölver
Reported here: http://forum.micropython.org/viewtopic.php?f=2&t=845
2015-11-03unix/unix_mphal: Typo fix in comment.Paul Sokolovsky
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.