summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2021-09-19 22:08:51 +0200
committerDamien George <damien@micropython.org>2021-10-25 23:54:52 +1100
commit9f6604eb2723c48bfe712a57801d0c7f14c6fbda (patch)
treee00eb7f856ab9ac393baa3ca9713472a40cd2d0d
parent4f89c38a6a9ecdda2931e9226c847c4d279d04f6 (diff)
mimxrt: Enable the platform module.
-rw-r--r--ports/mimxrt/mpconfigport.h1
-rw-r--r--ports/mimxrt/mphalport.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h
index 35ee9eb64..64e991c79 100644
--- a/ports/mimxrt/mpconfigport.h
+++ b/ports/mimxrt/mpconfigport.h
@@ -135,6 +135,7 @@ uint32_t trng_random_u32(void);
#define MICROPY_PY_MACHINE_SOFTSPI (1)
#define MICROPY_PY_FRAMEBUF (1)
#define MICROPY_PY_ONEWIRE (1)
+#define MICROPY_PY_UPLATFORM (1)
// fatfs configuration used in ffconf.h
#define MICROPY_FATFS_ENABLE_LFN (1)
diff --git a/ports/mimxrt/mphalport.h b/ports/mimxrt/mphalport.h
index 40e929b23..c02f561a9 100644
--- a/ports/mimxrt/mphalport.h
+++ b/ports/mimxrt/mphalport.h
@@ -33,6 +33,8 @@
#include "pin.h"
#include "fsl_clock.h"
+#define MICROPY_HAL_VERSION "2.8.0"
+
#define MP_HAL_PIN_FMT "%q"
extern ringbuf_t stdin_ringbuf;