]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agocomponents/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport...
Hrishikesh Dhayagude [Wed, 8 Aug 2018 08:46:03 +0000 (14:16 +0530)]
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)

Multiple modules register their callback BTA_GATTS_AppRegister().

If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.

So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agoMerge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 27 Aug 2018 00:14:31 +0000 (08:14 +0800)]
Merge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'

spi: fix the issue that spi cannot be used when flash is disabled (backport v3.1)

See merge request idf/esp-idf!3075

6 years agoMerge branch 'test/disable_mesh_re_establish_network_case_v3.1' into 'release/v3.1'
He Yin Ling [Sat, 25 Aug 2018 02:38:02 +0000 (10:38 +0800)]
Merge branch 'test/disable_mesh_re_establish_network_case_v3.1' into 'release/v3.1'

test: disable mesh recreate network test (backport v3.1)

See merge request idf/esp-idf!3068

6 years agospi: fix the issue that spi cannot be used when flash is disabled
Michael (XIAO Xufeng) [Mon, 20 Aug 2018 10:27:38 +0000 (18:27 +0800)]
spi: fix the issue that spi cannot be used when flash is disabled

The dma configuration function called in the ISR should be put into the IRAM.

Fixes https://github.com/espressif/esp-idf/issues/2307.

6 years agotest: disable mesh recreate network test:
He Yin Ling [Thu, 23 Aug 2018 09:49:59 +0000 (17:49 +0800)]
test: disable mesh recreate network test:

We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.

Temp disable these cases, to let CI pass before bug fixed.

6 years agoMerge branch 'bugfix/mdns_any_type_share_v3.1' into 'release/v3.1' v3.1-rc1
Ivan Grokhotkov [Tue, 14 Aug 2018 22:40:24 +0000 (06:40 +0800)]
Merge branch 'bugfix/mdns_any_type_share_v3.1' into 'release/v3.1'

mdns: Fix a portion of the queries are issued with the wildcard query type (backport v3.1)

See merge request idf/esp-idf!3008

6 years agomdns: Fix a portion of the queries are issued with the wildcard query type
Liu Han [Tue, 31 Jul 2018 02:00:02 +0000 (10:00 +0800)]
mdns: Fix a portion of the queries are issued with the wildcard query type

6 years agoMerge branch 'bugfix/btdm_ecdh_public_key_not_check_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 14 Aug 2018 05:20:22 +0000 (13:20 +0800)]
Merge branch 'bugfix/btdm_ecdh_public_key_not_check_v3.1' into 'release/v3.1'

Bugfix/btdm ecdh public key not check v3.1 (backport v3.1)

See merge request idf/esp-idf!2991

6 years agoMerge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.1' into 'release...
Jiang Jiang Jian [Tue, 14 Aug 2018 05:20:08 +0000 (13:20 +0800)]
Merge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.1' into 'release/v3.1'

lwip: fix nonblocking tcp close issue (backport v3.1)

See merge request idf/esp-idf!2938

6 years agoMerge branch 'bugfix/gpio_reset_bitmask_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 14 Aug 2018 03:29:15 +0000 (11:29 +0800)]
Merge branch 'bugfix/gpio_reset_bitmask_v3.1' into 'release/v3.1'

gpio: Bitmask overflow fix in gpio_reset_pin (backport v3.1)

See merge request idf/esp-idf!3005

6 years agoMerge branch 'bugfix/ulp_fixes_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 14 Aug 2018 03:25:14 +0000 (11:25 +0800)]
Merge branch 'bugfix/ulp_fixes_v3.1' into 'release/v3.1'

ULP fixes (backport v3.1)

See merge request idf/esp-idf!3001

6 years agogpio: Bitmask overflow fix in gpio_reset_pin
Taavi Hein [Wed, 8 Aug 2018 12:31:17 +0000 (15:31 +0300)]
gpio: Bitmask overflow fix in gpio_reset_pin

For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.

Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.

6 years agodocs: update esp32ulp-binutils download link
Ivan Grokhotkov [Sun, 12 Aug 2018 20:36:19 +0000 (23:36 +0300)]
docs: update esp32ulp-binutils download link

6 years agoulp: add documentation for JUMPS instruction conditions
Ivan Grokhotkov [Tue, 7 Aug 2018 13:57:19 +0000 (16:57 +0300)]
ulp: add documentation for JUMPS instruction conditions

Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.

