diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index 35ee9eb648..64e991c799 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 40e929b23b..c02f561a9d 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;