esp32/Makefile: Add correct arch to MPY_CROSS_FLAGS for native code.
This commit is contained in:
parent
36c9be6f60
commit
742030945c
|
@ -275,6 +275,9 @@ COPT += -Os -DNDEBUG
|
||||||
#LDFLAGS += --gc-sections
|
#LDFLAGS += --gc-sections
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Options for mpy-cross
|
||||||
|
MPY_CROSS_FLAGS += -march=xtensawin
|
||||||
|
|
||||||
# Enable SPIRAM support if CONFIG_ESP32_SPIRAM_SUPPORT=y in sdkconfig
|
# Enable SPIRAM support if CONFIG_ESP32_SPIRAM_SUPPORT=y in sdkconfig
|
||||||
ifeq ($(CONFIG_ESP32_SPIRAM_SUPPORT),y)
|
ifeq ($(CONFIG_ESP32_SPIRAM_SUPPORT),y)
|
||||||
CFLAGS_COMMON += -mfix-esp32-psram-cache-issue
|
CFLAGS_COMMON += -mfix-esp32-psram-cache-issue
|
||||||
|
|
Loading…
Reference in New Issue