6 years agoulp: add tests for jumps instruction
Ivan Grokhotkov [Tue, 7 Aug 2018 13:13:26 +0000 (16:13 +0300)]
ulp: add tests for jumps instruction

6 years agoulp: fix ULP binary format documentation
Ivan Grokhotkov [Tue, 7 Aug 2018 13:09:54 +0000 (16:09 +0300)]
ulp: fix ULP binary format documentation

Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.

Closes https://github.com/espressif/esp-idf/issues/1705.

6 years agoulp: use += instead of := when setting component vars
Ivan Grokhotkov [Tue, 7 Aug 2018 13:08:13 +0000 (16:08 +0300)]
ulp: use += instead of := when setting component vars

Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.

Fixes https://github.com/espressif/esp-idf/issues/2157.

6 years agoulp: fix missing include in esp32/ulp.h header
Ivan Grokhotkov [Tue, 7 Aug 2018 13:04:00 +0000 (16:04 +0300)]
ulp: fix missing include in esp32/ulp.h header

ulp.h uses some register base addresses, so needs to include soc.h

6 years agoulp: fix calculation or ulp_run argument
Ivan Grokhotkov [Tue, 7 Aug 2018 13:03:23 +0000 (16:03 +0300)]
ulp: fix calculation or ulp_run argument

The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.

6 years agodocs: fix line endings of ULP docs
Ivan Grokhotkov [Mon, 13 Aug 2018 20:23:29 +0000 (23:23 +0300)]
docs: fix line endings of ULP docs

6 years agocomponent/bt: Fixed the vulnerability released by Bluetooth org when using public...
yulong [Sun, 5 Aug 2018 13:18:31 +0000 (21:18 +0800)]
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.

1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.

6 years agoMerge branch 'bugfix/doc_generated_sections_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 13 Aug 2018 07:48:59 +0000 (15:48 +0800)]
Merge branch 'bugfix/doc_generated_sections_v3.1' into 'release/v3.1'

docs: Move version-related includes to run in sphinx-build not make (backport v3.1)

See merge request idf/esp-idf!2989

6 years agodocs: Add gen-version-specific-includes.py to executables list
Angus Gratton [Mon, 13 Aug 2018 02:28:54 +0000 (12:28 +1000)]
docs: Add gen-version-specific-includes.py to executables list

6 years agodocs: Move version-related includes to run in sphinx-build not make
Angus Gratton [Mon, 13 Aug 2018 02:24:55 +0000 (12:24 +1000)]
docs: Move version-related includes to run in sphinx-build not make

Means they show up on ReadTheDocs(!)

6 years agoMerge branch 'bugfix/http_client_null_auth_header_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 13 Aug 2018 03:48:26 +0000 (11:48 +0800)]
Merge branch 'bugfix/http_client_null_auth_header_v3.1' into 'release/v3.1'

esp_http_client: Fixed exception on 401 without Www-Authenticate header (backport v3.1)

See merge request idf/esp-idf!2978

6 years agoMerge branch 'bugfix/unit-test-build-fix_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 13 Aug 2018 03:42:43 +0000 (11:42 +0800)]
Merge branch 'bugfix/unit-test-build-fix_v3.1' into 'release/v3.1'

unit-test-app: don’t include project.mk for ut- targets (backport v3.1)

See merge request idf/esp-idf!2850

6 years agoMerge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond_v3...
Jiang Jiang Jian [Mon, 13 Aug 2018 02:20:12 +0000 (10:20 +0800)]
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond_v3.1' into 'release/v3.1'

Component/bt: fix get bond list error when connection with no bond (backport v3.1)

See merge request idf/esp-idf!2981

6 years agoMerge branch 'doc/versions_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 13 Aug 2018 01:54:13 +0000 (09:54 +0800)]
Merge branch 'doc/versions_v3.1' into 'release/v3.1'

docs: Add version-specific include files, version documentation (backport v3.1)

See merge request idf/esp-idf!2974

6 years agoComponent/bt: fix get bond list error when connection with no bond
zhiweijian [Wed, 8 Aug 2018 06:44:22 +0000 (14:44 +0800)]
Component/bt: fix get bond list error when connection with no bond

