summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/interpreters/micropython/Makefile3
-rw-r--r--apps/interpreters/micropython/mpconfigport.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/interpreters/micropython/Makefile b/apps/interpreters/micropython/Makefile
index 75ed5f45d..26a9d1c59 100644
--- a/apps/interpreters/micropython/Makefile
+++ b/apps/interpreters/micropython/Makefile
@@ -153,6 +153,9 @@ endif
depend: .depend
clean:
+ $(call DELDIR, build)
+ $(call DELFILE, .built)
+ $(call CLEAN)
distclean: clean
$(call DELFILE, Make.dep)
diff --git a/apps/interpreters/micropython/mpconfigport.h b/apps/interpreters/micropython/mpconfigport.h
index c2cd1cf63..0ca121380 100644
--- a/apps/interpreters/micropython/mpconfigport.h
+++ b/apps/interpreters/micropython/mpconfigport.h
@@ -100,8 +100,8 @@
****************************************************************************/
typedef int wint_t; /* For newlib's math.h. See wchar_t */
-typedef int32_t mp_int_t; /* must be pointer size */
-typedef uint32_t mp_uint_t; /* must be pointer size */
+typedef intptr_t mp_int_t; /* must be pointer size */
+typedef uintptr_t mp_uint_t; /* must be pointer size */
typedef void *machine_ptr_t; /* must be of pointer size */
typedef const void *machine_const_ptr_t; /* must be of pointer size */
typedef long mp_off_t;