esp_wifi: Put some rx code to iram

This commit is contained in:
xiehang
2019-12-12 15:04:02 +08:00
parent 7c673ae5bd
commit 0169728ddd
8 changed files with 33 additions and 1 deletions

View File

@@ -20,6 +20,13 @@ else
COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH)/ld/wifi_iram_noopt
endif
# Add a different linker search path depending on WiFi RX optimisations
ifdef CONFIG_ESP32_WIFI_RX_IRAM_OPT
COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH)/ld/wifi_rx_iram_opt
else
COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH)/ld/wifi_rx_iram_noopt
endif
#Force pure functions from libgcc.a to be linked from ROM
LINKER_SCRIPTS += esp32.rom.libgcc.ld