Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
8139494e
Commit
8139494e
authored
Jun 28, 2014
by
Paul Sokolovsky
Browse files
stmhal: Include mpconfig.h before all other includes.
It defines types used by all other headers. Fixes #691.
parent
9e215fa4
Changes
20
Show whitespace changes
Inline
Side-by-side
stmhal/boards/stm32f4xx-prefix.c
View file @
8139494e
...
...
@@ -5,8 +5,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "pin.h"
...
...
stmhal/bufhelper.c
View file @
8139494e
...
...
@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "bufhelper.h"
...
...
stmhal/diskio.c
View file @
8139494e
...
...
@@ -32,8 +32,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "systick.h"
...
...
stmhal/gccollect.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "gc.h"
...
...
stmhal/import.c
View file @
8139494e
...
...
@@ -27,8 +27,8 @@
#include <stdio.h>
#include <stdint.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "lexer.h"
#include "ff.h"
...
...
stmhal/lexerfatfs.c
View file @
8139494e
...
...
@@ -27,8 +27,8 @@
#include <stdint.h>
#include <stdio.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "lexer.h"
#include "lexerfatfs.h"
...
...
stmhal/main.c
View file @
8139494e
...
...
@@ -29,10 +29,10 @@
#include "stm32f4xx_hal.h"
#include "mpconfig.h"
#include "misc.h"
#include "systick.h"
#include "pendsv.h"
#include "mpconfig.h"
#include "qstr.h"
#include "misc.h"
#include "nlr.h"
...
...
stmhal/pendsv.c
View file @
8139494e
...
...
@@ -27,8 +27,8 @@
#include <stdlib.h>
#include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "pendsv.h"
...
...
stmhal/pin_named_pins.c
View file @
8139494e
...
...
@@ -30,8 +30,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
...
...
stmhal/printf.c
View file @
8139494e
...
...
@@ -28,10 +28,10 @@
#include <string.h>
#include <stdarg.h>
#include "mpconfig.h"
#include "std.h"
#include "misc.h"
#include "systick.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "pfenv.h"
...
...
stmhal/pybstdio.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "misc.h"
#include "obj.h"
...
...
stmhal/readline.c
View file @
8139494e
...
...
@@ -29,8 +29,8 @@
#include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "misc.h"
#include "obj.h"
...
...
stmhal/rng.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "rng.h"
...
...
stmhal/rtc.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
...
...
stmhal/sdcard.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include <stm32f4xx_hal.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
...
...
stmhal/stm32f4xx_hal_msp.c
View file @
8139494e
...
...
@@ -66,8 +66,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "servo.h"
...
...
stmhal/stm32f4xx_it.c
View file @
8139494e
...
...
@@ -70,8 +70,8 @@
#include "stm32f4xx_it.h"
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "extint.h"
...
...
stmhal/storage.c
View file @
8139494e
...
...
@@ -28,9 +28,9 @@
#include <string.h>
#include <stm32f4xx_hal.h>
#include "mpconfig.h"
#include "misc.h"
#include "systick.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "led.h"
...
...
stmhal/systick.c
View file @
8139494e
...
...
@@ -25,6 +25,7 @@
*/
#include <stm32f4xx_hal.h>
#include "mpconfig.h"
#include "misc.h"
#include "systick.h"
...
...
stmhal/usrsw.c
View file @
8139494e
...
...
@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h"
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment