Skip to content

Commit

Permalink
esp32/Makefile: Add correct arch to MPY_CROSS_FLAGS for native code.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Nov 4, 2019
1 parent 36c9be6 commit 7420309
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ports/esp32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ COPT += -Os -DNDEBUG
#LDFLAGS += --gc-sections
endif

# Options for mpy-cross
MPY_CROSS_FLAGS += -march=xtensawin

# Enable SPIRAM support if CONFIG_ESP32_SPIRAM_SUPPORT=y in sdkconfig
ifeq ($(CONFIG_ESP32_SPIRAM_SUPPORT),y)
CFLAGS_COMMON += -mfix-esp32-psram-cache-issue
Expand Down

0 comments on commit 7420309

Please sign in to comment.