6 years agoesp_http_client: Fixed exception on 401 without Www-Authenticate header
Tuan PM [Tue, 31 Jul 2018 16:25:11 +0000 (23:25 +0700)]
esp_http_client: Fixed exception on 401 without Www-Authenticate header
Closes https://github.com/espressif/esp-idf/issues/2246

6 years agofreertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
Angus Gratton [Mon, 30 Jul 2018 04:24:03 +0000 (14:24 +1000)]
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()

Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.

6 years agolwip: fix nonblocking tcp close issue
Liu Zhi Fu [Sat, 14 Jul 2018 06:58:00 +0000 (14:58 +0800)]
lwip: fix nonblocking tcp close issue

Fix assert issue causes by closing nonblocking tcp socket.

6 years agoMerge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 10 Aug 2018 05:43:55 +0000 (13:43 +0800)]
Merge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'

spi_flash: allocate mmap pages array in internal memory (backport v3.1)

See merge request idf/esp-idf!2961

6 years agoMerge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 10 Aug 2018 05:42:32 +0000 (13:42 +0800)]
Merge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'

mesh: modify parent switch mechanism (backport3.1)

See merge request idf/esp-idf!2977

6 years agoMerge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 04:18:33 +0000 (12:18 +0800)]
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'

fix(touch): add_mutex_for_some_touchpad_apis (backport v3.1)

See merge request idf/esp-idf!2963

6 years agomesh: modify parent switch mechanism
qiyuexia [Wed, 8 Aug 2018 05:08:41 +0000 (13:08 +0800)]
mesh: modify parent switch mechanism

1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.

6 years agoMerge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:36:39 +0000 (11:36 +0800)]
Merge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'

nvs_flash: Version compatibility check for nvs storage (backport 3.1)

See merge request idf/esp-idf!2958

6 years agoMerge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:10:55 +0000 (11:10 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'

component/bt: modify the invalid retransmission setting for SCO link in HFP(backport v3.1)

See merge request idf/esp-idf!2956

6 years agoMerge branch 'bugfix/backport_several_bugfix_to_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:09:35 +0000 (11:09 +0800)]
Merge branch 'bugfix/backport_several_bugfix_to_v3.1' into 'release/v3.1'

esp32: backport several WiFi bug fixes to v3.1

See merge request idf/esp-idf!2955

6 years agodocs: Combine the common en/zh_CN Makefiles to one common file
Angus Gratton [Mon, 6 Aug 2018 05:18:59 +0000 (15:18 +1000)]
docs: Combine the common en/zh_CN Makefiles to one common file

6 years agodocs: translate the version include script to Chinese
Michael (XIAO Xufeng) [Tue, 31 Jul 2018 04:34:10 +0000 (12:34 +0800)]
docs: translate the version include script to Chinese

6 years agoREADME: Add version-specific links
Angus Gratton [Fri, 27 Jul 2018 07:21:38 +0000 (17:21 +1000)]
README: Add version-specific links

Make it clearer how the README fits in with the docs.

6 years agodocs: Add version-specific include files, version documentation
Angus Gratton [Wed, 25 Jul 2018 04:30:15 +0000 (14:30 +1000)]
docs: Add version-specific include files, version documentation

* "git clone" command and a small version header are generated
  depending on git properties.
* Add Versions page with details about each version
* Make it clear using master branch is living on the "bleeding
  edge"

6 years agoesp32: backport several WiFi bug fixes to v3.1
Jiang Jiang Jian [Tue, 7 Aug 2018 10:31:31 +0000 (18:31 +0800)]
esp32: backport several WiFi bug fixes to v3.1

Backport following bug fixes to v3.1:

1. Bug fix of may connect to wrong AP in all channel scan

2. Station state machine change and fix ap loss

3. Add compatible to ccmp encryption

4. Update libphy.a to v3960:
   4.1 Decrease  phy_init time from 900us to 347us in sleep wakeup
   4.2 Fix RX STBC initialization
   4.3 Modify set_chan function to fix interrupt watchdog issue

5. Fix several wpa2 enterprise issues
   5.1 Fix heap corrupted bug
   5.2 Fix memory leak bug
   5.3 Make wpa2 enterprise thread-safe
   Closes https://github.com/espressif/esp-idf/issues/1569

6. Bugfix of coex wifi pm

6 years agoMerge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'releas...
He Yin Ling [Thu, 9 Aug 2018 13:23:21 +0000 (21:23 +0800)]
Merge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'release/v3.1'

test: remove check for REASON_ASSOC_EXPIRE (backport v3.1)

See merge request idf/esp-idf!2953

6 years agoMerge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 9 Aug 2018 00:20:33 +0000 (08:20 +0800)]
Merge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'

