summaryrefslogtreecommitdiffstatshomepage
path: root/stm/mpyconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/mpyconfig.h')
-rw-r--r--stm/mpyconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/mpyconfig.h b/stm/mpyconfig.h
index b6179813dd..06a4bd8e02 100644
--- a/stm/mpyconfig.h
+++ b/stm/mpyconfig.h
@@ -8,6 +8,8 @@
// type definitions for the specific machine
+#define BYTES_PER_WORD (4)
+
typedef int32_t machine_int_t; // must be pointer size
typedef uint32_t machine_uint_t; // must be pointer size
typedef void *machine_ptr_t; // must be of pointer size