]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'fix/sdio_slave_recv_isr_load_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 11 Sep 2018 01:44:49 +0000 (09:44 +0800)]
Merge branch 'fix/sdio_slave_recv_isr_load_v3.1' into 'release/v3.1'

sdio_slave: fix the recv crash when trans finish and load at the same time (backport v3.1)

See merge request idf/esp-idf!3232

6 years agosdio_slave: fix the recv crash when trans finish and load at the same time
michael [Fri, 7 Sep 2018 04:33:45 +0000 (12:33 +0800)]
sdio_slave: fix the recv crash when trans finish and load at the same time

6 years agoMerge branch 'feature/btdm_legacy_paring_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 7 Sep 2018 06:44:19 +0000 (14:44 +0800)]
Merge branch 'feature/btdm_legacy_paring_v3.1' into 'release/v3.1'

component/bt: Add Legacy Pairing (backport 3.1)

See merge request idf/esp-idf!3193

6 years agoMerge branch 'test/split_test_env_for_integration_test_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 7 Sep 2018 03:06:51 +0000 (11:06 +0800)]
Merge branch 'test/split_test_env_for_integration_test_v3.1' into 'release/v3.1'

test: split CI test environment (backport v3.1)

See merge request idf/esp-idf!3211

6 years agoMerge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 6 Sep 2018 11:52:05 +0000 (19:52 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'

bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3188

6 years agotest: split CI test environment:
He Yin Ling [Sun, 26 Aug 2018 04:15:51 +0000 (12:15 +0800)]
test: split CI test environment:

Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.

6 years agoMerge branch 'bugfix/btdm_discovery_ble_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 6 Sep 2018 06:19:31 +0000 (14:19 +0800)]
Merge branch 'bugfix/btdm_discovery_ble_v3.1' into 'release/v3.1'

component/bt : fix bug that set discovery mode will stop ble adv

See merge request idf/esp-idf!3189

6 years agoMerge branch 'bugfix/tw25969_esp_derive_local_mac_missing_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 5 Sep 2018 09:21:20 +0000 (17:21 +0800)]
Merge branch 'bugfix/tw25969_esp_derive_local_mac_missing_v3.1' into 'release/v3.1'

defination: fix the bug that esp_derive_local_mac() defination missing (backport v3.1)

See merge request idf/esp-idf!3199

6 years agodefination: fix the bug that esp_derive_local_mac() defination missing
zhangyanjiao [Wed, 5 Sep 2018 06:23:00 +0000 (14:23 +0800)]
defination: fix the bug that esp_derive_local_mac() defination missing

6 years agocomponent/bt: Add Legacy Pairing (backport 3.1)
baohongde [Tue, 4 Sep 2018 12:59:03 +0000 (20:59 +0800)]
component/bt: Add Legacy Pairing (backport 3.1)

A cherry-pick of MR !3057

6 years agocomponent/bt : fix bug that set discovery mode will stop ble adv
Tian Hao [Tue, 4 Sep 2018 09:06:48 +0000 (17:06 +0800)]
component/bt : fix bug that set discovery mode will stop ble adv

As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.

Reference to https://github.com/espressif/esp-idf/issues/2306

6 years agocomponent/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted...
wangmengyang [Tue, 4 Sep 2018 12:09:07 +0000 (20:09 +0800)]
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length

6 years agoMerge branch 'bugfix/esp_wifi_disconnect_fail_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 4 Sep 2018 07:06:49 +0000 (15:06 +0800)]
Merge branch 'bugfix/esp_wifi_disconnect_fail_v3.1' into 'release/v3.1'

update wifi lib to fix two bugs (backport v3.1)

See merge request idf/esp-idf!3158

6 years agoMerge branch 'bugfix/btdm_update_private_address_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 4 Sep 2018 06:10:47 +0000 (14:10 +0800)]
Merge branch 'bugfix/btdm_update_private_address_v3.1' into 'release/v3.1'

component/bt: Update BLE private address after it's private address interval (backport 3.1)

See merge request idf/esp-idf!3170

6 years agoMerge branch 'bugfix/btdm_rfcomm_test_command_cause_crash_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 4 Sep 2018 06:10:05 +0000 (14:10 +0800)]
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash_v3.1' into 'release/v3.1'

component/bt: Fix bug rfcomm test command cause crash (backport 3.1)

See merge request idf/esp-idf!3169

6 years agoMerge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.1...
Jiang Jiang Jian [Tue, 4 Sep 2018 06:09:36 +0000 (14:09 +0800)]
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.1' into 'release/v3.1'

component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)

