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

This commit is contained in:
Damien George 2019-03-14 12:20:39 +11:00
parent 5a6026c614
commit c7d19dc0ad
2 changed files with 6 additions and 0 deletions

View File

@ -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 \

View File

@ -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 \