Damien George
3c658a4e75
py: Fix bug where GC collected native/viper/asm function data.
Because (for Thumb) a function pointer has the LSB set, pointers to
dynamic functions in RAM (eg native, viper or asm functions) were not
being traced by the GC. This patch is a comprehensive fix for this.
Addresses issue #820 .
10 years ago
Damien George
75ec22bf11
py: #if guard qstrs that are optional.
Also disable gc module on bare-arm port.
10 years ago
Damien George
40f3c02682
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50 .
11 years ago
Paul Sokolovsky
7e4ec3bf4f
bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE.
Commented out so far, as enabled leads to dozen more bytes used actually
(due to string pooling effects).
11 years ago
Paul Sokolovsky
81df1e6c98
bare-arm: Disable array module and even bytearray type.
To squeeze few more hundreds of bytes.
11 years ago
Damien George
4480cb3711
Provide definition of alloca() in mpconfigport.h.
11 years ago
Damien George
f917f06384
bare-arm: Disable slice and set.
11 years ago
Damien George
fb510b3bf9
Rename bultins config variables to MICROPY_PY_BUILTINS_*.
This renames:
MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
See issue #35 for discussion.
11 years ago
Damien George
ee3fd46f13
Rename configuration variables controling Python features.
Now of the form MICROPY_PY_*. See issue #35 .
11 years ago
Damien George
58ebde4664
Tidy up some configuration options.
MP_ALLOC_* -> MICROPY_ALLOC_*
MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
MICROPY_EXTRA_* -> MICROPY_PORT_*
See issue #35 .
11 years ago
Damien George
6cebe24b7d
bare-arm: Disable more stuff to reduce binary size.
11 years ago
Damien George
674f9887ce
bare-arm/unix-cpy: Minor changes.
11 years ago
Damien George
c557215822
Add 'bare-arm' port: the bare minimum to get it running on an ARM MCU.
11 years ago