See merge request idf/esp-idf!3164

6 years agoMerge branch 'mesh/rewrite_docs_backport_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 3 Sep 2018 10:12:12 +0000 (18:12 +0800)]
Merge branch 'mesh/rewrite_docs_backport_v3.1' into 'release/v3.1'

docs/rewrite_mesh_docs (backport v3.1)

See merge request idf/esp-idf!3168

6 years agocomponent/bt: Update BLE private address after it's private address interval (backpor...
baohongde [Mon, 3 Sep 2018 06:27:15 +0000 (14:27 +0800)]
component/bt: Update BLE private address after it's private address interval (backport 3.1)

A cherry-pick of MR !2987

6 years agocomponent/bt: Fix bug rfcomm test command cause crash (backport 3.1)
baohongde [Mon, 3 Sep 2018 06:17:56 +0000 (14:17 +0800)]
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)

A cherry-pick of MR !3080

6 years agodocs/rewrite_mesh_docs
Darian Leung [Tue, 26 Jun 2018 12:48:47 +0000 (20:48 +0800)]
docs/rewrite_mesh_docs

The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.

6 years agocomponent/bt: Fix bug of SDP find services by uuid always return success (backport...
baohongde [Mon, 3 Sep 2018 03:52:19 +0000 (11:52 +0800)]
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)

A cherry-pick of MR !3036

6 years agoupdate wifi lib to fix two bugs
zhangyanjiao [Fri, 31 Aug 2018 12:05:10 +0000 (20:05 +0800)]
update wifi lib to fix two bugs

1. fix the esp_wifi_disconnect() err when wifi is not started or inited

2. make g_intr_lock_mux and g_osi_funs_p in DRAM

6 years agoMerge branch 'bugfix/btdm_security_vulnerability_v3.1' into 'release/v3.1' v3.1 v3.1-rc2
Jiang Jiang Jian [Thu, 30 Aug 2018 18:11:55 +0000 (02:11 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_v3.1' into 'release/v3.1'

fix bluetooth security vulnerability of ECDH public key checking

See merge request idf/esp-idf!3139

6 years agoMerge branch 'bugfix/wifi_reorder_mpdu_as_ampdu_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 30 Aug 2018 17:59:55 +0000 (01:59 +0800)]
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu_v3.1' into 'release/v3.1'

esp32: reorder MPDU as AMPDU (backport v3.1)

See merge request idf/esp-idf!3140

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

ci: Use local mirrors on the public branches (master, release-) too

See merge request idf/esp-idf!3126

6 years agoesp32: reorder MPDU as AMPDU
XiaXiaotian [Thu, 30 Aug 2018 03:46:16 +0000 (11:46 +0800)]
esp32: reorder MPDU as AMPDU

    Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
    numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
    AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
    receive both AMPDU and MPDU in order, MPDU must be reordered with
    AMPDU.

6 years agoMerge branch 'test/fix_test_summary_duplicate_v3.1' into 'release/v3.1'
He Yin Ling [Thu, 30 Aug 2018 03:20:58 +0000 (11:20 +0800)]
Merge branch 'test/fix_test_summary_duplicate_v3.1' into 'release/v3.1'

test: fix duplicated summary of BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009

See merge request idf/esp-idf!3086

6 years agofix bluetooth security vulnerability of ECDH publick key checking
Tian Hao [Fri, 24 Aug 2018 12:01:01 +0000 (20:01 +0800)]
fix bluetooth security vulnerability of ECDH publick key checking

6 years agoMerge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.1' into 'release...
Jiang Jiang Jian [Wed, 29 Aug 2018 18:20:58 +0000 (02:20 +0800)]
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.1' into 'release/v3.1'

Component/bt: fix memory leak in security server(backport v3.1)

See merge request idf/esp-idf!3081

6 years agoComponent/bt: fix memory leak in security server
zhiweijian [Tue, 14 Aug 2018 12:35:43 +0000 (20:35 +0800)]
Component/bt: fix memory leak in security server

6 years agoMerge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 29 Aug 2018 17:54:08 +0000 (01:54 +0800)]
Merge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'

mesh: bugfix and add two APIs (backport3.1)

See merge request idf/esp-idf!3134

6 years agoMerge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test_v3.1'...
Jiang Jiang Jian [Wed, 29 Aug 2018 17:51:33 +0000 (01:51 +0800)]
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test_v3.1' into 'release/v3.1'

Component/bt: fix crash when BLE do connect and disconnect stress test(backport v3.1)

See merge request idf/esp-idf!3119

6 years agocomponent/bt: fix crash when BLE do con and duscon stress test
zhiweijian [Tue, 28 Aug 2018 06:25:58 +0000 (14:25 +0800)]
component/bt: fix crash when BLE do con and duscon stress test

6 years agoMerge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 29 Aug 2018 15:54:36 +0000 (23:54 +0800)]
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.1' into 'release/v3.1'

