diff options
| -rw-r--r-- | ports/cc3200/mpconfigport.h | 3 | ||||
| -rw-r--r-- | ports/esp32/mpconfigport.h | 3 | ||||
| -rw-r--r-- | ports/esp8266/mpconfigport.h | 3 | ||||
| -rw-r--r-- | ports/nrf/mpconfigport.h | 2 | ||||
| -rw-r--r-- | ports/pic16bit/mpconfigport.h | 2 | ||||
| -rw-r--r-- | ports/renesas-ra/mpconfigport.h | 2 | ||||
| -rw-r--r-- | ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h | 2 | ||||
| -rw-r--r-- | ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h | 2 | ||||
| -rw-r--r-- | ports/stm32/boards/ARDUINO_OPTA/mpconfigboard.h | 2 | ||||
| -rw-r--r-- | ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h | 2 | ||||
| -rw-r--r-- | ports/stm32/mpconfigport.h | 2 | ||||
| -rw-r--r-- | ports/webassembly/mpconfigport.h | 2 |
12 files changed, 0 insertions, 27 deletions
diff --git a/ports/cc3200/mpconfigport.h b/ports/cc3200/mpconfigport.h index f1ba4bedd..3e8498e38 100644 --- a/ports/cc3200/mpconfigport.h +++ b/ports/cc3200/mpconfigport.h @@ -155,9 +155,6 @@ #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1)) #define MP_SSIZE_MAX (0x7FFFFFFF) -#define UINT_FMT "%u" -#define INT_FMT "%d" - 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; diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h index a6f103cde..721f22de1 100644 --- a/ports/esp32/mpconfigport.h +++ b/ports/esp32/mpconfigport.h @@ -326,9 +326,6 @@ void *esp_native_code_commit(void *, size_t, void *); #define MICROPY_WRAP_MP_SCHED_EXCEPTION(f) IRAM_ATTR f #define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) IRAM_ATTR f -#define UINT_FMT "%u" -#define INT_FMT "%d" - typedef int32_t mp_int_t; // must be pointer size typedef uint32_t mp_uint_t; // must be pointer size typedef long mp_off_t; diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h index 03f3bb643..bc2957190 100644 --- a/ports/esp8266/mpconfigport.h +++ b/ports/esp8266/mpconfigport.h @@ -150,9 +150,6 @@ #define MP_SSIZE_MAX (0x7fffffff) -#define UINT_FMT "%u" -#define INT_FMT "%d" - typedef int32_t mp_int_t; // must be pointer size typedef uint32_t mp_uint_t; // must be pointer size typedef long mp_off_t; diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h index d52b5745d..963e1e883 100644 --- a/ports/nrf/mpconfigport.h +++ b/ports/nrf/mpconfigport.h @@ -335,8 +335,6 @@ void *nrf_native_code_commit(void *, unsigned int, void *); #define MP_SSIZE_MAX (0x7fffffff) -#define UINT_FMT "%u" -#define INT_FMT "%d" #define HEX2_FMT "%02x" typedef int mp_int_t; // must be pointer size diff --git a/ports/pic16bit/mpconfigport.h b/ports/pic16bit/mpconfigport.h index d80f7edb9..7e6e1c4e0 100644 --- a/ports/pic16bit/mpconfigport.h +++ b/ports/pic16bit/mpconfigport.h @@ -77,8 +77,6 @@ #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p))) -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size diff --git a/ports/renesas-ra/mpconfigport.h b/ports/renesas-ra/mpconfigport.h index 8a116269b..868cdbc7d 100644 --- a/ports/renesas-ra/mpconfigport.h +++ b/ports/renesas-ra/mpconfigport.h @@ -234,8 +234,6 @@ // Assume that if we already defined the obj repr then we also defined these items #ifndef MICROPY_OBJ_REPR -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size #endif diff --git a/ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h b/ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h index 44f6ce66b..17d338fdc 100644 --- a/ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h +++ b/ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h @@ -12,8 +12,6 @@ #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-giga-r1-wifi" #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C) -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size diff --git a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h index 47bf1be23..1be618954 100644 --- a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h +++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h @@ -12,8 +12,6 @@ #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-nicla-vision" #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C) -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size diff --git a/ports/stm32/boards/ARDUINO_OPTA/mpconfigboard.h b/ports/stm32/boards/ARDUINO_OPTA/mpconfigboard.h index f52c8a26a..fc563b280 100644 --- a/ports/stm32/boards/ARDUINO_OPTA/mpconfigboard.h +++ b/ports/stm32/boards/ARDUINO_OPTA/mpconfigboard.h @@ -12,8 +12,6 @@ #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-opta" #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C) -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h index a9ecf38fb..d8818f257 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h @@ -12,8 +12,6 @@ #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-portenta-h7" #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C) -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index b910188c5..35deb93c6 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -230,8 +230,6 @@ extern const struct _mp_obj_type_t network_lan_type; // Assume that if we already defined the obj repr then we also defined these items #ifndef MICROPY_OBJ_REPR -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size #endif diff --git a/ports/webassembly/mpconfigport.h b/ports/webassembly/mpconfigport.h index ab56162ca..eea6f02a0 100644 --- a/ports/webassembly/mpconfigport.h +++ b/ports/webassembly/mpconfigport.h @@ -107,8 +107,6 @@ // different targets may be defined in different ways - either as int // or as long. This requires different printf formatting specifiers // to print such value. So, we avoid int32_t and use int directly. -#define UINT_FMT "%u" -#define INT_FMT "%d" typedef int mp_int_t; // must be pointer size typedef unsigned mp_uint_t; // must be pointer size typedef long mp_off_t; |
