]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'doc/heap_tracing' into 'master'
Angus Gratton [Fri, 10 Aug 2018 08:46:52 +0000 (16:46 +0800)]
Merge branch 'doc/heap_tracing' into 'master'

heap docs: Fix some bad links & errors in the heap docs

See merge request idf/esp-idf!2942

6 years agoheap docs: Fix some bad links & errors in the heap docs
Angus Gratton [Tue, 7 Aug 2018 01:37:57 +0000 (11:37 +1000)]
heap docs: Fix some bad links & errors in the heap docs

Also add a note about printf() sometimes causing on-demand allocations.

6 years agoMerge branch 'bugfix/http_client_null_auth_header' into 'master'
Angus Gratton [Fri, 10 Aug 2018 05:44:55 +0000 (13:44 +0800)]
Merge branch 'bugfix/http_client_null_auth_header' into 'master'

esp_http_client: Fixed exception on 401 without Www-Authenticate header

See merge request idf/esp-idf!2900

6 years agoMerge branch 'mesh/bugfix_parent_switch' into 'master'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:31:50 +0000 (11:31 +0800)]
Merge branch 'mesh/bugfix_parent_switch' into 'master'

mesh: modify parent switch mechanism

See merge request idf/esp-idf!2803

6 years agoMerge branch 'doc/versions' into 'master'
Angus Gratton [Fri, 10 Aug 2018 00:08:10 +0000 (08:08 +0800)]
Merge branch 'doc/versions' into 'master'

docs: Add version-specific include files, version documentation

See merge request idf/esp-idf!2858

6 years agoMerge branch 'bugfix/nvs_mem_leak' into 'master'
Ivan Grokhotkov [Thu, 9 Aug 2018 12:48:31 +0000 (20:48 +0800)]
Merge branch 'bugfix/nvs_mem_leak' into 'master'

nvs: fix memory leak when writing a blob

See merge request idf/esp-idf!2969

6 years agonvs: fix memory leak when writing a blob
Ivan Grokhotkov [Thu, 9 Aug 2018 07:35:19 +0000 (10:35 +0300)]
nvs: fix memory leak when writing a blob

Introduced in 5a27a63.
Clear usedPages list in all exit conditions, add test.

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 agoMerge branch 'feature/http_client_head' into 'master'
Ivan Grokhotkov [Wed, 8 Aug 2018 12:58:39 +0000 (20:58 +0800)]
Merge branch 'feature/http_client_head' into 'master'

esp_http_client: add head method support

See merge request idf/esp-idf!2895

6 years agoMerge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'
Angus Gratton [Wed, 8 Aug 2018 08:28:28 +0000 (16:28 +0800)]
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'

fix(touch): add_mutex_for_some_touchpad_apis

See merge request idf/esp-idf!2714

6 years agoMerge branch 'bugfix/ulp_fixes' into 'master'
Ivan Grokhotkov [Wed, 8 Aug 2018 07:37:25 +0000 (15:37 +0800)]
Merge branch 'bugfix/ulp_fixes' into 'master'

ULP fixes

See merge request idf/esp-idf!2948

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 'bugfix/remove_check_for_reason_assoc_expire' into 'master'
He Yin Ling [Wed, 8 Aug 2018 04:58:20 +0000 (12:58 +0800)]
Merge branch 'bugfix/remove_check_for_reason_assoc_expire' into 'master'

test: remove check for REASON_ASSOC_EXPIRE:

See merge request idf/esp-idf!2904

6 years agoMerge branch 'feature/http_firmware_upgrade' into 'master'
Angus Gratton [Wed, 8 Aug 2018 04:27:05 +0000 (12:27 +0800)]
Merge branch 'feature/http_firmware_upgrade' into 'master'

esp_https_ota: Add esp_https_ota component

See merge request idf/esp-idf!2771

6 years agoMerge branch 'feature/aws-iot-update-3.0.1' into 'master'
Angus Gratton [Tue, 7 Aug 2018 23:14:58 +0000 (07:14 +0800)]
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'

Feature/aws iot update 3.0.1

See merge request idf/esp-idf!2936

6 years agoMerge branch 'bugfix/asio_test_socket_timeout' into 'master'
Ivan Grokhotkov [Tue, 7 Aug 2018 13:49:09 +0000 (21:49 +0800)]
Merge branch 'bugfix/asio_test_socket_timeout' into 'master'

asio: added socket timeout for example tests

See merge request idf/esp-idf!2931

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 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 agoMerge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'
Jiang Jiang Jian [Tue, 7 Aug 2018 10:31:31 +0000 (18:31 +0800)]
Merge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'