Component/bt: fix get error adv packet sometimes(backport v3.1)

See merge request idf/esp-idf!3082

6 years agoMerge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 29 Aug 2018 14:54:58 +0000 (22:54 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'

bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3116

6 years agoMerge branch 'feature/cmake_v3.1' into release/v3.1
Angus Gratton [Wed, 29 Aug 2018 11:30:06 +0000 (19:30 +0800)]
Merge branch 'feature/cmake_v3.1' into release/v3.1

6 years agomesh: bugfix and add two APIs
qiyuexia [Mon, 27 Aug 2018 07:08:54 +0000 (15:08 +0800)]
mesh: bugfix and add two APIs

1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.

6 years ago fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
chensheng [Fri, 24 Aug 2018 06:25:24 +0000 (14:25 +0800)]
 fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary

6 years agoci: Use local mirrors on the public branches (master, release-) too
Anton Maklakov [Mon, 23 Jul 2018 09:03:05 +0000 (17:03 +0800)]
ci: Use local mirrors on the public branches (master, release-) too

    Use DONT_USE_MIRROR=1 to force using the original repositories if you need

6 years agoComponent/bt: fix get error adv packet sometimes
zhiweijian [Fri, 17 Aug 2018 03:54:45 +0000 (11:54 +0800)]
Component/bt: fix get error adv packet sometimes

6 years agoMerge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.1' into 'release...
Jiang Jiang Jian [Tue, 28 Aug 2018 05:40:56 +0000 (13:40 +0800)]
Merge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.1' into 'release/v3.1'

bugfix/btdm_check_slave_feature_before_set_afh(backport v3.1)

See merge request idf/esp-idf!3103

6 years agoMerge branch 'bugfix/tw23404_dhcp_NAK_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 28 Aug 2018 05:39:46 +0000 (13:39 +0800)]
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_v3.1' into 'release/v3.1'

lwip: optimize LWIP timer (backport v3.1)

See merge request idf/esp-idf!3060

6 years agocmake: Add missing example CMakeLists.txt files, CI check all examples have both
Angus Gratton [Tue, 28 Aug 2018 03:10:48 +0000 (11:10 +0800)]
cmake: Add missing example CMakeLists.txt files, CI check all examples have both

6 years agocomponent/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
wangmengyang [Tue, 21 Aug 2018 11:27:04 +0000 (19:27 +0800)]
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink

6 years agoMerge branch 'bugfix/fix_probable_mem_leak_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 28 Aug 2018 02:41:42 +0000 (10:41 +0800)]
Merge branch 'bugfix/fix_probable_mem_leak_v3.1' into 'release/v3.1'

components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)

See merge request idf/esp-idf!3106

6 years agolwip: optimize LWIP timer
Jiang Jiang Jian [Thu, 26 Jul 2018 06:06:12 +0000 (14:06 +0800)]
lwip: optimize LWIP timer

Port LWIP timer implementation in LWIP v2.0.3 to IDF v3.0

6 years agoMerge branch 'bugfix/timer_oneshot_timeout_twice_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 27 Aug 2018 12:42:44 +0000 (20:42 +0800)]
Merge branch 'bugfix/timer_oneshot_timeout_twice_v3.1' into 'release/v3.1'

component/bt: Some timer oneshot will timeout twice (backport v3.1)

See merge request idf/esp-idf!3063

6 years agoMerge branch 'bugfix/fix_several_wifi_bugs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 27 Aug 2018 12:38:35 +0000 (20:38 +0800)]
Merge branch 'bugfix/fix_several_wifi_bugs_v3.1' into 'release/v3.1'

esp32: update wifi lib to fix several WiFi bugs (backport v3.1)

See merge request idf/esp-idf!3098

6 years agocmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flashe...
Angus Gratton [Mon, 27 Aug 2018 10:02:30 +0000 (18:02 +0800)]
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)

6 years agokconfig: Merge Kconfig.compiler back into Kconfig
Angus Gratton [Mon, 27 Aug 2018 09:24:31 +0000 (17:24 +0800)]
kconfig: Merge Kconfig.compiler back into Kconfig

