ports/{stm32,esp8266}: Set mpy-cross native arch for frozen native code.
This commit is contained in:
parent
5a6026c614
commit
c7d19dc0ad
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user