Wifi: bug fix of may connect to wrong AP in all channel scan

See merge request idf/esp-idf!2829

6 years agoaws-iot: Update to 3.0.1 release
Anuj Deshpande [Tue, 7 Aug 2018 05:55:44 +0000 (11:25 +0530)]
aws-iot: Update to 3.0.1 release

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

6 years agoaws-iot: Make thing shadow example compatible with v3 of aws iot sdk
Anuj Deshpande [Mon, 6 Aug 2018 08:44:52 +0000 (14:14 +0530)]
aws-iot: Make thing shadow example compatible with v3 of aws iot sdk

6 years agoMerge branch 'feature/nvs_version_check' into 'master'
Angus Gratton [Tue, 7 Aug 2018 05:31:49 +0000 (13:31 +0800)]
Merge branch 'feature/nvs_version_check' into 'master'

nvs_flash: Version compatibility check for nvs storage

See merge request idf/esp-idf!2855

6 years agoasio: added socket timeout for example tests
David Cermak [Sat, 4 Aug 2018 20:09:34 +0000 (22:09 +0200)]
asio: added socket timeout for example tests

6 years agoMerge branch 'bugfix/fix_crash_for_http2_request' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 12:41:40 +0000 (20:41 +0800)]
Merge branch 'bugfix/fix_crash_for_http2_request' into 'master'

fix the crash when http2_request example send/recv fail

See merge request idf/esp-idf!2916

6 years agoWifi: bug fix of may connect to wrong AP in all channel scan
Deng Xin [Fri, 20 Jul 2018 12:30:29 +0000 (20:30 +0800)]
Wifi: bug fix of may connect to wrong AP in all channel scan
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan

6 years agofix the crash when http2_request example send/recv fail
zhangyanjiao [Thu, 2 Aug 2018 05:11:50 +0000 (13:11 +0800)]
fix the crash when http2_request example send/recv fail

6 years agoMerge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 10:49:31 +0000 (18:49 +0800)]
Merge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'

Wifi: station state machine change and fix ap loss

See merge request idf/esp-idf!2911

6 years agoMerge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 10:39:21 +0000 (18:39 +0800)]
Merge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'

component/bt: Fix bug of SPP crash on reset

See merge request idf/esp-idf!2801

