- Dec 11, 2017
-
-
Damien George authored
For consistency this helper function is renamed to match the other exception helpers, and moved to their location in runtime.c.
-
- Nov 29, 2017
-
-
Damien George authored
-
- Oct 04, 2017
-
-
Damien George authored
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
-
- Jul 31, 2017
-
-
Alexander Steffen authored
There were several different spellings of MicroPython present in comments, when there should be only one.
-
- Jun 28, 2016
-
-
Damien George authored
-
- Mar 07, 2016
-
-
Paul Sokolovsky authored
Useful for embedded targets with fixed stack layout.
-
- Apr 02, 2015
-
-
Paul Sokolovsky authored
I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError.
-
- Feb 15, 2015
-
-
Paul Sokolovsky authored
So corresponding exception can be thrown even under tight memory conditions.
-
- Jan 07, 2015
-
-
Damien George authored
This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
-
- Jan 01, 2015
-
-
Damien George authored
Addresses issue #1022.
-
- Dec 10, 2014
-
-
Damien George authored
-
- Aug 30, 2014
-
-
Damien George authored
Part of code cleanup, working towards resolving issue #50.
-
- Jun 30, 2014
-
-
Paul Sokolovsky authored
-
- Jun 26, 2014
-
-
Paul Sokolovsky authored
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.
-
- May 25, 2014
-
-
Damien George authored
This removes need for some casts (at least, more than it adds need for new casts!).
-
- May 07, 2014
-
-
Dave Hylands authored
-
- May 03, 2014
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
Damien George authored
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
-
- May 02, 2014
-
-
Paul Sokolovsky authored
-
- Apr 05, 2014
-
-
Damien George authored
This does not affect code size or performance when debugging turned off. To address issue #420.
-
- Mar 29, 2014
-
-
Damien George authored
Adds readline_init() to clear readline history on soft reset. Addresses issue #387.
-
- Mar 22, 2014
-
-
Damien George authored
-