Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
c2e22d66
Commit
c2e22d66
authored
Jan 01, 2015
by
Damien George
Browse files
bare-arm: Prefix includes with py/; remove need for -I../py.
parent
b68d98d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
bare-arm/Makefile
View file @
c2e22d66
...
...
@@ -10,7 +10,6 @@ CROSS_COMPILE = arm-none-eabi-
INC
=
-I
.
INC
+=
-I
..
INC
+=
-I
$(PY_SRC)
INC
+=
-I
$(BUILD)
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
View file @
c2e22d66
...
...
@@ -2,19 +2,13 @@
#include
<stdio.h>
#include
<string.h>
#include
"mpconfig.h"
#include
"nlr.h"
#include
"misc.h"
#include
"qstr.h"
#include
"lexer.h"
#include
"parse.h"
#include
"obj.h"
#include
"parsehelper.h"
#include
"compile.h"
#include
"runtime0.h"
#include
"runtime.h"
#include
"repl.h"
#include
"pfenv.h"
#include
"py/nlr.h"
#include
"py/parsehelper.h"
#include
"py/compile.h"
#include
"py/runtime0.h"
#include
"py/runtime.h"
#include
"py/repl.h"
#include
"py/pfenv.h"
void
do_str
(
const
char
*
src
)
{
mp_lexer_t
*
lex
=
mp_lexer_new_from_str_len
(
MP_QSTR__lt_stdin_gt_
,
src
,
strlen
(
src
),
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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