summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-04-01 11:39:38 +1100
committerDamien George <damien.p.george@gmail.com>2017-04-01 11:39:38 +1100
commit4c307bfba1e5ffa3cec94bd63ba19ba6c322883b (patch)
tree0ca562a561a639e2ab83e94d07f79699870c6986 /esp8266
parent64d00511e11eed6e37134e5b43acac8a33226ca0 (diff)
downloadmicropython-4c307bfba1e5ffa3cec94bd63ba19ba6c322883b.tar.gz
micropython-4c307bfba1e5ffa3cec94bd63ba19ba6c322883b.zip
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 'esp8266')
-rw-r--r--esp8266/mpconfigport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 07bd48f679..d40eaba91b 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -118,8 +118,6 @@
// type definitions for the specific machine
-#define BYTES_PER_WORD (4)
-
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p)))
#define MP_SSIZE_MAX (0x7fffffff)