Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
c7d19dc0
Commit
c7d19dc0
authored
Mar 14, 2019
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ports/{stm32,esp8266}: Set mpy-cross native arch for frozen native code.
parent
5a6026c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ports/esp8266/Makefile
ports/esp8266/Makefile
+3
-0
ports/stm32/Makefile
ports/stm32/Makefile
+3
-0
No files found.
ports/esp8266/Makefile
View file @
c7d19dc0
...
...
@@ -59,6 +59,9 @@ COPT += -Os -DNDEBUG
LDFLAGS
+=
--gc-sections
endif
# Options for mpy-cross
MPY_CROSS_FLAGS
+=
-march
=
xtensa
SRC_C
=
\
strtoll.c
\
main.c
\
...
...
ports/stm32/Makefile
View file @
c7d19dc0
...
...
@@ -105,6 +105,9 @@ else
COPT
+=
-Os
-DNDEBUG
endif
# Options for mpy-cross
MPY_CROSS_FLAGS
+=
-march
=
armv7m
SRC_LIB
=
$(
addprefix
lib/,
\
libc/string0.c
\
oofatfs/ff.c
\
...
...
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