aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-13py: Reorganise bytecode layout so it's more structured, easier to edit.Damien George
2015-11-13unix/main: Use builtin unichar_isdigit() in preference if libc's.Paul Sokolovsky
Less dependencies.
2015-11-13tests/jni: Add test for working with container of List interface.Paul Sokolovsky
2015-11-11unix/modjni: Add missing get_jclass_name() function.Paul Sokolovsky
2015-11-10docs: Fix a typo in the REPL documentation.Dave Hylands
2015-11-10lib/utils/printf: Move from stmhal/ .Paul Sokolovsky
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
2015-11-10windows: Allow specifying the python executable to use for msvc buildsstijn
This defaults to 'python' but can be now overridden if needed
2015-11-10Fix project file for Visual Studio 2015omtinez
2015-11-09docs/select: Document POLLIN/OUT/ERR/HUP.Paul Sokolovsky
2015-11-09stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.Paul Sokolovsky
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).
2015-11-09py/emitinlinethumb: Allow to compile with -Wsign-compare.Damien George
2015-11-09py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter.Damien George
2015-11-09lib/pyexec: Move header pyexec.h from stmhal directory.Damien George
2015-11-09py/objint_longlong: Instead of assert, throw OverflowError.Paul Sokolovsky
2015-11-08cc3200: FatFS configuration moved to the library folder.Alex March
Port specific settinigs defined in mpconfigport. FreeRTOS and semphr headers added to define SemaphoreHandle_t for the SYNC_T.
2015-11-08stmhal: FatFS configuration moved to the library folder.Alex March
Port specific settings defined in mpconfigport.
2015-11-08lib/fatfs: Unify fatfs configuration.Alex March
- A single ffcon.h file to configure fatfs settings across ports. - A single diskio.h file with common drive definitions. - Removed now reduntand ffconf_template.h.
2015-11-08unix/gccollect: Fallback to setjmp-based register fetching automatically.Paul Sokolovsky
Now, if we build for an architecture which doesn't have dedicated support for getting registers for GC scanning, fallback to setjmp-based method automatically. It's still possible to force setjmp-based implementation on archs with dedicated support (e.g. for testing, or for peculiar calling conventions/optimizations).
2015-11-07stmhal: Fix RTC code to work on the F7Dave Hylands
2015-11-07py: Clear finalizer flag when calling gc_free.Dave Hylands
Currently, the only place that clears the bit is in gc_collect. So if a block with a finalizer is allocated, and subsequently freed, and then the block is reallocated with no finalizer then the bit remains set. This could also be fixed by having gc_alloc clear the bit, but I'm pretty sure that free is called way less than alloc, so doing it in free is more efficient.
2015-11-07stmhal: Print more information at HardFault time.Dave Hylands
2015-11-07tools/pyboard.py: Don't add terminating \x04 character to stdout output.Paul Sokolovsky
2015-11-07lib/mp-readline: Make it easy to exit auto-indent mode by pressing enter.Damien George
This patch allows you to stop auto-indent by pressing enter on a second blank line. Easier than having to use backspace, and prevents new users from getting stuck in auto-indent mode.
2015-11-07tools/pyboard.py: Make -c (inline Python code) option compatible with python2.Paul Sokolovsky
2015-11-06stmhal: Add missing regex property for parsing header commentsTony Abboud
2015-11-06py: Adjust object repr C (30-bit stuffed float) to reduce code size.Damien George
This patch adds/subtracts a constant from the 30-bit float representation so that str/qstr representations are favoured: they now have all the high bits set to zero. This makes encoding/decoding qstr strings more efficient (and they are used more often than floats, which are now slightly less efficient to encode/decode). Saves about 300 bytes of code space on Thumb 2 arch.
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.