summaryrefslogtreecommitdiff
path: root/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/mimxrt10xx/common-hal/microcontroller/Processor.c')
-rw-r--r--ports/mimxrt10xx/common-hal/microcontroller/Processor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/mimxrt10xx/common-hal/microcontroller/Processor.c b/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
index f3a578014..efbde35d2 100644
--- a/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
+++ b/ports/mimxrt10xx/common-hal/microcontroller/Processor.c
@@ -28,6 +28,7 @@
#include <math.h>
#include "common-hal/microcontroller/Processor.h"
+#include "shared-bindings/microcontroller/ResetReason.h"
#include "fsl_tempmon.h"
#include "fsl_ocotp.h"
@@ -70,3 +71,7 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
}
OCOTP_Deinit(OCOTP);
}
+
+mcu_reset_reason_t common_hal_mcu_processor_get_reset_reason(void) {
+ return RESET_REASON_UNKNOWN;
+}