Reverts 5e0a3d99e8f748dab2b313339ba9b3ab6abd1640 (no longer needed but also not supported by
mconf-idf built from kconfig-frontends repo.)

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 agocmake: Account for missing partition CSV file at cmake runtime
Angus Gratton [Mon, 27 Aug 2018 03:55:04 +0000 (11:55 +0800)]
cmake: Account for missing partition CSV file at cmake runtime

Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)

6 years agocomponent/bt: check support of AFH in remote slave device's LM feature then determine...
wangmengyang [Mon, 27 Aug 2018 03:20:34 +0000 (11:20 +0800)]
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH

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 agoesp32: update wifi lib to fix several WiFi bugs
Liu Zhi Fu [Sun, 26 Aug 2018 04:38:06 +0000 (12:38 +0800)]
esp32: update wifi lib to fix several WiFi bugs

Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame

6 years agocomponent/bt: Some timer oneshot will timeout twice (backport v3.1)
baohongde [Thu, 23 Aug 2018 02:54:57 +0000 (10:54 +0800)]
component/bt: Some timer oneshot will timeout twice (backport v3.1)

A cherry-pick of MR !2979

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 agoPlace embedded data on flash
Renz Bagaporo [Tue, 21 Aug 2018 05:08:26 +0000 (13:08 +0800)]
Place embedded data on flash

6 years agocmake idf.py: Fix bug in JSON parsing when printing flash commands
Angus Gratton [Tue, 21 Aug 2018 00:13:02 +0000 (10:13 +1000)]
cmake idf.py: Fix bug in JSON parsing when printing flash commands

6 years agocmake/partitions: Apply offset to partition table metadata correctly
Angus Gratton [Mon, 20 Aug 2018 08:24:18 +0000 (18:24 +1000)]
cmake/partitions: Apply offset to partition table metadata correctly

Also warn if the parttool.py has an error

6 years agokconfiglib: Allow CONFIG_xxx= to disable booleans
Angus Gratton [Mon, 20 Aug 2018 07:15:36 +0000 (17:15 +1000)]
kconfiglib: Allow CONFIG_xxx= to disable booleans

But replace all sdkconfig.defaults to use the explicit =n (more correct)

6 years agopartition table: Remove hard-coded offsets from default partition tables
Angus Gratton [Wed, 1 Aug 2018 07:53:19 +0000 (17:53 +1000)]
partition table: Remove hard-coded offsets from default partition tables

Makes them compatible with moving the partition table offset

6 years agocmake: Fix bt component dependencies
Angus Gratton [Mon, 20 Aug 2018 00:47:55 +0000 (10:47 +1000)]
cmake: Fix bt component dependencies

6 years agocmake: Fix flasher argument generation
Angus Gratton [Mon, 20 Aug 2018 00:47:42 +0000 (10:47 +1000)]
cmake: Fix flasher argument generation

6 years agodoc: Update new documentation config output
Angus Gratton [Fri, 17 Aug 2018 06:12:28 +0000 (16:12 +1000)]
doc: Update new documentation config output

Make output similar to previous implementation.

6 years agoMerge branch 'release/v3.1' into feature/cmake_v3.1
Angus Gratton [Thu, 16 Aug 2018 02:58:31 +0000 (12:58 +1000)]
Merge branch 'release/v3.1' into feature/cmake_v3.1

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 agoMerge branch 'feature/cmake_separate_docs' into 'feature/cmake'
Angus Gratton [Mon, 13 Aug 2018 07:47:07 +0000 (15:47 +0800)]
Merge branch 'feature/cmake_separate_docs' into 'feature/cmake'

docs: Copy CMake docs to a separate set of directories

See merge request idf/esp-idf!2959

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 agocmake: Only rewrite componend_depends.cmake if it changes
Angus Gratton [Fri, 10 Aug 2018 02:30:32 +0000 (12:30 +1000)]
cmake: Only rewrite componend_depends.cmake if it changes

6 years agocmake: Expand components relative to PROJECT_PATH correctly
Angus Gratton [Fri, 10 Aug 2018 02:18:25 +0000 (12:18 +1000)]
cmake: Expand components relative to PROJECT_PATH correctly

6 years agodocs: Python 3 Sphinx compatibility
Angus Gratton [Wed, 8 Aug 2018 23:48:17 +0000 (09:48 +1000)]
docs: Python 3 Sphinx compatibility

6 years agodocs: Copy CMake docs to a separate set of directories
Angus Gratton [Wed, 8 Aug 2018 07:58:00 +0000 (17:58 +1000)]
docs: Copy CMake docs to a separate set of directories

Required first step before merging back to mainline.

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.