]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agocomponent/bt: Change the btm ble security key size range.
Yulong [Tue, 8 Aug 2017 08:51:18 +0000 (04:51 -0400)]
component/bt: Change the btm ble security key size range.

7 years agocomponent/bt: Change the SMP key size analyzing conditions.
Yulong [Thu, 6 Jul 2017 03:02:54 +0000 (23:02 -0400)]
component/bt: Change the SMP key size analyzing conditions.

7 years agoMerge branch 'bugfix/exection_not_init_bt_use_smp_api_#13691' into 'master'
Jiang Jiang Jian [Mon, 21 Aug 2017 06:51:17 +0000 (14:51 +0800)]
Merge branch 'bugfix/exection_not_init_bt_use_smp_api_#13691' into 'master'

component/bt: Added the bluedorid status checkout for the BLE security API.

See merge request !1045

7 years agoMerge branch 'feature/mbedtls_cipher_config' into 'master'
Angus Gratton [Sun, 20 Aug 2017 23:19:24 +0000 (07:19 +0800)]
Merge branch 'feature/mbedtls_cipher_config' into 'master'

mbedtls: Add compile-time configuration, better default configuration

See merge request !1118

7 years agoMerge branch 'feature/remove_ethernet_config_option' into 'master'
Ivan Grokhotkov [Fri, 18 Aug 2017 10:45:49 +0000 (18:45 +0800)]
Merge branch 'feature/remove_ethernet_config_option' into 'master'

ethernet: remove CONFIG_ETHERNET

See merge request !1116

7 years agombedtls: Add more config options to disable Elliptic Curve features
Angus Gratton [Fri, 18 Aug 2017 07:44:33 +0000 (17:44 +1000)]
mbedtls: Add more config options to disable Elliptic Curve features

Can save up to an additional 20KB when not using EC in TLS, or disable
unwanted features as needed.

7 years agohttps example: Use correct pattern around mbedtls_ssl_write()
Angus Gratton [Fri, 18 Aug 2017 04:27:36 +0000 (14:27 +1000)]
https example: Use correct pattern around mbedtls_ssl_write()

mbedtls_ssl_write() will always write the request here in one go,
but it's good to have correct patterns in examples.

7 years agohttps example: Clean up output, print cipher suite & request count
Angus Gratton [Thu, 17 Aug 2017 07:25:39 +0000 (17:25 +1000)]
https example: Clean up output, print cipher suite & request count

7 years agombedtls: Expose compile-time config, disable some things by default
Angus Gratton [Thu, 17 Aug 2017 07:15:04 +0000 (17:15 +1000)]
mbedtls: Expose compile-time config, disable some things by default

* Disables 3DES, Camellia, Blowfish, RC4, RIPEMD160, SSLv3, TLS-PSK modes, DTLS by default
* Saves about 40KB from the default TLS client code size
* Defaults no longer get "Bad" howsmyssl.com rating (no more vulnerable 3DES)
  (ping https://github.com/espressif/arduino-esp32/issues/575 )
* Allows up to another 20-30KB code size to be trimmed without security
  implications if using DER formatted certificates, RSA ciphersuites only,
  etc.
* Can save up to another 8KB by setting the TLS Role to Server or Client only.

7 years agoMerge branch 'example/lcd_type' into 'master'
Jeroen Domburg [Fri, 18 Aug 2017 06:21:12 +0000 (14:21 +0800)]
Merge branch 'example/lcd_type' into 'master'

example(spi_master): add menuconfig options allowing users to choose which type of LCD is used.

See merge request !1025

7 years agowifi: refactor code to match ethernet's init function structure
Kedar Sovani [Thu, 17 Aug 2017 04:11:34 +0000 (09:41 +0530)]
wifi: refactor code to match ethernet's init function structure

7 years agoethernet: remove CONFIG_ETHERNET
Kedar Sovani [Wed, 16 Aug 2017 06:33:37 +0000 (12:03 +0530)]
ethernet: remove CONFIG_ETHERNET

1. Hello World application shows no footprint difference before and
after this change
2. examples/ethernet/ethernet application compiles properly (can't
test with my board)

7 years agoexample(spi_master): add menuconfig options allowing users to choose which type of...
michael [Tue, 18 Jul 2017 09:02:07 +0000 (17:02 +0800)]
example(spi_master): add menuconfig options allowing users to choose which type of LCD is used.

also some modification in the example file, replacing "ili_*" to "lcd_*".

7 years agoMerge branch 'bugfix/docs_app_trace_lib' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 11:12:51 +0000 (19:12 +0800)]
Merge branch 'bugfix/docs_app_trace_lib' into 'master'

