From e2ac8bb3f14b076a29244022865e3b47c6c0800a Mon Sep 17 00:00:00 2001 From: Delio Brignoli Date: Sun, 21 Aug 2016 11:33:37 +0200 Subject: 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. --- qemu-arm/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu-arm') 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 -- cgit v1.2.3