]> granicus.if.org Git - esp-idf/commit
kconfig: Remove Wi-Fi on/off as a menuconfig option
authorKedar Sovani <kedars@gmail.com>
Tue, 8 Aug 2017 04:53:52 +0000 (10:23 +0530)
committerKedar Sovani <kedars@gmail.com>
Wed, 16 Aug 2017 10:25:28 +0000 (15:55 +0530)
commitba8cd58b080a5eae017eae10cea86fd0cd30ae03
tree11d5432529e30b41b0a523313af9939431a06d51
parenta24130b390e4f4e53e38f21402021d12526deba1
kconfig: Remove Wi-Fi on/off as a menuconfig option

This is no longer required since the functions automatically get
pulled in based on the usage. A quick summary of footprint
comparisions before and after these set of patches is shown below:

Hello-World: (simplified for readability)
 old Total image size:~ 104902 bytes (.bin may be padded larger)
 old Total image size:~ 105254 bytes (.bin may be padded larger)
 Per-archive contributions to ELF file:
             Archive File DRAM .data & .bss   IRAM Flash code & rodata   Total
 old              libesp32.a       1973    177   4445       3939     2267   12801
 new              libesp32.a       1973    185   4473       3939     2267   12837

 new             libnvs_flash.a          0     92      0        274        8     374
 new             libstdc++.a          0      0      0         24        0      24

For some reason, nvs_flash.a (~400bytes) gets pulled in (particularly
the nvs_flash_init() function).

Power-Save: (simplified for readability)
 old Total image size:~ 421347 bytes (.bin may be padded larger)
 old Total image size:~ 421235 bytes (.bin may be padded larger)

 old      libtcpip_adapter.a          0     81      0       1947      115       2143
 new      libtcpip_adapter.a          0     69      0       1897      115       2081

The size actually shrinks a bit, since the AP interface function
doesn't get pulled in.
components/esp32/Kconfig
components/esp32/component.mk
components/esp32/include/esp_wifi.h
components/esp32/phy_init.c
components/freertos/Kconfig