esp_https_ota: Add esp_https_ota component (Backport v3.1)

See merge request idf/esp-idf!2954

6 years agofix(touch): add_mutex_for_some_touchpad_apis
fuzhibo [Thu, 5 Jul 2018 09:29:48 +0000 (17:29 +0800)]
fix(touch): add_mutex_for_some_touchpad_apis

6 years agoesp_http_client: Add support for getting transport type
Jitin George [Wed, 25 Jul 2018 05:58:17 +0000 (11:28 +0530)]
esp_http_client: Add support for getting transport type

6 years agoesp_https_ota: Add support for HTTPS based ota feature
Jitin George [Thu, 12 Jul 2018 12:15:44 +0000 (17:45 +0530)]
esp_https_ota: Add support for HTTPS based ota feature

6 years agospi_flash: allocate mmap pages array in internal memory
Ivan Grokhotkov [Mon, 30 Jul 2018 19:49:09 +0000 (22:49 +0300)]
spi_flash: allocate mmap pages array in internal memory

* spi_flash_mmap_pages needs pages array to be in internal memory.
  Document and check this.

* Fix a bug that spi_flash_mmap did not allocate pages array in
  internal memory.

* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
  spaces around operators, mark output arguments with [out].

Closes https://github.com/espressif/esp-idf/issues/2229.

6 years agoMerge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 8 Aug 2018 08:30:09 +0000 (16:30 +0800)]
Merge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'

feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.1)

See merge request idf/esp-idf!2950

6 years agoMerge branch 'bugfix/http_chunked_read_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 8 Aug 2018 08:24:04 +0000 (16:24 +0800)]
Merge branch 'bugfix/http_chunked_read_v3.1' into 'release/v3.1'

esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)

See merge request idf/esp-idf!2952

6 years agoesp_http_client: fixed http chunked encoding packet loss & add check data before...
Tuan [Wed, 8 Aug 2018 08:24:04 +0000 (16:24 +0800)]
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)

6 years agonvs_flash: Version compatibility check for nvs storage
Sagar Bijwe [Wed, 25 Jul 2018 13:25:05 +0000 (18:55 +0530)]
nvs_flash: Version compatibility check for nvs storage

This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.

6 years agoMerge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 8 Aug 2018 06:46:25 +0000 (14:46 +0800)]
Merge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'

freertos: Add critical sections to queue sets (backport v3.1)

See merge request idf/esp-idf!2789

6 years agocomponent/bt: modify the invalid retransmission setting for SCO link in HFP
wangmengyang [Wed, 1 Aug 2018 11:39:18 +0000 (19:39 +0800)]
component/bt: modify the invalid retransmission setting for SCO link in HFP

6 years agoMerge branch 'bugfix/btdm_spp_crash_on_reset_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 8 Aug 2018 06:36:21 +0000 (14:36 +0800)]
Merge branch 'bugfix/btdm_spp_crash_on_reset_v3.1' into 'release/v3.1'

component/bt: Fix bug of SPP crash on reset (backport v3.1)

See merge request idf/esp-idf!2951

6 years agotest: update Wi-Fi test cases:
He Yin Ling [Mon, 30 Jul 2018 07:35:53 +0000 (15:35 +0800)]
test: update Wi-Fi test cases:

1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server

6 years agocomponent/bt: Fix bug of SPP crash on reset
baohongde [Wed, 1 Aug 2018 07:41:50 +0000 (15:41 +0800)]
component/bt: Fix bug of SPP crash on reset

In response to: https://github.com/espressif/esp-idf/issues/1998

6 years agofeature(flash): support for QIO mode of XM25QU64A
chenjianqiang [Wed, 11 Jul 2018 13:36:35 +0000 (21:36 +0800)]
feature(flash): support for QIO mode of XM25QU64A

6 years agoMerge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'
Angus Gratton [Tue, 7 Aug 2018 23:26:01 +0000 (07:26 +0800)]
Merge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'

ci: Simplify github deployment (backport v3.1)

See merge request idf/esp-idf!2874

