aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-27Merge pull request #720 from iabdalkader/mcu_namePaul Sokolovsky
Change MCU name config micro
2014-06-27Change MCU name config micromux
2014-06-27Merge pull request #717 from stinos/dead-codePaul Sokolovsky
unix: Remove unused CTRL-D definition
2014-06-27Merge pull request #703 from iabdalkader/micro_namesPaul Sokolovsky
Add MICROPY_HW_MICRO_NAME to boards config
2014-06-27tests: Add test for catching infinite function recursion.Paul Sokolovsky
Put into misc/ to not complicate life for builds with check disabled.
2014-06-27stmhal: Use stackctrl framework.Paul Sokolovsky
2014-06-27py: Add portable framework to query/check C stack usage.Paul Sokolovsky
Such mechanism is important to get stable Python functioning, because Python function calling is handled with C stack. The idea is to sprinkle STACK_CHECK() calls in places where there can be C recursion. TODO: Add more STACK_CHECK()'s.
2014-06-26Merge pull request #719 from dhylands/pin_fixPaul Sokolovsky
Use mp_const_none to initialize mapper and map_dict (fix #701)
2014-06-25Use mp_const_none to initialize mapper and map_dictDave Hylands
2014-06-26binary: machine_uint_t vs uint dichotomy starts doing real damage.Paul Sokolovsky
2014-06-26travis: Use unified diffs for failed tests.Paul Sokolovsky
2014-06-25modstruct: Fix alignment handling issues.Paul Sokolovsky
Also, factor out mp_binary_get_int() function.
2014-06-25unix: Remove unused CTRL-D definitionstijn
2014-06-25modgc: Add mem_free()/mem_alloc() methods.Paul Sokolovsky
Return free/allocated memory on GC heap.
2014-06-25Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-06-24Merge pull request #690 from stinos/msvc-gcPaul Sokolovsky
msvc: Enable GC
2014-06-24modsocket: Fix uClibc detection.Paul Sokolovsky
2014-06-24unix: Dump default heap size in usage message.Paul Sokolovsky
2014-06-22py: Implement delete_attr in native emitter.Damien George
2014-06-22unix: Don't error out on #warning directive.Paul Sokolovsky
2014-06-22modsocket: Workaround uClibc issue with numeric port for getaddrinfo().Paul Sokolovsky
It sucks to workaround this on uPy side, but upgrading not upgradable embedded systems sucks even more.
2014-06-22modsocket: Add call to freeaddrinfo().Paul Sokolovsky
2014-06-22unix: uClibc doesn't like NULL as a buffer arg to realpath().Paul Sokolovsky
So, allocate one explicitly.
2014-06-22gc: Use simple cast instead of union to silence compilerstijn
2014-06-22windows: Enable GC and implement bss start and end symbolsstijn
The pointers to the bss section are acquired in init.c() by inspecting the PE header. Works for msvc and mingw.
2014-06-22py: Support arm and thumb ARM ISAs, in addition to thumb2.Paul Sokolovsky
These changes were tested with QEMU, and by few people of real hardware.
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
It defines types used by all other headers. Fixes #691.
2014-06-20mkrules.mk: Pass $(COPT) to link stage.Paul Sokolovsky
In generalize case, optimization options should be passed to all stages of the build process.
2014-06-20makefile: Pass STRIPFLAGS_EXTRA to strip.Paul Sokolovsky
Expected to be set on command line, with the idea being that for different targets, there're different smartass ABIs which strive to put unneeded sections into executables, etc., so let people have flexible way to strip that. The option name is similar to previously introduced CLFAGS_EXTRA & LDFLAGS_EXTRA.
2014-06-20unix: Allow to override MICROPY_GCREGS_SETJMP from cmdline.Paul Sokolovsky
2014-06-20unix: Add CFLAGS_EXTRA & LDFLAGS_EXTRA for command line usage.Paul Sokolovsky
The idea is that it should be possible to pass any additional params for experimentation without need to patch sources (and without need to deviate from or repeat baseline options).
2014-06-20unix: Refactor order file munging fo MacOSX.Paul Sokolovsky
2014-06-20unix: Group CFLAGS related stuff together.Paul Sokolovsky
2014-06-20unix: Allow to override compiler warning options without touching the rest.Paul Sokolovsky
Some people want to enable even more warnings. Let them do it without putting burden on everyone. Some people vice versa think that current settings should be relaxed. In this regard, -Werror is the most problematic, it disallows to use #warning directive, and disallows to pass configuration settings on make command lines. Again, until decided how to deal with these globally, allow to work around these problems locally.
2014-06-20tests/float/: Skip tests if "math" module is not available.Paul Sokolovsky
2014-06-20py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT.Paul Sokolovsky
One thing is wanting to do 1 / 2 and get something else but 0, and quite another - doing rocket science ;-).
2014-06-20Merge pull request #697 from stinos/gc-debugPaul Sokolovsky
gc: More verbose debugging
2014-06-20Merge pull request #707 from eblot/master-v1.1.1-build-fixesPaul Sokolovsky
Fix missing declaration of assert() Replace ARRAY_SIZE with MP_ARRAY_SIZE
2014-06-19bench: Three ways to process a byte buffer.Paul Sokolovsky
2014-06-19bench: Add test for map() vs inplace operations in array-likes.Paul Sokolovsky
map() is 5 times slower. That's mostly because of inefficiency of creating containers from iterables of unknown length (like map()).
2014-06-19bench: Add tests for constructing various containers from iterator.Paul Sokolovsky
Both "bound" (like, length known) and "unbound" (length unknown) are tested. All of list, tuple, bytes, bytesarray offer approximately the same performance, with "unbound" case being 30 times slower.
2014-06-19bench: Add test for function call overhead.Paul Sokolovsky
For a trivial operation, calling a function is 5 times slower than doing operation inline.
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-19Add missing “assert.h” file header inclusion from “nlr.h”Emmanuel Blot
2014-06-19Add MICROPY_HW_MICRO_NAME to boards configmux
2014-06-18Merge pull request #700 from swegener/for-upstreamDamien George
bare-arm, stmhal: Disable stack protector
2014-06-18bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGSSven Wegener
As we are building with -nostdlib gcc features like the stack protector will fail linking, because the failure handlers are in gcc's internal libs. Such features are implicitly disabled during compilation when -nostdlib is used in CFLAGS too. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-06-18bare-arm, stmhal: Fix --nostdlib to -nostdlibSven Wegener
-nostdlib is the correct option, gcc recognizes the double dash version when in link-only mode, but not when compiling. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-06-18gc: Turn off debugging info againstijn
2014-06-18gc: Keep debug statements at beginning of scope where possiblestijn