6 years agoMerge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'
Jiang Jiang Jian [Mon, 6 Aug 2018 07:35:27 +0000 (15:35 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'

bugfix/btdm_hfp_invalid_sco_param

See merge request idf/esp-idf!2915

6 years agoMerge branch 'feature/component_memory_reservation' into 'master'
Angus Gratton [Mon, 6 Aug 2018 07:32:44 +0000 (15:32 +0800)]
Merge branch 'feature/component_memory_reservation' into 'master'

soc: Allow components to reserve fixed memory ranges that they need

See merge request idf/esp-idf!2596

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 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 agolinker: Don't link all of 'soc' into IRAM
Angus Gratton [Mon, 25 Jun 2018 07:28:56 +0000 (17:28 +1000)]
linker: Don't link all of 'soc' into IRAM

Moves any code in *_perpih.c, memory_layout_utils.c to flash

6 years agosoc: Allow components to reserve fixed memory ranges that they need
Angus Gratton [Fri, 22 Jun 2018 07:32:58 +0000 (17:32 +1000)]
soc: Allow components to reserve fixed memory ranges that they need

No longer necessary to keep all reserved addresses in 'soc'.

Means 'soc' does not need to know about 'bt', for example.

Also means that Bluetooth can be enabled in config without any memory being reserved for BT
controller. Only if code calling the BT controller is linked in, will this memory be reserved...

6 years agoMerge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'
Jiang Jiang Jian [Sun, 5 Aug 2018 15:49:40 +0000 (23:49 +0800)]
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'

driver(uart): Fixed uart tx_empty interrupt wdt timeout bug

See merge request idf/esp-idf!2823

6 years agoMerge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'
Jiang Jiang Jian [Sun, 5 Aug 2018 15:48:23 +0000 (23:48 +0800)]
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'

Component/bt:  fix SC_MITM_BOND failed in smp for iphones

See merge request idf/esp-idf!2863

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

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 agoWifi: station state machine change and fix ap loss
Deng Xin [Wed, 1 Aug 2018 08:27:01 +0000 (16:27 +0800)]
Wifi: station state machine change and fix ap loss

1. fix ap loss issue
2. change station behavior when receive disassoc and deauth after connect
3. format state machine reason code

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 agonvs_flash: Version compatibility check for nvs storage
Sagar Bijwe [Wed, 25 Jul 2018 15:11:09 +0000 (20:41 +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 agonvs_flash: Bump up nvs version
Sagar Bijwe [Wed, 25 Jul 2018 13:25:05 +0000 (18:55 +0530)]
nvs_flash: Bump up nvs version

6 years agoMerge branch 'bugfix/update_libphy_to_fix_some_issues' into 'master'
Jiang Jiang Jian [Sat, 4 Aug 2018 23:36:02 +0000 (07:36 +0800)]
Merge branch 'bugfix/update_libphy_to_fix_some_issues' into 'master'

esp32: update libphy.a to v3960

See merge request idf/esp-idf!2908

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 agoesp32: update libphy.a to v3960
Liu Zhi Fu [Fri, 3 Aug 2018 08:18:11 +0000 (16:18 +0800)]
esp32: update libphy.a to v3960

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

6 years agoMerge branch 'bugfix/asio_test_timeout' into 'master'
Jiang Jiang Jian [Sat, 4 Aug 2018 16:20:48 +0000 (00:20 +0800)]
Merge branch 'bugfix/asio_test_timeout' into 'master'

tiny-test-fw: Increase default expect timeout, increase asio example test timeouts

See merge request idf/esp-idf!2925

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 agoMerge branch 'feature/support_64mbit_psram' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 09:59:36 +0000 (17:59 +0800)]
Merge branch 'feature/support_64mbit_psram' into 'master'

feature(psram): add support for 64MBit psram of 1.8v and 3.3v.

See merge request idf/esp-idf!2696

6 years agoMerge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:30:30 +0000 (15:30 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'

bugfix/btdm_a2dp_disconnect_reason

See merge request idf/esp-idf!2914

6 years agoMerge branch 'bugfix/btdm_fix_ble_HIDD_demo_error' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:26:40 +0000 (15:26 +0800)]
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error' into 'master'

Component/bt: fix ble HID demo error

See merge request idf/esp-idf!2892

6 years agoMerge branch 'bugfix/coex_wifi_pm' into 'master'
Jiang Jiang Jian [Fri, 3 Aug 2018 07:22:13 +0000 (15:22 +0800)]
Merge branch 'bugfix/coex_wifi_pm' into 'master'

Bugfix/coex wifi pm

See merge request idf/esp-idf!2883

6 years agoasio example tests: Increase timeout for DHCP lease to 30s
Angus Gratton [Fri, 3 Aug 2018 06:59:23 +0000 (16:59 +1000)]
asio example tests: Increase timeout for DHCP lease to 30s

Covers time to connect to WiFi and negotiate lease,
may be more than 5-10s on some busy APs

6 years agotiny-test-fw: Increase default expect timeout to 10 seconds
Angus Gratton [Fri, 3 Aug 2018 06:55:50 +0000 (16:55 +1000)]
tiny-test-fw: Increase default expect timeout to 10 seconds

Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.

6 years agoMerge branch 'bugfix/hard_error_partition_offset' into 'master'
Angus Gratton [Fri, 3 Aug 2018 06:52:43 +0000 (14:52 +0800)]
Merge branch 'bugfix/hard_error_partition_offset' into 'master'

partition_table: Hard error if CSV contains invalid/overlapping offsets

See merge request idf/esp-idf!2755

6 years agofix bug that wifi sleep before receive beacon
Tian Hao [Mon, 30 Jul 2018 11:44:59 +0000 (19:44 +0800)]
fix bug that wifi sleep before receive beacon

        it will resolve the problem:
        1. when bluetooth is running (For example: a2dp sink), wifi station cannot connect to AP easily
        2. improve wifi connection success ratio when coexist is working

6 years agoMerge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'
Angus Gratton [Thu, 2 Aug 2018 23:24:08 +0000 (07:24 +0800)]
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'

Component/bt: fix queue blocking when scanning

See merge request idf/esp-idf!2706

6 years agoMerge branch 'feature/expat_getrandom' into 'master'
Ivan Grokhotkov [Thu, 2 Aug 2018 10:03:34 +0000 (18:03 +0800)]
Merge branch 'feature/expat_getrandom' into 'master'

expat: add source of entropy

See merge request idf/esp-idf!2912

6 years agoexpat: add source of entropy
Roland Dobai [Tue, 31 Jul 2018 12:49:54 +0000 (14:49 +0200)]
expat: add source of entropy

6 years agoMerge branch 'test/spi_region' into 'master'
Angus Gratton [Thu, 2 Aug 2018 04:09:44 +0000 (12:09 +0800)]
Merge branch 'test/spi_region' into 'master'

spi_master: improve some tests

See merge request idf/esp-idf!2809

6 years agoMerge branch 'bugfix/http_chunked_read' into 'master'
Ivan Grokhotkov [Thu, 2 Aug 2018 01:40:39 +0000 (09:40 +0800)]
Merge branch 'bugfix/http_chunked_read' into 'master'

bugfix/esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport

See merge request idf/esp-idf!2631

6 years agoMerge branch 'bugfix/github_deploy_regression' into 'master'
Angus Gratton [Thu, 2 Aug 2018 00:26:30 +0000 (08:26 +0800)]
Merge branch 'bugfix/github_deploy_regression' into 'master'

ci: Fix bad push command when pushing branch to github

See merge request idf/esp-idf!2902

6 years agoMerge branch 'feature/add_logo_to_docs' into 'master'
Angus Gratton [Thu, 2 Aug 2018 00:26:14 +0000 (08:26 +0800)]
Merge branch 'feature/add_logo_to_docs' into 'master'

Added Espressif logo to documentation

See merge request idf/esp-idf!2763

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 agoMerge branch 'bugfix/heap_caps_alloc_32bit' into 'master'
Ivan Grokhotkov [Wed, 1 Aug 2018 09:39:14 +0000 (17:39 +0800)]
Merge branch 'bugfix/heap_caps_alloc_32bit' into 'master'

heap: heap_caps_malloc(..., MALLOC_CAP_32_BIT) should always allocate a 32-bit aligned size

See merge request idf/esp-idf!2889

6 years agopartition table: Document 'flags' properly
Angus Gratton [Wed, 1 Aug 2018 07:54:05 +0000 (17:54 +1000)]
partition table: Document 'flags' properly

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 agopartition_table: Hard error if CSV contains invalid/overlapping offsets
Angus Gratton [Thu, 12 Jul 2018 01:32:58 +0000 (11:32 +1000)]
partition_table: Hard error if CSV contains invalid/overlapping offsets

Based on report on forum here:
https://esp32.com/viewtopic.php?f=13&t=6382&p=27514

Previous versions were much more relaxed about what could be in the partition
table, erroring out avoids unexpected changes on upgrade like different
partition offsets.

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 'feature/add_rom_elf' into 'master'
Angus Gratton [Wed, 1 Aug 2018 07:21:03 +0000 (15:21 +0800)]
Merge branch 'feature/add_rom_elf' into 'master'

Support for ROM functions in core dump backtraces

See merge request idf/esp-idf!2672

6 years agoAdd http_buffer description
Tuan PM [Mon, 16 Jul 2018 03:37:06 +0000 (10:37 +0700)]
Add http_buffer description

6 years agoesp_http_client: fixed http chunked encoding packet loss & add check data before...
Tuan [Wed, 27 Jun 2018 07:21:16 +0000 (14:21 +0700)]
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport
- A bug of the http client when it downloads a chunked encoding packet is greater than the http_client's buffer, http_parser will call the callback body more than once, and the client will only handle the last
- with ssl_read, need to check before read to avoid timeout blocked when no data for reading

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 agoMerge branch 'bugfix/wl_encryption' into 'master'
Angus Gratton [Wed, 1 Aug 2018 07:05:47 +0000 (15:05 +0800)]
Merge branch 'bugfix/wl_encryption' into 'master'

Bugfix: WL works with encrypted flash

See merge request idf/esp-idf!2530

6 years agoMerge branch 'feature/mbedtls_2_12_0' into 'master'
Ivan Grokhotkov [Wed, 1 Aug 2018 06:56:50 +0000 (14:56 +0800)]
Merge branch 'feature/mbedtls_2_12_0' into 'master'

mbedtls: update to 2.12.0

See merge request idf/esp-idf!2879

6 years agoMerge branch 'bugfix/spi_flash_mmap_malloc_internal' into 'master'
Ivan Grokhotkov [Wed, 1 Aug 2018 06:56:18 +0000 (14:56 +0800)]
Merge branch 'bugfix/spi_flash_mmap_malloc_internal' into 'master'

spi_flash: allocate mmap pages array in internal memory

See merge request idf/esp-idf!2885

6 years agoMerge branch 'feature/mbedtls_platform_memory_pr2237' into 'master'
Ivan Grokhotkov [Wed, 1 Aug 2018 06:55:54 +0000 (14:55 +0800)]
Merge branch 'feature/mbedtls_platform_memory_pr2237' into 'master'

Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it…

See merge request idf/esp-idf!2903

6 years agoMerge branch 'bugfix/btdm_oob_included' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:53:37 +0000 (14:53 +0800)]
Merge branch 'bugfix/btdm_oob_included' into 'master'

Fix undefined reference error by changing BTM_OOB_INCLUDED

See merge request idf/esp-idf!2878

6 years agoMerge branch 'bugfix/raise_r_signature' into 'master'
Ivan Grokhotkov [Wed, 1 Aug 2018 06:50:59 +0000 (14:50 +0800)]
Merge branch 'bugfix/raise_r_signature' into 'master'

syscalls: fix arguments and return type for _raise_r

See merge request idf/esp-idf!2897

6 years agoMerge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:50:15 +0000 (14:50 +0800)]
Merge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'

esp32: add internal API to enable or disable transmitting WiFi MAC frame with fixed rate

See merge request idf/esp-idf!2835

6 years agoMerge branch 'doc/wifi_update_channel_state_information_document' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:49:14 +0000 (14:49 +0800)]
Merge branch 'doc/wifi_update_channel_state_information_document' into 'master'

