Commit c7d19dc0 authored by Damien George's avatar Damien George

ports/{stm32,esp8266}: Set mpy-cross native arch for frozen native code.

parent 5a6026c6
...@@ -59,6 +59,9 @@ COPT += -Os -DNDEBUG ...@@ -59,6 +59,9 @@ COPT += -Os -DNDEBUG
LDFLAGS += --gc-sections LDFLAGS += --gc-sections
endif endif
# Options for mpy-cross
MPY_CROSS_FLAGS += -march=xtensa
SRC_C = \ SRC_C = \
strtoll.c \ strtoll.c \
main.c \ main.c \
......
...@@ -105,6 +105,9 @@ else ...@@ -105,6 +105,9 @@ else
COPT += -Os -DNDEBUG COPT += -Os -DNDEBUG
endif endif
# Options for mpy-cross
MPY_CROSS_FLAGS += -march=armv7m
SRC_LIB = $(addprefix lib/,\ SRC_LIB = $(addprefix lib/,\
libc/string0.c \ libc/string0.c \
oofatfs/ff.c \ oofatfs/ff.c \
......
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