aboutsummaryrefslogtreecommitdiff
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George2017-04-01 11:39:38 +1100
committerDamien George2017-04-01 11:39:38 +1100
commit4c307bfba1e5ffa3cec94bd63ba19ba6c322883b (patch)
tree0ca562a561a639e2ab83e94d07f79699870c6986 /stmhal/mpconfigport.h
parent64d00511e11eed6e37134e5b43acac8a33226ca0 (diff)
all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
It can still be overwritten by a port in mpconfigport.h but for almost all cases one can use the provided default.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 339360bae..3f3683199 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -264,8 +264,6 @@ extern const struct _mp_obj_module_t mp_module_network;
// type definitions for the specific machine
-#define BYTES_PER_WORD (4)
-
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1))
#define MP_SSIZE_MAX (0x7fffffff)