diff options
| author | Delio Brignoli | 2016-08-21 11:33:37 +0200 |
|---|---|---|
| committer | Damien George | 2016-09-05 12:18:53 +1000 |
| commit | e2ac8bb3f14b076a29244022865e3b47c6c0800a (patch) | |
| tree | ba02f53ca3f6b488084df68d78e1d5dd9ee99d46 /bare-arm/mpconfigport.h | |
| 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 'bare-arm/mpconfigport.h')
| -rw-r--r-- | bare-arm/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index 7c448d13c..79b2b7328 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/mpconfigport.h @@ -42,6 +42,7 @@ #define MICROPY_CPYTHON_COMPAT (0) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE) +#define MICROPY_USE_INTERNAL_PRINTF (0) // type definitions for the specific machine |