Update of "Application Level Tracing library" documentation to reflect "esp32" target

See merge request !1081

7 years agoMerge branch 'feature/set_static_ip_to_zero' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 11:12:01 +0000 (19:12 +0800)]
Merge branch 'feature/set_static_ip_to_zero' into 'master'

Zero static IP address can also be set

See merge request !1101

7 years agoMerge branch 'bugfix/docs_datasheet_link_fix' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 11:11:43 +0000 (19:11 +0800)]
Merge branch 'bugfix/docs_datasheet_link_fix' into 'master'

Fix the wrong link of the datasheet

See merge request !1100

7 years agoMerge branch 'bugfix/spi_dma' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 10:55:25 +0000 (18:55 +0800)]
Merge branch 'bugfix/spi_dma' into 'master'

bugfix(spi_master): fix several issues when using RX DMA

See merge request !1006

7 years agoMerge branch 'feature/remove_wifi_config_option' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 10:43:56 +0000 (18:43 +0800)]
Merge branch 'feature/remove_wifi_config_option' into 'master'

Remove wifi config option

Remove Wi-Fi enable/disable option from Kconfig. This can be detected by the presence of esp_wifi_init() function in the application. Minimum footprint impact after the change.

See merge request !1098

7 years agosdkconfig: Remove rest of the references to WIFI_ENABLED
Kedar Sovani [Tue, 15 Aug 2017 09:17:53 +0000 (14:47 +0530)]
sdkconfig: Remove rest of the references to WIFI_ENABLED

7 years agokconfig: Add an option for skipping binary blobs
Kedar Sovani [Thu, 10 Aug 2017 05:16:36 +0000 (10:46 +0530)]
kconfig: Add an option for skipping binary blobs

7 years agokconfig: Remove Wi-Fi on/off as a menuconfig option
Kedar Sovani [Tue, 8 Aug 2017 04:53:52 +0000 (10:23 +0530)]
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.

7 years agotcpip_adapter: Decompose tcpip_adapter_start() into interface specification options
Kedar Sovani [Tue, 8 Aug 2017 04:48:14 +0000 (10:18 +0530)]
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.

7 years agoesp32: Make 'restart' function independent of Wi-Fi
Kedar Sovani [Mon, 7 Aug 2017 10:30:46 +0000 (16:00 +0530)]
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

7 years agoesp32: Register event handlers on the esp_wifi_init() call
Kedar Sovani [Mon, 7 Aug 2017 10:27:58 +0000 (15:57 +0530)]
esp32: Register event handlers on the esp_wifi_init() call

7 years agowifi: Map esp_wifi_init() to esp_wifi_init_internal()
Kedar Sovani [Mon, 7 Aug 2017 05:05:36 +0000 (10:35 +0530)]
wifi: Map esp_wifi_init() to esp_wifi_init_internal()

Follow-on patches will include additional functionality in
esp_wifi_init()

7 years agowifi_lib: Update to the change in the wifi_lib repository
Kedar Sovani [Tue, 15 Aug 2017 08:40:57 +0000 (14:10 +0530)]
wifi_lib: Update to the change in the wifi_lib repository

7 years agoMerge branch 'bugfix/spi_address' into 'master'
Ivan Grokhotkov [Wed, 16 Aug 2017 02:25:21 +0000 (10:25 +0800)]
Merge branch 'bugfix/spi_address' into 'master'

fix(spi_master): make the address field more intuitive to use.

See merge request !1074

7 years agofix(spi_master): make the address field more intuitive to use.
michael [Tue, 1 Aug 2017 08:00:58 +0000 (16:00 +0800)]
fix(spi_master): make the address field more intuitive to use.

The address field should be placed at the highest bits of address and slv_wr_status registers. Instead of breaking the address into two parts and fill in each register, move the address to the highest bits and write to the registers respectively.

Breaking change: if you fill-in the SPI address filed in a previous version in some way and it works correctly, you still have to rewrite the address, in a more intuitive way.

7 years agoMerge branch 'bugfix/ota_failsafe' into 'master'
Angus Gratton [Tue, 15 Aug 2017 00:11:38 +0000 (08:11 +0800)]
Merge branch 'bugfix/ota_failsafe' into 'master'

bootloader: Fallback if OTA data is invalid

See merge request !1033