docs: update channel state information document

See merge request idf/esp-idf!2793

6 years agoMerge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:47:29 +0000 (14:47 +0800)]
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'

component/bt: btdm_lmp_transcation_collision_state_uncleared

See merge request idf/esp-idf!2731

6 years agoMerge branch 'bugfix/fix_several_wpa2_issues' into 'master'
Jiang Jiang Jian [Wed, 1 Aug 2018 06:38:15 +0000 (14:38 +0800)]
Merge branch 'bugfix/fix_several_wpa2_issues' into 'master'

esp32: fix several wpa2 enterprise issues

See merge request idf/esp-idf!2825

6 years agoMerge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'
Angus Gratton [Wed, 1 Aug 2018 06:06:38 +0000 (14:06 +0800)]
Merge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'

Component/bt: fix gattc get count invalid and discover included service error

See merge request idf/esp-idf!2770

6 years agoMerge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'
Angus Gratton [Wed, 1 Aug 2018 05:57:35 +0000 (13:57 +0800)]
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'

Bugfix/remove bt dependency on lwip header

See merge request idf/esp-idf!2882

6 years agoesp32: fix several wpa2 enterprise issues
Liu Zhi Fu [Fri, 20 Jul 2018 03:59:27 +0000 (11:59 +0800)]
esp32: fix several wpa2 enterprise issues