6 years agoMerge branch 'bugfix/fix_crash_for_http2_request_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 7 Aug 2018 10:36:41 +0000 (18:36 +0800)]
Merge branch 'bugfix/fix_crash_for_http2_request_v3.1' into 'release/v3.1'

fix the crash when http2_request example send/recv fail

See merge request idf/esp-idf!2941

6 years agofix the crash when http2_request example send/recv fail
zhangyanjiao [Mon, 6 Aug 2018 12:49:40 +0000 (20:49 +0800)]
fix the crash when http2_request example send/recv fail

6 years agoMerge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Mon, 6 Aug 2018 07:17:26 +0000 (15:17 +0800)]
Merge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'

backport v3.1: fix(sdio): update sdio to better run in 4bit HS mode

See merge request idf/esp-idf!2759

6 years agoMerge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 6 Aug 2018 07:05:19 +0000 (15:05 +0800)]
Merge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'

fix coex pause cause bluetooth performance decrease (backport v3.1)

See merge request idf/esp-idf!2864

6 years agoci: Simplify github deployment
Angus Gratton [Fri, 27 Jul 2018 02:01:58 +0000 (12:01 +1000)]
ci: Simplify github deployment

CI_COMMIT_REF_NAME lets us use a single line to git push

6 years agoMerge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 6 Aug 2018 06:23:10 +0000 (14:23 +0800)]
Merge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'

mbedtls: update to 2.12.0 (backport v3.1)

See merge request idf/esp-idf!2932

6 years agoMerge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release...
Angus Gratton [Mon, 6 Aug 2018 06:22:29 +0000 (14:22 +0800)]
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release/v3.1'

driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1

See merge request idf/esp-idf!2934

6 years agofix coex pause cause bluetooth performance decrease
Tian Hao [Tue, 10 Jul 2018 08:22:29 +0000 (16:22 +0800)]
fix coex pause cause bluetooth performance decrease

1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease

6 years agoMerge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into ...
Jiang Jiang Jian [Sun, 5 Aug 2018 15:48:29 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into 'release/v3.1'

Component/bt:  fix SC_MITM_BOND failed in smp for iphones for v3.1

See merge request idf/esp-idf!2923

6 years agombedtls: update to 2.12.0
Ivan Grokhotkov [Mon, 30 Jul 2018 06:11:16 +0000 (09:11 +0300)]
mbedtls: update to 2.12.0

6 years agoMerge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 23:17:25 +0000 (07:17 +0800)]
Merge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'

Wifi: fix ampdu duplicate issue (backport v3.1)

See merge request idf/esp-idf!2797

6 years agoMerge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 15:48:42 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'

bugfix/btdm_a2dp_disconnect_reason(backport v3.1)

See merge request idf/esp-idf!2927

6 years agowifi: fix ampdu duplicate issue
chenyudong [Tue, 17 Jul 2018 07:04:57 +0000 (15:04 +0800)]
wifi: fix ampdu duplicate issue

fix ampdu duplicate issue

6 years agoMerge branch 'bugfix/btdm_fix_ble_HIDD_demo_error_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 4 Aug 2018 15:26:18 +0000 (23:26 +0800)]
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error_for_v3.1' into 'release/v3.1'

Component/bt: fix ble HID demo error for v3.1

See merge request idf/esp-idf!2922

6 years agoMerge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.1' into 'release...
Jiang Jiang Jian [Sat, 4 Aug 2018 15:25:33 +0000 (23:25 +0800)]
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.1' into 'release/v3.1'

bugfix/btdm_lmp_trans_coll_state_uncleared(backport v3.1)

See merge request idf/esp-idf!2929

6 years agoComponent/bt: fix SC_MITM_BOND failed in smp for iphones
zhiweijian [Fri, 27 Jul 2018 03:18:52 +0000 (11:18 +0800)]
Component/bt:  fix SC_MITM_BOND failed in smp for iphones

6 years agocomponent/bt: bugfix for uncleared LMP transaction collision state after rejecting...
wangmengyang [Mon, 9 Jul 2018 07:40:27 +0000 (15:40 +0800)]
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave

6 years agocomponent/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
wangmengyang [Sat, 9 Jun 2018 03:48:19 +0000 (11:48 +0800)]
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected

6 years agoMerge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:09:58 +0000 (15:09 +0800)]
Merge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'

bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception(backport v3.1)

See merge request idf/esp-idf!2865

