mimxrt: Enable the platform module.

This commit is contained in:
robert-hh 2021-09-19 22:08:51 +02:00 committed by Damien George
parent 4f89c38a6a
commit 9f6604eb27
2 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,7 @@ uint32_t trng_random_u32(void);
#define MICROPY_PY_MACHINE_SOFTSPI (1) #define MICROPY_PY_MACHINE_SOFTSPI (1)
#define MICROPY_PY_FRAMEBUF (1) #define MICROPY_PY_FRAMEBUF (1)
#define MICROPY_PY_ONEWIRE (1) #define MICROPY_PY_ONEWIRE (1)
#define MICROPY_PY_UPLATFORM (1)
// fatfs configuration used in ffconf.h // fatfs configuration used in ffconf.h
#define MICROPY_FATFS_ENABLE_LFN (1) #define MICROPY_FATFS_ENABLE_LFN (1)

View File

@ -33,6 +33,8 @@
#include "pin.h" #include "pin.h"
#include "fsl_clock.h" #include "fsl_clock.h"
#define MICROPY_HAL_VERSION "2.8.0"
#define MP_HAL_PIN_FMT "%q" #define MP_HAL_PIN_FMT "%q"
extern ringbuf_t stdin_ringbuf; extern ringbuf_t stdin_ringbuf;