7 years agoMerge branch 'bugfix/docs_get_started_introduction' into 'master'
Angus Gratton [Mon, 14 Aug 2017 23:52:54 +0000 (07:52 +0800)]
Merge branch 'bugfix/docs_get_started_introduction' into 'master'

Included 'Introduction' from original 'Get Started' PDF

See merge request !1065

7 years agobootloader: Fallback if OTA data is invalid
Angus Gratton [Thu, 18 May 2017 05:31:19 +0000 (15:31 +1000)]
bootloader: Fallback if OTA data is invalid

Make bootloader more robust if either OTA data or some OTA app slots are corrupt.

7 years agofix(spi_dma_rx): fixed the invalid argument issue in full-duplex mode.
michael [Tue, 1 Aug 2017 14:16:41 +0000 (22:16 +0800)]
fix(spi_dma_rx): fixed the invalid argument issue in full-duplex mode.

force rxlength=length and mosi=1 and inlink.start=1 on in full-duplex mode.
set rxlength > length is forbidden in full-duplex mode.

TW#12609, TW#14240, https://www.esp32.com/viewtopic.php?f=13&t=2519

7 years agofix(spi_master): fix SPI master, now able to transfer more than 32 bytes in non-DMA...
michael [Mon, 17 Jul 2017 03:37:32 +0000 (11:37 +0800)]
fix(spi_master): fix SPI master, now able to transfer more than 32 bytes in non-DMA-accessable area.

apply for internal space to hold these data.
use DMA when it's enabled, no matter long or short.

TW#12226, github#551

7 years agoIncluded 'Introduction' from original 'Get Started' PDF
krzychb [Sun, 30 Jul 2017 20:19:25 +0000 (22:19 +0200)]
Included 'Introduction' from original 'Get Started' PDF

7 years agoMerge branch 'bugfix/ledc_fade_divided_by_zero' into 'master'
Angus Gratton [Mon, 14 Aug 2017 05:52:36 +0000 (13:52 +0800)]
Merge branch 'bugfix/ledc_fade_divided_by_zero' into 'master'

bugfix(ledc): fix integer divided by zero in function ledc_set_fade_with_time

See merge request !1048

7 years agoMerge branch 'bugfix/wl_ext_size_test' into 'master'
Ivan Grokhotkov [Mon, 14 Aug 2017 01:35:12 +0000 (09:35 +0800)]
Merge branch 'bugfix/wl_ext_size_test' into 'master'

wear_levelling: fix unit test, fix sector erase in performance mode

See merge request !1093

7 years agoMerge branch 'bugfix/build_output_not_consistent' into 'master'
Ivan Grokhotkov [Mon, 14 Aug 2017 01:34:00 +0000 (09:34 +0800)]
Merge branch 'bugfix/build_output_not_consistent' into 'master'

build: Print real paths for generated build objects

See merge request !1097

7 years agobuild: Print real paths for 'ulp' build objects as well
Kedar Sovani [Fri, 11 Aug 2017 07:50:38 +0000 (13:20 +0530)]
build: Print real paths for 'ulp' build objects as well

Signed-off-by: Kedar Sovani <kedars@gmail.com>
7 years agoMerge branch 'feature/TW14048_optimize_tcp_perf_example' into 'master'
Ivan Grokhotkov [Thu, 10 Aug 2017 13:43:18 +0000 (21:43 +0800)]
Merge branch 'feature/TW14048_optimize_tcp_perf_example' into 'master'

feature/TW14048_optimize_tcp_perf_example

See merge request !1041

7 years agoMerge branch 'feature/docs_setup_sphinx' into 'master'
Ivan Grokhotkov [Thu, 10 Aug 2017 13:39:13 +0000 (21:39 +0800)]
Merge branch 'feature/docs_setup_sphinx' into 'master'

Instructions how to setup tools and  build documentation locally

See merge request !1063

7 years agoZero static IP address can also be set
XiaXiaotian [Thu, 10 Aug 2017 11:43:26 +0000 (19:43 +0800)]
Zero static IP address can also be set

7 years agoexample: optimize the robust of TCP connect
zhangyanjiao [Fri, 21 Jul 2017 03:40:30 +0000 (11:40 +0800)]
example: optimize the robust of TCP connect

7 years agobuild: Print real paths for generated build objects
Kedar Sovani [Thu, 3 Aug 2017 11:27:43 +0000 (16:57 +0530)]
build: Print real paths for generated build objects

