diff options
| author | Damien George | 2015-10-15 00:05:55 +0100 |
|---|---|---|
| committer | Damien George | 2015-10-15 00:05:55 +0100 |
| commit | 4300c7dba2f500cd3b2a664c7491aa3ddb328011 (patch) | |
| tree | f51c1a0aa2a7e9e56e8276a49fb7ff096a74e0ba /bare-arm | |
| parent | 74d0df7324f23cfbbc2ae5b0cd0bf7f214fd05e5 (diff) | |
py: Remove dependency on printf/fwrite in mp_plat_print.
See issue #1500.
Diffstat (limited to 'bare-arm')
| -rw-r--r-- | bare-arm/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index 9b7cac19b..fe92dd4b7 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/mpconfigport.h @@ -57,6 +57,9 @@ typedef void *machine_ptr_t; // must be of pointer size typedef const void *machine_const_ptr_t; // must be of pointer size typedef long mp_off_t; +// dummy print +#define MP_PLAT_PRINT_STRN(str, len) (void)0 + // extra built in names to add to the global namespace extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj; #define MICROPY_PORT_BUILTINS \ |
