summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/__init__.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/microcontroller/__init__.h')
-rw-r--r--shared-bindings/microcontroller/__init__.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-bindings/microcontroller/__init__.h b/shared-bindings/microcontroller/__init__.h
index 9bad926cd..d43db4bf4 100644
--- a/shared-bindings/microcontroller/__init__.h
+++ b/shared-bindings/microcontroller/__init__.h
@@ -1,3 +1,4 @@
+
/*
* This file is part of the MicroPython project, http://micropython.org/
*
@@ -30,6 +31,8 @@
#include "py/mpconfig.h"
#include "py/obj.h"
+#include "common-hal/microcontroller/Processor.h"
+
extern void common_hal_mcu_delay_us(uint32_t);
extern void common_hal_mcu_disable_interrupts(void);
@@ -37,6 +40,9 @@ extern void common_hal_mcu_enable_interrupts(void);
extern const mp_obj_dict_t mcu_pin_globals;
+extern const mcu_processor_obj_t common_hal_mcu_processor_obj;
+
+
#if CIRCUITPY_INTERNAL_NVM_SIZE > 0
#include "common-hal/nvm/ByteArray.h"