7 years agoFixed Breathe release because 'latest' introduces errors
krzychb [Wed, 9 Aug 2017 17:09:59 +0000 (19:09 +0200)]
Fixed Breathe release because 'latest' introduces errors

7 years agoMerge branch 'master' of https://gitlab.espressif.cn:6688/idf/esp-idf into feature...
krzychb [Wed, 9 Aug 2017 16:46:43 +0000 (18:46 +0200)]
Merge branch 'master' of https://gitlab.espressif.cn:6688/idf/esp-idf into feature/docs_setup_sphinx

7 years agoMerge branch 'feature/fast_crypto_used_in_supplicant' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 13:55:05 +0000 (21:55 +0800)]
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

7 years agoAdd the fast crypto function in supplicant
Deng Xin [Tue, 1 Aug 2017 14:29:16 +0000 (22:29 +0800)]
Add the fast crypto function in supplicant
optimize the speed when do wifi connect

7 years agodoc: Fix the wrong link
Anton Maklakov [Wed, 9 Aug 2017 10:36:52 +0000 (18:36 +0800)]
doc: Fix the wrong link

7 years agoLog level changed to remove useless info.
Dmitry Yakovlev [Wed, 9 Aug 2017 07:25:40 +0000 (10:25 +0300)]
Log level changed to remove useless info.

7 years agoFix: tests now process correct. The length of written array now fit to the defined...
Dmitry Yakovlev [Wed, 9 Aug 2017 06:35:32 +0000 (09:35 +0300)]
Fix: tests now process correct. The length of written array now fit to the defined range.
Fix: perfomance mode bugfix for big sector sizes.

7 years agoMerge branch 'feature/docs_build_openocd_windows' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 05:17:35 +0000 (13:17 +0800)]
Merge branch 'feature/docs_build_openocd_windows' into 'master'

Provided instruction to build OpenOCD from sources using MSYS2

See merge request !1062

7 years agoMerge branch 'feature/docs_wrover_kit_description' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 05:17:19 +0000 (13:17 +0800)]
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

7 years agocomponent/bt: All esp_bluedroid_get_status check-return could be used as MACRO ESP_BL...
Yulong [Tue, 8 Aug 2017 09:28:19 +0000 (05:28 -0400)]
component/bt: All esp_bluedroid_get_status check-return could be used as MACRO ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);

7 years agoMerge branch 'bugfix/wl_test_fail' into 'master'
Ivan Grokhotkov [Tue, 8 Aug 2017 08:32:11 +0000 (16:32 +0800)]
Merge branch 'bugfix/wl_test_fail' into 'master'

unit test fixes

See merge request !1085

7 years agosdmmc: mark new unit test as ignored
Ivan Grokhotkov [Mon, 7 Aug 2017 19:51:54 +0000 (03:51 +0800)]
sdmmc: mark new unit test as ignored

7 years agowear_levelling: temporarily disable 512 byte sectors
Ivan Grokhotkov [Mon, 7 Aug 2017 19:22:42 +0000 (03:22 +0800)]
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.

7 years agowear_levelling: clean up Kconfig
Ivan Grokhotkov [Mon, 7 Aug 2017 19:20:02 +0000 (03:20 +0800)]
wear_levelling: clean up Kconfig

7 years agoMerge branch 'bugfix/sdmmc_unaligned_write' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 18:55:13 +0000 (02:55 +0800)]
Merge branch 'bugfix/sdmmc_unaligned_write' into 'master'

sdmmc: fix reads/writes to/from unaligned buffers

See merge request !1071

7 years agoMerge branch 'feature/aws_iot_menuconfig' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:22:48 +0000 (17:22 +0800)]
Merge branch 'feature/aws_iot_menuconfig' into 'master'

aws_iot: Expose common SDK compile-time configuration in menuconfig

See merge request !1030

7 years agoMerge branch 'feature/add_gpio_drive_capability' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:21:42 +0000 (17:21 +0800)]
Merge branch 'feature/add_gpio_drive_capability' into 'master'

feature(gpio): add APIs to set and get pad drive capability.

See merge request !1010

7 years agoMerge branch 'bugfix/nghttp_build_port' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:21:15 +0000 (17:21 +0800)]
Merge branch 'bugfix/nghttp_build_port' into 'master'

nghttp: build port directory

See merge request !1057

7 years agoMerge branch 'feature/wl_ext_sector_size' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:20:34 +0000 (17:20 +0800)]
Merge branch 'feature/wl_ext_sector_size' into 'master'

Feature/wl ext sector size

