summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-10 10:38:38 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-10 10:38:38 +0100
commitc17fd70de93202a97d1af5b48b7db9415951b5a1 (patch)
tree0a331dc4a19a7f11811df235386fba6b687a1951
parent3417bc2f25c492f7551e35d14349d85a45122b43 (diff)
downloadmicropython-c17fd70de93202a97d1af5b48b7db9415951b5a1.tar.gz
micropython-c17fd70de93202a97d1af5b48b7db9415951b5a1.zip
stm: Reorder mpconfig.h header inclusion to get stm building.
-rw-r--r--stm/adc.c2
-rw-r--r--stm/audio.c2
-rw-r--r--stm/gpio.c2
-rw-r--r--stm/lcd.c2
-rw-r--r--stm/pyexec.c2
-rw-r--r--stm/timer.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/stm/adc.c b/stm/adc.c
index 4caa6da12e..ad11f8fdd4 100644
--- a/stm/adc.c
+++ b/stm/adc.c
@@ -1,9 +1,9 @@
#include <stdio.h>
#include <stm32f4xx.h>
+#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
-#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "adc.h"
diff --git a/stm/audio.c b/stm/audio.c
index 36fa77c428..9fa9938000 100644
--- a/stm/audio.c
+++ b/stm/audio.c
@@ -3,9 +3,9 @@
#include "stm32f4xx_dac.h"
+#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
-#include "mpconfig.h"
#include "qstr.h"
#include "parse.h"
#include "obj.h"
diff --git a/stm/gpio.c b/stm/gpio.c
index 9f9e8e0792..9366208931 100644
--- a/stm/gpio.c
+++ b/stm/gpio.c
@@ -16,9 +16,9 @@
#include <usbd_storage_msd.h>
#include <stm_misc.h>
+#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
-#include "mpconfig.h"
#include "qstr.h"
#include "misc.h"
#include "parse.h"
diff --git a/stm/lcd.c b/stm/lcd.c
index 3c5bdf75da..44c4833a5b 100644
--- a/stm/lcd.c
+++ b/stm/lcd.c
@@ -1,9 +1,9 @@
#include <string.h>
#include <stm32f4xx_gpio.h>
+#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
-#include "mpconfig.h"
#if MICROPY_HW_HAS_LCD
diff --git a/stm/pyexec.c b/stm/pyexec.c
index 52a436218e..00d5f0bdad 100644
--- a/stm/pyexec.c
+++ b/stm/pyexec.c
@@ -2,9 +2,9 @@
#include <string.h>
#include <stdio.h>
+#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
-#include "mpconfig.h"
#include "qstr.h"
#include "misc.h"
#include "lexer.h"
diff --git a/stm/timer.c b/stm/timer.c
index 0a19fa5a81..8d51de2cc1 100644
--- a/stm/timer.c
+++ b/stm/timer.c
@@ -6,9 +6,9 @@
#include "stm32f4xx_rcc.h"
#include "stm32f4xx_tim.h"
+#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
-#include "mpconfig.h"
#include "qstr.h"
#include "parse.h"
#include "obj.h"