summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/cc3200/mpconfigport.h2
-rw-r--r--ports/esp32/mpconfigport.h1
-rw-r--r--ports/esp8266/mpconfigport.h1
-rw-r--r--ports/javascript/mpconfigport.h2
-rw-r--r--ports/mimxrt/mpconfigport.h1
-rw-r--r--ports/nrf/mpconfigport.h2
-rw-r--r--ports/pic16bit/mpconfigport.h2
-rw-r--r--ports/powerpc/mpconfigport.h2
-rw-r--r--ports/samd/mpconfigport.h1
-rw-r--r--ports/stm32/mpconfigport.h2
-rw-r--r--ports/teensy/mpconfigport.h2
11 files changed, 0 insertions, 18 deletions
diff --git a/ports/cc3200/mpconfigport.h b/ports/cc3200/mpconfigport.h
index 6fdb278d8..87689c505 100644
--- a/ports/cc3200/mpconfigport.h
+++ b/ports/cc3200/mpconfigport.h
@@ -197,8 +197,6 @@ typedef int32_t mp_int_t; // must be pointer size
typedef unsigned int mp_uint_t; // must be pointer size
typedef long mp_off_t;
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
-
#define MICROPY_BEGIN_ATOMIC_SECTION() disable_irq()
#define MICROPY_END_ATOMIC_SECTION(state) enable_irq(state)
#define MICROPY_EVENT_POLL_HOOK __WFI();
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h
index f170d7070..5ad5fa18a 100644
--- a/ports/esp32/mpconfigport.h
+++ b/ports/esp32/mpconfigport.h
@@ -223,7 +223,6 @@ struct mp_bluetooth_nimble_root_pointers_t;
#define BYTES_PER_WORD (4)
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p)))
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
void *esp_native_code_commit(void *, size_t, void *);
#define MP_PLAT_COMMIT_EXEC(buf, len, reloc) esp_native_code_commit(buf, len, reloc)
#define MP_SSIZE_MAX (0x7fffffff)
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index 99cf2ade4..2c56b4188 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -135,7 +135,6 @@ typedef uint32_t sys_prot_t; // for modlwip
// ssize_t, off_t as required by POSIX-signatured functions in stream.h
#include <sys/types.h>
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
void *esp_native_code_commit(void *, size_t, void *);
#define MP_PLAT_COMMIT_EXEC(buf, len, reloc) esp_native_code_commit(buf, len, reloc)
diff --git a/ports/javascript/mpconfigport.h b/ports/javascript/mpconfigport.h
index 0101e10c8..d1bfbbd60 100644
--- a/ports/javascript/mpconfigport.h
+++ b/ports/javascript/mpconfigport.h
@@ -180,8 +180,6 @@ typedef int mp_int_t; // must be pointer size
typedef unsigned mp_uint_t; // must be pointer size
typedef long mp_off_t;
-#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
#define MICROPY_PORT_BUILTINS \
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h
index 344867fb8..15a292486 100644
--- a/ports/mimxrt/mpconfigport.h
+++ b/ports/mimxrt/mpconfigport.h
@@ -98,7 +98,6 @@ extern const struct _mp_obj_module_t mp_module_utime;
} while (0);
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
#define MP_SSIZE_MAX (0x7fffffff)
typedef int mp_int_t; // must be pointer size
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h
index a025feb2e..581e83ef2 100644
--- a/ports/nrf/mpconfigport.h
+++ b/ports/nrf/mpconfigport.h
@@ -332,8 +332,6 @@ extern const struct _mp_obj_module_t ble_module;
__WFI(); \
} while (0);
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
-
// We need to provide a declaration/definition of alloca()
#include <alloca.h>
diff --git a/ports/pic16bit/mpconfigport.h b/ports/pic16bit/mpconfigport.h
index f121081e6..43300d176 100644
--- a/ports/pic16bit/mpconfigport.h
+++ b/ports/pic16bit/mpconfigport.h
@@ -84,8 +84,6 @@ typedef unsigned int mp_uint_t; // must be pointer size
typedef int mp_off_t;
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
-
// extra builtin names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
diff --git a/ports/powerpc/mpconfigport.h b/ports/powerpc/mpconfigport.h
index 7a9277736..0b868e3da 100644
--- a/ports/powerpc/mpconfigport.h
+++ b/ports/powerpc/mpconfigport.h
@@ -103,8 +103,6 @@ typedef unsigned long mp_uint_t; // must be pointer size
typedef long mp_off_t;
-#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
#define MICROPY_PORT_BUILTINS \
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
diff --git a/ports/samd/mpconfigport.h b/ports/samd/mpconfigport.h
index ffb30bf5e..852d9e9ee 100644
--- a/ports/samd/mpconfigport.h
+++ b/ports/samd/mpconfigport.h
@@ -98,7 +98,6 @@ extern const struct _mp_obj_module_t mp_module_utime;
} while (0);
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
#define MP_SSIZE_MAX (0x7fffffff)
typedef int mp_int_t; // must be pointer size
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index b6906ef99..a47529d8b 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -360,8 +360,6 @@ typedef unsigned int mp_uint_t; // must be pointer size
typedef long mp_off_t;
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
-
// We have inlined IRQ functions for efficiency (they are generally
// 1 machine instruction).
//
diff --git a/ports/teensy/mpconfigport.h b/ports/teensy/mpconfigport.h
index c00da5ed9..3acedcf02 100644
--- a/ports/teensy/mpconfigport.h
+++ b/ports/teensy/mpconfigport.h
@@ -62,8 +62,6 @@ typedef int32_t mp_int_t; // must be pointer size
typedef unsigned int mp_uint_t; // must be pointer size
typedef long mp_off_t;
-#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
-
// We have inlined IRQ functions for efficiency (they are generally
// 1 machine instruction).
//