See merge request !1038

7 years agoMerge branch 'bugfix/windows_build' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:19:16 +0000 (17:19 +0800)]
Merge branch 'bugfix/windows_build' into 'master'

Disable link time optimisation for bootloader

See merge request !1044

7 years agoTrace collection command examples
krzychb [Sat, 5 Aug 2017 14:45:02 +0000 (16:45 +0200)]
Trace collection command examples

7 years agoTarget change, clarifications and formatting updates
krzychb [Fri, 4 Aug 2017 20:17:31 +0000 (22:17 +0200)]
Target change, clarifications and formatting updates

7 years agoMerge branch 'bugfix/tw14130_fix_buf_err' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 07:17:33 +0000 (15:17 +0800)]
Merge branch 'bugfix/tw14130_fix_buf_err' into 'master'

emac:fix rx buf err

See merge request !1073

7 years agochange copy right
shangke [Fri, 4 Aug 2017 06:56:58 +0000 (14:56 +0800)]
change copy right

7 years agoMerge branch 'bugfix/btdm_add_set_local_privacy_callback' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 06:52:02 +0000 (14:52 +0800)]
Merge branch 'bugfix/btdm_add_set_local_privacy_callback' into 'master'

component/bt: add set local privacy func callback

See merge request !1026

7 years agoMerge branch 'bugfix/btdm_fix_esp_ble_gatts_set_attr_value_memory_leak' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 06:40:54 +0000 (14:40 +0800)]
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

7 years agobeautify the code
shangke [Fri, 4 Aug 2017 06:24:44 +0000 (14:24 +0800)]
beautify the code

7 years agoadd comments for rx list
shangke [Thu, 3 Aug 2017 06:44:22 +0000 (14:44 +0800)]
add comments for rx list

7 years agoMerge branch 'bugfix/btdm_Wrong_return_code_type_for_esp_ble_gattc_register_for_notif...
Jiang Jiang Jian [Thu, 3 Aug 2017 02:49:47 +0000 (10:49 +0800)]
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

7 years agoMerge branch 'feature/apptrace_api_ext' into 'master'
Ivan Grokhotkov [Wed, 2 Aug 2017 06:34:42 +0000 (14:34 +0800)]
Merge branch 'feature/apptrace_api_ext' into 'master'

esp32: Apptrace API enhancement

See merge request !1021

7 years agoUpdated desription of ESP-WROVER-KIT features in getting started guide, changed link...
krzychb [Mon, 31 Jul 2017 05:06:25 +0000 (07:06 +0200)]
Updated desription of ESP-WROVER-KIT features in getting started guide, changed link to JTAG Debugging

7 years agoInstructions how to setup tools and build documentation locally
krzychb [Sat, 29 Jul 2017 13:25:00 +0000 (15:25 +0200)]
Instructions how to setup tools and  build documentation locally

7 years agoProvided instruction to build OpenOCD from sources using MSYS2
krzychb [Sun, 30 Jul 2017 19:40:26 +0000 (21:40 +0200)]
Provided instruction to build OpenOCD from sources using MSYS2

