soc/rtc_clk: reduce data size by disabling CSWTCH generation

Saves about 200 bytes of DRAM at the expense of 4 bytes in IRAM.
This commit is contained in:
Ivan Grokhotkov 2018-07-29 08:27:06 +03:00
parent db2f0f45be
commit e59571eece
2 changed files with 3 additions and 0 deletions

View File

@ -4,3 +4,5 @@ SOC_NAME := esp32
COMPONENT_SRCDIRS := $(SOC_NAME) src/
COMPONENT_ADD_INCLUDEDIRS := $(SOC_NAME)/include include
-include $(COMPONENT_PATH)/$(SOC_NAME)/component.mk

View File

@ -0,0 +1 @@
esp32/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion