Commit 8139494e authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

stmhal: Include mpconfig.h before all other includes.

It defines types used by all other headers.

Fixes #691.
parent 9e215fa4
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "pin.h" #include "pin.h"
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "bufhelper.h" #include "bufhelper.h"
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "systick.h" #include "systick.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "gc.h" #include "gc.h"
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "lexer.h" #include "lexer.h"
#include "ff.h" #include "ff.h"
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "lexer.h" #include "lexer.h"
#include "lexerfatfs.h" #include "lexerfatfs.h"
......
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "mpconfig.h"
#include "misc.h" #include "misc.h"
#include "systick.h" #include "systick.h"
#include "pendsv.h" #include "pendsv.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "misc.h" #include "misc.h"
#include "nlr.h" #include "nlr.h"
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "pendsv.h" #include "pendsv.h"
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include "mpconfig.h"
#include "std.h" #include "std.h"
#include "misc.h" #include "misc.h"
#include "systick.h" #include "systick.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "pfenv.h" #include "pfenv.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "misc.h" #include "misc.h"
#include "obj.h" #include "obj.h"
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "misc.h" #include "misc.h"
#include "obj.h" #include "obj.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "rng.h" #include "rng.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "servo.h" #include "servo.h"
......
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
#include "stm32f4xx_it.h" #include "stm32f4xx_it.h"
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "extint.h" #include "extint.h"
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
#include <string.h> #include <string.h>
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "mpconfig.h"
#include "misc.h" #include "misc.h"
#include "systick.h" #include "systick.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "led.h" #include "led.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
*/ */
#include <stm32f4xx_hal.h> #include <stm32f4xx_hal.h>
#include "mpconfig.h"
#include "misc.h" #include "misc.h"
#include "systick.h" #include "systick.h"
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h" #include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h" #include "mpconfig.h"
#include "misc.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment