]> granicus.if.org Git - esp-idf/commit
disable PHY and RF when stop WiFi and disable BT
authorXiaXiaotian <xiaxiaotian@espressif.com>
Thu, 16 Feb 2017 11:05:07 +0000 (19:05 +0800)
committerXiaXiaotian <xiaxiaotian@espressif.com>
Fri, 17 Feb 2017 02:24:54 +0000 (10:24 +0800)
commiteb14284c92a79ccbe41647600c565f162a1b78fb
treeeeee1bbfbb362b62e5a2ec9640009ab7f2765f46
parent61c7bd3c3a63e6372f26e291aa9531ef9f2f3b64
disable PHY and RF when stop WiFi and disable BT

1. Add disable PHY and RF when WiFi and BT are both disabled(including call sniffer disable API).

2. Do not init PHY and RF when cpu start. Init PHY and RF when call Wifi or BT start APIs(including sniffer enable API).

3. Add a temporary lib: librtc_clk.a and will delete it when CPU frequency switching function is done.

4. Add an function to get OS tick rate.

5. Do not put the whole pp.a in iram0, only put lmac.o, ieee80211_misc.o, ets_time.o and wdev.o in iram0.
13 files changed:
components/bootloader/src/main/component.mk
components/bt/bluedroid/api/esp_bt_main.c
components/bt/bt.c
components/esp32/Kconfig
components/esp32/component.mk
components/esp32/cpu_start.c
components/esp32/include/esp_phy_init.h
components/esp32/ld/esp32.common.ld
components/esp32/lib
components/esp32/phy_init.c
components/esp32/rtc.h
components/freertos/include/freertos/portable.h
components/freertos/port.c