28 Commits (979ab4e126dacca4d7fbbd0e71c849365ef2c947)

Author SHA1 Message Date
Damien George 7dc2345715 py/modmicropython: Add micropython.opt_level([value]) function. 8 years ago
Damien George 791b65f4b2 py/modmicropython: Add micropython.const, alias for identity function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 330165a2cc py: Add MP_STATE_THREAD to hold state specific to a given thread. 9 years ago
Damien George df4ce930e3 py/modmicropython: Add stack_use, heap_lock and heap_unlock functions. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George 257848587f py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George e72cda99fd py: Convert occurrences of non-debug printf to mp_printf. 10 years ago
Damien George e5039c6ff8 py: Use TextIOWrapper only if PY_IO_FILEIO def'd; cast size_t for print. 10 years ago
Damien George ea0461dcd3 py: Add option to micropython.qstr_info() to dump actual qstrs. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George 5d48f234d2 py: Make mem_info print correct remaining stack bytes. 10 years ago
Damien George 89deec0bab py: Add MICROPY_PY_MICROPYTHON_MEM_INFO to enable mem-info funcs. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 6e8ff9cd68 modmicropython: Move mem_info() and qstr_info() functions from unix port. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Dave Hylands 5b7fd20fea Add support for storing args during an exception raised by an irq. 11 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 91d457a277 py: Put micropython module init code in builtinmp.c. 11 years ago
Paul Sokolovsky 440cc3f028 Expose memory stats functions via "micropython" module. 11 years ago