From 5226d6e1ee7282bf40a45708b98067446b157bce Mon Sep 17 00:00:00 2001 From: robert-hh Date: Tue, 1 Jun 2021 18:23:13 +0200 Subject: [PATCH] mimxrt: Remove __WFE() from MICROPY_EVENT_POLL_HOOK. The device is unreliable with the WFE included. This needs further investigation. --- ports/mimxrt/mpconfigport.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index e02de87bad62..98e01abe137b 100644 --- a/ports/mimxrt/mpconfigport.h +++ b/ports/mimxrt/mpconfigport.h @@ -125,7 +125,6 @@ extern const struct _mp_obj_module_t mp_module_utime; do { \ extern void mp_handle_pending(bool); \ mp_handle_pending(true); \ - __WFE(); \ } while (0); #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((mp_uint_t)(p) | 1))