summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-03-14 23:41:28 -0700
committerDave Hylands <dhylands@gmail.com>2014-03-14 23:41:28 -0700
commitca5444e6cd8b566bd4ad78e84162e03ec18e01b6 (patch)
tree64369de8ac0ef6214112340da70c78c474567dc7 /stmhal/main.c
parent0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 (diff)
downloadmicropython-ca5444e6cd8b566bd4ad78e84162e03ec18e01b6.tar.gz
micropython-ca5444e6cd8b566bd4ad78e84162e03ec18e01b6.zip
stmhal - add pin mapping, gpio, exti, usrsw
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 3565b174b6..2c82cf030b 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -38,6 +38,8 @@
#include "pyexec.h"
#include "pybmodule.h"
#include "led.h"
+#include "exti.h"
+#include "usrsw.h"
#include "usb.h"
#if 0
#include "ff.h"
@@ -49,11 +51,9 @@
#include "accel.h"
#include "timer.h"
#include "pybwlan.h"
-#include "usrsw.h"
#include "rtc.h"
#include "file.h"
#include "pin.h"
-#include "exti.h"
#endif
void SystemClock_Config(void);
@@ -309,13 +309,13 @@ soft_reset:
def_path[2] = MP_OBJ_NEW_QSTR(MP_QSTR_0_colon__slash_lib);
sys_path = mp_obj_new_list(3, def_path);
-#if 0
exti_init();
#if MICROPY_HW_HAS_SWITCH
switch_init();
#endif
+#if 0
#if MICROPY_HW_HAS_LCD
// LCD init (just creates class, init hardware by calling LCD())
lcd_init();