Kedar Sovani
ba8cd58b08
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.
2017-08-16 15:55:28 +05:30
Kedar Sovani
a24130b390
tcpip_adapter: Decompose tcpip_adapter_start() into interface specification options
...
Since only the used interface's start function gets called, it pulls
in only the functions that are required in the current application,
thereby saving footprint.
2017-08-16 15:54:29 +05:30
Kedar Sovani
159e7e81b4
esp32: Make 'restart' function independent of Wi-Fi
...
Restart being a lower-layer system-level function, needn't depend on
the higher level Wi-Fi libraries.
This also enables us to get rid of one more WIFI_ENABLED ifdef check
2017-08-16 15:54:28 +05:30
Kedar Sovani
a41b1a9d1f
esp32: Register event handlers on the esp_wifi_init() call
2017-08-16 15:54:28 +05:30
Kedar Sovani
55a6aca355
wifi: Map esp_wifi_init() to esp_wifi_init_internal()
...
Follow-on patches will include additional functionality in
esp_wifi_init()
2017-08-16 15:54:28 +05:30
Kedar Sovani
8063b93497
wifi_lib: Update to the change in the wifi_lib repository
2017-08-16 15:54:13 +05:30
Ivan Grokhotkov
43b81c8f11
Merge branch 'feature/fast_crypto_used_in_supplicant' into 'master'
...
Add the fast crypto function in supplicant, relate to the task tw13712
See merge request !1075
2017-08-09 21:55:05 +08:00
Deng Xin
57bc38d867
Add the fast crypto function in supplicant
...
optimize the speed when do wifi connect
2017-08-09 21:36:13 +08:00
Ivan Grokhotkov
b8b553d122
Merge branch 'feature/docs_build_openocd_windows' into 'master'
...
Provided instruction to build OpenOCD from sources using MSYS2
See merge request !1062
2017-08-09 13:17:35 +08:00
Ivan Grokhotkov
142f4ac071
Merge branch 'feature/docs_wrover_kit_description' into 'master'
...
Updated desription of ESP-WROVER-KIT features in getting started guide, changed …
See merge request !1064
2017-08-09 13:17:19 +08:00
Ivan Grokhotkov
1c6be3ab63
Merge branch 'bugfix/wl_test_fail' into 'master'
...
unit test fixes
See merge request !1085
2017-08-08 16:32:11 +08:00
Ivan Grokhotkov
5539bfb83b
sdmmc: mark new unit test as ignored
2017-08-08 03:51:54 +08:00
Ivan Grokhotkov
59a28ebccc
wear_levelling: temporarily disable 512 byte sectors
...
Unit tests are failing with the new 512 byte sector option. Disabling
this option to let the tests pass.
2017-08-08 03:26:14 +08:00
Ivan Grokhotkov
097dced499
wear_levelling: clean up Kconfig
2017-08-08 03:26:14 +08:00
Ivan Grokhotkov
b260f6cb25
Merge branch 'bugfix/sdmmc_unaligned_write' into 'master'
...
sdmmc: fix reads/writes to/from unaligned buffers
See merge request !1071
2017-08-08 02:55:13 +08:00
Ivan Grokhotkov
a88435ccbf
Merge branch 'feature/aws_iot_menuconfig' into 'master'
...
aws_iot: Expose common SDK compile-time configuration in menuconfig
See merge request !1030
2017-08-07 17:22:48 +08:00
Ivan Grokhotkov
dfda0fa67b
Merge branch 'feature/add_gpio_drive_capability' into 'master'
...
feature(gpio): add APIs to set and get pad drive capability.
See merge request !1010
2017-08-07 17:21:42 +08:00
Ivan Grokhotkov
7421452ca2
Merge branch 'bugfix/nghttp_build_port' into 'master'
...
nghttp: build port directory
See merge request !1057
2017-08-07 17:21:15 +08:00
Ivan Grokhotkov
72ee0120cd
Merge branch 'feature/wl_ext_sector_size' into 'master'
...
Feature/wl ext sector size
See merge request !1038
2017-08-07 17:20:34 +08:00
Ivan Grokhotkov
938085e749
Merge branch 'bugfix/windows_build' into 'master'
...
Disable link time optimisation for bootloader
See merge request !1044
2017-08-07 17:19:16 +08:00
Jiang Jiang Jian
a92806b089
Merge branch 'bugfix/tw14130_fix_buf_err' into 'master'
...
emac:fix rx buf err
See merge request !1073
2017-08-04 15:17:33 +08:00
shangke
01a2c31e1f
change copy right
2017-08-04 14:56:58 +08:00
Jiang Jiang Jian
886ea722ec
Merge branch 'bugfix/btdm_add_set_local_privacy_callback' into 'master'
...
component/bt: add set local privacy func callback
See merge request !1026
2017-08-04 14:52:02 +08:00
Jiang Jiang Jian
ea3b3046c2
Merge branch 'bugfix/btdm_fix_esp_ble_gatts_set_attr_value_memory_leak' into 'master'
...
component/bt: fix esp_ble_gatts_set_attr_value() memory leak
See merge request !1068
2017-08-04 14:40:54 +08:00
shangke
05aa09fbb9
beautify the code
2017-08-04 14:24:44 +08:00
shangke
1e6f904d38
add comments for rx list
2017-08-03 14:44:22 +08:00
Jiang Jiang Jian
e165336428
Merge branch 'bugfix/btdm_Wrong_return_code_type_for_esp_ble_gattc_register_for_notify_and_unregister_for_notify_func' into 'master'
...
component/bt: fix wrong return code type for notify functions
See merge request !1070
2017-08-03 10:49:47 +08:00
Ivan Grokhotkov
d286d2f647
Merge branch 'feature/apptrace_api_ext' into 'master'
...
esp32: Apptrace API enhancement
See merge request !1021
2017-08-02 14:34:42 +08:00
krzychb
b1fcfca987
Updated desription of ESP-WROVER-KIT features in getting started guide, changed link to JTAG Debugging
2017-08-02 06:57:28 +02:00
krzychb
d5119dd529
Provided instruction to build OpenOCD from sources using MSYS2
2017-08-02 06:10:44 +02:00
Jiang Jiang Jian
b7aa9374a1
Merge branch 'bugfix/btdm_remove_fixqueue' into 'master'
...
component/bt : remove fixed queue from btu
See merge request !1072
2017-08-02 11:02:05 +08:00
shangke
ae571ddddf
fix rx buf
2017-08-01 11:59:57 +08:00
Tian Hao
d2872cbf2e
component/bt : remove fixed queue from btu
2017-08-01 11:35:22 +08:00
Jiang Jiang Jian
fedc5090d1
Merge branch 'bugfix/btdm_optimize_controller_task' into 'master'
...
component/bt : fix a bug and optimize controller task handler
See merge request !1066
2017-08-01 11:10:56 +08:00
Ivan Grokhotkov
512898edee
sdmmc: fix reads/writes to/from unaligned buffers
...
SDMMC hardware treats all buffers as aligned, and ignores 2 LSBs of
addresses written into DMA descriptors. Previously SDMMC host driver
assumed that data buffers passed from SDDMC command layer would be
aligned. However alignment checks were never implemented in the command
layer, as were the checks that the buffer coming from the application
would be in DMA capable memory. Most of the time this was indeed true.
However in some cases FATFS library can pass buffers offset by 2 bytes
from word boundary. “DMA capable” restriction may be broken if pSRAM
support is used.
This change adds buffer checks to the SDMMC host driver (alignment and
DMA capability), so that the host layer will error out for incompatible
buffers. In SDMMC command layer, a check is added to read and write
functions. If an incompatible buffer is passed from the application, new
buffer (512 bytes size) is allocated, and the transfer is performed
using {READ,WRITE}_SINGLE_BLOCK commands.
2017-08-01 03:15:11 +08:00
Jeroen Domburg
9314bf0d37
Merge branch 'bugfix/spi_change_host' into 'master'
...
fix(spi_master): fix the bug that VSPI no respond when host changed from HSPI to VSPI, and vice versa.
See merge request !997
2017-07-31 18:33:36 +08:00
Dmitry Yakovlev
831cc4b42f
Typos correction.
2017-07-31 13:19:41 +03:00
Dmitry Yakovlev
06805842ea
Some typos corrected in readme.
2017-07-31 13:19:38 +03:00
Dmitry Yakovlev
9ebb68c2dc
Added component to change standard size of the flash device. Now the sector size could be less. The configuration supports it.
2017-07-31 13:19:36 +03:00
zhiweijian
6ff53d1967
Component/bt: wrong return code type for notify func
...
- fix esp_ble_gattc_register_for_notify() returen wrong code type
- fix esp_ble_gattc_unregister_for_notify() returen wrong code type
2017-07-31 18:02:15 +08:00
zhiweijian
87d58b9ddb
Component/bt: fix esp_ble_gatts_set_attr_value( ) memory leak
2017-07-31 17:24:07 +08:00
Tian Hao
6afadc3286
component/bt : fix a bug and optimize controller task handler
...
1. fix controller task printf in ISR may cause exception.
2. optimize task handler process.
2017-07-31 14:48:39 +08:00
Ivan Grokhotkov
dce7fcb90d
Merge branch 'bugfix/sdspi_docs' into 'master'
...
Fix SD SPI docs
See merge request !1058
2017-07-28 16:03:45 +08:00
Jiang Jiang Jian
5991f1d573
Merge branch 'feature/add_get_and_set_wifi_max_tx_power_api' into 'master'
...
add get and set wifi maximum transmit power API
See merge request !1053
2017-07-28 15:47:50 +08:00
XiaXiaotian
1c4f7f2081
add get and set wifi maximum transmit power API
2017-07-28 15:06:52 +08:00
Jiang Jiang Jian
a31736990c
Merge branch 'bugfix/btdm_osi' into 'master'
...
component/bt : add osi_is_in_isr && fix vhci delay
See merge request !1054
2017-07-28 11:35:04 +08:00
Jiang Jiang Jian
ff3aa69e76
Merge branch 'feature/tw13968_optimize_for_tcp_close' into 'master'
...
lwip: optimize TCP close
See merge request !1022
2017-07-28 11:34:12 +08:00
Ivan Grokhotkov
3bd6194c58
Merge branch 'feature/docs_jtag_debugging' into 'master'
...
Update and extension of Debugging documentation
See merge request !850
2017-07-27 22:03:45 +08:00
Ivan Grokhotkov
770b9e3b9e
docs: fix warnings related to SD SPI documentation
2017-07-27 20:43:26 +08:00
Ivan Grokhotkov
d4982e0b64
docs: temporary downgrade Sphinx to 1.5.6 to work around Breathe issue
2017-07-27 20:43:26 +08:00