Skip to content

Commit

Permalink
Minimize L32R use with new compiler optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed Jun 21, 2022
1 parent 9fe3977 commit d9fb9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/esp8266.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BUILD = esp8266
# C compiler, linker, and static library builder.
TOOLCHAIN_PREFIX := xtensa-lx106-elf-
CC := $(TOOLCHAIN_PREFIX)gcc
CFLAGS = -W -Wall -g -O2 -Wpointer-arith -Wl,-EL -nostdlib -mlongcalls -mno-text-section-literals -ffunction-sections -fdata-sections -Werror -free -fipa-pta
CFLAGS = -W -Wall -g -O2 -Wpointer-arith -Wl,-EL -nostdlib -mlongcalls -mno-text-section-literals -ffunction-sections -fdata-sections -Werror -free -fipa-pta -mmextra-l32r-costs=5
CFLAGS += -D__ets__ -DICACHE_FLASH -DESP8266 -DBR_SLOW_MUL15=1 -DPGM_READ_UNALIGNED=0
LD := $(TOOLCHAIN_PREFIX)ld
AR := $(TOOLCHAIN_PREFIX)ar
Expand Down

0 comments on commit d9fb9df

Please sign in to comment.