mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
db2f0f45be
commit
e59571eece
@ -4,3 +4,5 @@ SOC_NAME := esp32
|
|||||||
COMPONENT_SRCDIRS := $(SOC_NAME) src/
|
COMPONENT_SRCDIRS := $(SOC_NAME) src/
|
||||||
|
|
||||||
COMPONENT_ADD_INCLUDEDIRS := $(SOC_NAME)/include include
|
COMPONENT_ADD_INCLUDEDIRS := $(SOC_NAME)/include include
|
||||||
|
|
||||||
|
-include $(COMPONENT_PATH)/$(SOC_NAME)/component.mk
|
||||||
|
1
components/soc/esp32/component.mk
Normal file
1
components/soc/esp32/component.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
esp32/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion
|
Loading…
Reference in New Issue
Block a user