Skip to content

Commit 9f6604e

Browse files
robert-hhdpgeorge
authored andcommitted
mimxrt: Enable the platform module.
1 parent 4f89c38 commit 9f6604e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ports/mimxrt/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ uint32_t trng_random_u32(void);
135135
#define MICROPY_PY_MACHINE_SOFTSPI (1)
136136
#define MICROPY_PY_FRAMEBUF (1)
137137
#define MICROPY_PY_ONEWIRE (1)
138+
#define MICROPY_PY_UPLATFORM (1)
138139

139140
// fatfs configuration used in ffconf.h
140141
#define MICROPY_FATFS_ENABLE_LFN (1)

ports/mimxrt/mphalport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
#include "pin.h"
3434
#include "fsl_clock.h"
3535

36+
#define MICROPY_HAL_VERSION "2.8.0"
37+
3638
#define MP_HAL_PIN_FMT "%q"
3739
extern ringbuf_t stdin_ringbuf;
3840

0 commit comments

Comments
 (0)