Fix following issues:
1. Fix heap corrupted bug
2. Fix memory leak bug
3. Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569

6 years agoesp32: add internal API to enable or disable transmitting WiFi MAC frame with
XiaXiaotian [Mon, 23 Jul 2018 08:39:50 +0000 (16:39 +0800)]
esp32: add internal API to enable or disable transmitting WiFi MAC frame with
fixed rate

6 years agoMerge branch 'feature/update_libexpat' into 'master'
Angus Gratton [Wed, 1 Aug 2018 01:44:38 +0000 (09:44 +0800)]
Merge branch 'feature/update_libexpat' into 'master'

expat: Move libexpat into submodule and update to version 2.2.5

See merge request idf/esp-idf!2868

6 years agoAdds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it...
Jason von Nieda [Fri, 27 Jul 2018 17:03:01 +0000 (12:03 -0500)]
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it possible to override the mbedtls allocator with your own.

Merges https://github.com/espressif/esp-idf/pull/2237

6 years agoci: Fix bad push command when pushing branch to github
Angus Gratton [Wed, 1 Aug 2018 00:47:38 +0000 (10:47 +1000)]
ci: Fix bad push command when pushing branch to github

Fixes regression in e5f4ae63f1a15ebbe92a11ae689dd86b64aa8382

6 years agoexpat: Move libexpat into submodule and update to version 2.2.5
Roland Dobai [Thu, 26 Jul 2018 10:19:28 +0000 (12:19 +0200)]
expat: Move libexpat into submodule and update to version 2.2.5

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 agospi_master: enable 2 tests in CI
Michael (XIAO Xufeng) [Mon, 23 Jul 2018 10:47:57 +0000 (18:47 +0800)]
spi_master: enable 2 tests in CI

The test is previously disabled for the requirement of external
connection. Now the signals are connected by internal connections.
Also change the failure logic of the test.

6 years agospi_master: change test to test DMA tx/rx in regions like psram
Michael (XIAO Xufeng) [Wed, 18 Jul 2018 08:56:19 +0000 (16:56 +0800)]
spi_master: change test to test DMA tx/rx in regions like psram

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