7 years agoMerge branch 'bugfix/btdm_remove_fixqueue' into 'master'
Jiang Jiang Jian [Wed, 2 Aug 2017 03:02:05 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_remove_fixqueue' into 'master'

component/bt : remove fixed queue from btu

See merge request !1072

7 years agofix rx buf
shangke [Tue, 1 Aug 2017 03:59:57 +0000 (11:59 +0800)]
fix rx buf

7 years agocomponent/bt : remove fixed queue from btu
Tian Hao [Mon, 23 Jan 2017 08:11:27 +0000 (16:11 +0800)]
component/bt : remove fixed queue from btu

7 years agoMerge branch 'bugfix/btdm_optimize_controller_task' into 'master'
Jiang Jiang Jian [Tue, 1 Aug 2017 03:10:56 +0000 (11:10 +0800)]
Merge branch 'bugfix/btdm_optimize_controller_task' into 'master'

component/bt : fix a bug and optimize controller task handler

See merge request !1066

7 years agosdmmc: fix reads/writes to/from unaligned buffers
Ivan Grokhotkov [Mon, 31 Jul 2017 18:24:25 +0000 (02:24 +0800)]
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.

7 years agoMerge branch 'bugfix/spi_change_host' into 'master'
Jeroen Domburg [Mon, 31 Jul 2017 10:33:36 +0000 (18:33 +0800)]
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

7 years agoTypos correction.
Dmitry Yakovlev [Mon, 31 Jul 2017 04:50:20 +0000 (07:50 +0300)]
Typos correction.

7 years agoSome typos corrected in readme.
Dmitry Yakovlev [Mon, 24 Jul 2017 05:47:34 +0000 (08:47 +0300)]
Some typos corrected in readme.

7 years agoAdded component to change standard size of the flash device. Now the sector size...
Dmitry Yakovlev [Thu, 20 Jul 2017 10:09:39 +0000 (13:09 +0300)]
Added component to change standard size of the flash device. Now the sector size could be less. The configuration supports it.

7 years agoComponent/bt: wrong return code type for notify func
zhiweijian [Mon, 31 Jul 2017 09:52:38 +0000 (17:52 +0800)]
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

7 years agoComponent/bt: fix esp_ble_gatts_set_attr_value( ) memory leak
zhiweijian [Mon, 31 Jul 2017 09:24:07 +0000 (17:24 +0800)]
Component/bt: fix esp_ble_gatts_set_attr_value( ) memory leak

7 years agocomponent/bt : fix a bug and optimize controller task handler
Tian Hao [Mon, 31 Jul 2017 06:48:39 +0000 (14:48 +0800)]
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.

7 years agoMerge branch 'bugfix/sdspi_docs' into 'master'
Ivan Grokhotkov [Fri, 28 Jul 2017 08:03:45 +0000 (16:03 +0800)]
Merge branch 'bugfix/sdspi_docs' into 'master'

Fix SD SPI docs

See merge request !1058

7 years agoMerge branch 'feature/add_get_and_set_wifi_max_tx_power_api' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 07:47:50 +0000 (15:47 +0800)]
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

7 years agoadd get and set wifi maximum transmit power API
XiaXiaotian [Tue, 25 Jul 2017 07:22:18 +0000 (15:22 +0800)]
add get and set wifi maximum transmit power API

7 years agoMerge branch 'bugfix/btdm_osi' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 03:35:04 +0000 (11:35 +0800)]
Merge branch 'bugfix/btdm_osi' into 'master'

component/bt : add osi_is_in_isr && fix vhci delay

See merge request !1054

7 years agoMerge branch 'feature/tw13968_optimize_for_tcp_close' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 03:34:12 +0000 (11:34 +0800)]
Merge branch 'feature/tw13968_optimize_for_tcp_close' into 'master'

lwip: optimize TCP close

See merge request !1022

7 years agoMerge branch 'feature/docs_jtag_debugging' into 'master'
Ivan Grokhotkov [Thu, 27 Jul 2017 14:03:45 +0000 (22:03 +0800)]
Merge branch 'feature/docs_jtag_debugging' into 'master'

Update and extension of Debugging documentation

See merge request !850

7 years agodocs: fix warnings related to SD SPI documentation
Ivan Grokhotkov [Wed, 26 Jul 2017 08:26:13 +0000 (16:26 +0800)]
docs: fix warnings related to SD SPI documentation

7 years agodocs: temporary downgrade Sphinx to 1.5.6 to work around Breathe issue
Ivan Grokhotkov [Wed, 26 Jul 2017 08:26:57 +0000 (16:26 +0800)]
docs: temporary downgrade Sphinx to 1.5.6 to work around Breathe issue

7 years agodocs: add OpenOCD/JTAG instructions for macOS
Ivan Grokhotkov [Wed, 26 Jul 2017 08:09:36 +0000 (16:09 +0800)]
docs: add OpenOCD/JTAG instructions for macOS

7 years agolwip: optimize TCP close
Liu Zhi Fu [Wed, 19 Jul 2017 01:15:11 +0000 (09:15 +0800)]
lwip: optimize TCP close

Optimize TCP close:
1. Not remove TCP pcb when IP address is changed since the lwip netconn still need the pcb
2. If the TCP connection is in TCP_FIN_WAIT_1 for too long time, remove it

7 years agoMerge branch 'feature/add_menuconfig_option_for_ba_window' into 'master'
Jiang Jiang Jian [Thu, 27 Jul 2017 02:46:04 +0000 (10:46 +0800)]
Merge branch 'feature/add_menuconfig_option_for_ba_window' into 'master'

esp32: add menuconfig options to configure BA window

See merge request !915

7 years agoComponent/bt: add set local privacy func callback
zhiweijian [Wed, 19 Jul 2017 06:50:40 +0000 (14:50 +0800)]
Component/bt: add set local privacy func callback