aboutsummaryrefslogtreecommitdiff
path: root/stm/mpyconfig.h
diff options
context:
space:
mode:
authorDamien2013-10-21 23:46:04 +0100
committerDamien2013-10-21 23:46:04 +0100
commit3f69aca2e23c9479320b9de545eae1d3d8983d35 (patch)
tree169c0a479165ba8e18d7b20ccdcf472c7a556576 /stm/mpyconfig.h
parentdcced92c265ba67d467251cf8cacac427ec5951c (diff)
Make stm use garbage collector.
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 b6179813d..06a4bd8e0 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