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