diff options
Diffstat (limited to 'minimal/mpconfigport.h')
-rw-r--r-- | minimal/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index 02ad5bd627..b08bdf8b7d 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -60,6 +60,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; +void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len); +#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len) + // 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 \ |