diff options
| author | Delio Brignoli <brignoli.delio@gmail.com> | 2016-08-21 11:33:37 +0200 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-09-05 12:18:53 +1000 |
| commit | e2ac8bb3f14b076a29244022865e3b47c6c0800a (patch) | |
| tree | ba02f53ca3f6b488084df68d78e1d5dd9ee99d46 /qemu-arm | |
| parent | cac8dc34149686679b67037d393d3ea1c6aff779 (diff) | |
py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
Diffstat (limited to 'qemu-arm')
| -rw-r--r-- | qemu-arm/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h index 57277b156..1f23148c2 100644 --- a/qemu-arm/mpconfigport.h +++ b/qemu-arm/mpconfigport.h @@ -23,6 +23,7 @@ #define MICROPY_PY_IO (0) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_MAXSIZE (1) +#define MICROPY_USE_INTERNAL_PRINTF (0) // type definitions for the specific machine |
