Skip to content

Commit c2e22d6

Browse files
committed
bare-arm: Prefix includes with py/; remove need for -I../py.
1 parent b68d98d commit c2e22d6

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

bare-arm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ CROSS_COMPILE = arm-none-eabi-
1010

1111
INC = -I.
1212
INC += -I..
13-
INC += -I$(PY_SRC)
1413
INC += -I$(BUILD)
1514

1615
CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion

bare-arm/main.c

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22
#include <stdio.h>
33
#include <string.h>
44

5-
#include "mpconfig.h"
6-
#include "nlr.h"
7-
#include "misc.h"
8-
#include "qstr.h"
9-
#include "lexer.h"
10-
#include "parse.h"
11-
#include "obj.h"
12-
#include "parsehelper.h"
13-
#include "compile.h"
14-
#include "runtime0.h"
15-
#include "runtime.h"
16-
#include "repl.h"
17-
#include "pfenv.h"
5+
#include "py/nlr.h"
6+
#include "py/parsehelper.h"
7+
#include "py/compile.h"
8+
#include "py/runtime0.h"
9+
#include "py/runtime.h"
10+
#include "py/repl.h"
11+
#include "py/pfenv.h"
1812

1913
void do_str(const char *src) {
2014
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);

0 commit comments

Comments
 (0)