6 years agoComponent/bt: fix ble HID demo error
zhiweijian [Tue, 31 Jul 2018 07:20:27 +0000 (15:20 +0800)]
Component/bt: fix ble HID demo error

6 years agofix(sdmmc): disable all pulldowns used by sdmmc host
michael [Wed, 4 Jul 2018 12:38:14 +0000 (20:38 +0800)]
fix(sdmmc): disable all pulldowns used by sdmmc host

6 years agoMerge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 2 Aug 2018 23:28:07 +0000 (07:28 +0800)]
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'

Component/bt: fix queue blocking when scanning for v3.1

See merge request idf/esp-idf!2893

6 years agodriver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
kooho [Thu, 19 Jul 2018 13:41:35 +0000 (21:41 +0800)]
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1

6 years agobt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
Tian Hao [Tue, 17 Jul 2018 07:46:56 +0000 (15:46 +0800)]
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception

1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.

6 years agoMerge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 1 Aug 2018 10:05:47 +0000 (18:05 +0800)]
Merge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'

SPIFFS: fix stack overflow in readdir_r due to recursion (backport v3.1)

See merge request idf/esp-idf!2876

6 years agoMerge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Wed, 1 Aug 2018 09:40:37 +0000 (17:40 +0800)]
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'

Bugfix/remove bt dependency on lwip header (backport v3.1)

See merge request idf/esp-idf!2907

6 years agoheap: move get_all_caps to IRAM, used in unit test
Ivan Grokhotkov [Wed, 27 Jun 2018 09:16:38 +0000 (17:16 +0800)]
heap: move get_all_caps to IRAM, used in unit test

6 years agofreertos: bump limit for spinlock performance test to 300 cycles
Ivan Grokhotkov [Wed, 27 Jun 2018 06:47:31 +0000 (14:47 +0800)]
freertos: bump limit for spinlock performance test to 300 cycles

6 years agonewlib: fix unit test for psram config
Ivan Grokhotkov [Wed, 27 Jun 2018 06:47:05 +0000 (14:47 +0800)]
newlib: fix unit test for psram config

6 years agoheap: fix unit test for the case when less than 10k of IRAM is available
Ivan Grokhotkov [Wed, 27 Jun 2018 06:46:20 +0000 (14:46 +0800)]
heap: fix unit test for the case when less than 10k of IRAM is available

6 years agospi_master, ulp: fix aliasing errors in unit tests
Ivan Grokhotkov [Tue, 26 Jun 2018 06:37:36 +0000 (14:37 +0800)]
spi_master, ulp: fix aliasing errors in unit tests

6 years agounit-test-app: don’t include project.mk for ut- targets
Ivan Grokhotkov [Tue, 26 Jun 2018 04:39:27 +0000 (12:39 +0800)]
unit-test-app: don’t include project.mk for ut- targets

If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.

6 years agofix(sdio_slave): improve sdio slave for high speed and 4 bit mode
michael [Wed, 4 Jul 2018 12:37:30 +0000 (20:37 +0800)]
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode

6 years agofix(sdio_slave): fix minor issues like return value of send function, output arg...
michael [Fri, 6 Jul 2018 08:02:32 +0000 (16:02 +0800)]
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.

6 years agoComponent/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
zhiweijian [Mon, 2 Jul 2018 02:59:51 +0000 (10:59 +0800)]
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning

6 years agofreertos: Add critical sections to queue sets.
Darian Leung [Wed, 11 Jul 2018 12:50:43 +0000 (20:50 +0800)]
freertos: Add critical sections to queue sets.

Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.

6 years agoMerge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:51:08 +0000 (14:51 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'

Component/bt: fix gattc get count invalid and discover included service error for v3.1

See merge request idf/esp-idf!2894

6 years agoMerge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release...
Jiang Jiang Jian [Wed, 1 Aug 2018 06:49:45 +0000 (14:49 +0800)]
Merge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release/v3.1'

docs: update channel state information document (backport v3.1)

See merge request idf/esp-idf!2796

6 years agowpa_supplicant: removed unrequired header dir include from component.mk
Mahavir Jain [Mon, 30 Jul 2018 05:47:11 +0000 (11:17 +0530)]
wpa_supplicant: removed unrequired header dir include from component.mk

- Also fixed license header in rtc driver

Signed-off-by: Mahavir Jain <mahavir@espressif.com>