]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoVFS: select() on UART should return immediately when data is buffered
Roland Dobai [Tue, 27 Nov 2018 11:53:19 +0000 (12:53 +0100)]
VFS: select() on UART should return immediately when data is buffered

6 years agoMerge branch 'bugfix/freertos_idle_tick_count_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 29 Nov 2018 04:01:56 +0000 (12:01 +0800)]
Merge branch 'bugfix/freertos_idle_tick_count_v3.1' into 'release/v3.1'

freertos: use xTaskQueueMutex to protect tick count (backport v3.1)

See merge request idf/esp-idf!3728

6 years agoMerge branch 'bugfix/aes_sha_mpi_shared_regs_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 26 Nov 2018 08:23:41 +0000 (16:23 +0800)]
Merge branch 'bugfix/aes_sha_mpi_shared_regs_v3.1' into 'release/v3.1'

aes/sha/mpi: Bugfix a use of shared registers.  (backport v3.1)

See merge request idf/esp-idf!3637

6 years agoaes/sha/mpi: Bugfix a use of shared registers.
Konstantin Kondrashov [Mon, 29 Oct 2018 15:55:02 +0000 (23:55 +0800)]
aes/sha/mpi: Bugfix a use of shared registers.

This commit resolves a blocking in esp_aes_block function.

Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.

Fix some related issue with shared using of AES SHA RSA accelerators.

Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
6 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into ...
Jiang Jiang Jian [Fri, 23 Nov 2018 12:14:15 +0000 (20:14 +0800)]
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into 'release/v3.1'

Component/bt: add check peer addr type in set adv params (backport v3.1)

See merge request idf/esp-idf!3735

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1121_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 23 Nov 2018 09:08:49 +0000 (17:08 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.1' into 'release/v3.1'

esp32: fix some wifi bugs (backport v3.1)

See merge request idf/esp-idf!3761

6 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Wed, 21 Nov 2018 07:24:30 +0000 (15:24 +0800)]
esp32: fix some wifi bugs

Fix some wifi bugs
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID

6 years agoMerge branch 'bugfix/btdm_controller_disable_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 09:00:38 +0000 (17:00 +0800)]
Merge branch 'bugfix/btdm_controller_disable_v3.1' into 'release/v3.1'

Fix two bugs when disable bluetooth controller(backport v3.1)

See merge request idf/esp-idf!3693

6 years agoMerge branch 'bugfix/btdm_errors_in_comment_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:26:19 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_errors_in_comment_v3.1' into 'release/v3.1'

components/bt: Some errors in comment(backport 3.1)

See merge request idf/esp-idf!3714

6 years agoMerge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:20:34 +0000 (14:20 +0800)]
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.1' into 'release/v3.1'

wifi: fix wifi sta and sniffer phy config bug (backport v3.1)

See merge request idf/esp-idf!3723

6 years agoComponent/bt: add check peer addr type in set adv params
zhiweijian [Mon, 19 Nov 2018 09:04:48 +0000 (17:04 +0800)]
Component/bt: add check peer addr type in set adv params

6 years agofreertos: use xTaskQueueMutex to protect tick count
Ivan Grokhotkov [Fri, 12 Oct 2018 06:18:49 +0000 (14:18 +0800)]
freertos: use xTaskQueueMutex to protect tick count

Having two different spinlocks is problematic due to possibly
different order in which the locks will be taken. Changing the order
would require significant restructuring of kernel code which is
undesirable.

An additional place where taking xTickCountMutex was needed was in
vApplicationSleep function. Not taking xTickCountMutex resulted in
other CPU sometimes possibly advancing tick count while light sleep
entry/exit was happening. Taking xTickCountMutex in addition to
xTaskQueueMutex has shown a problem that in different code paths,
these two spinlocks could be taken in different order, leading to
(unlikely, but possible) deadlocks.

6 years agowifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the...
zhangyanjiao [Fri, 16 Nov 2018 12:18:05 +0000 (20:18 +0800)]
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf againi. (backport v3.1)

6 years agocomponents/bt: Some errors in comment
baohongde [Fri, 16 Nov 2018 03:27:22 +0000 (11:27 +0800)]
components/bt: Some errors in comment

6 years agoMerge branch 'bugfix/app_template_build_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 15 Nov 2018 12:14:45 +0000 (20:14 +0800)]
Merge branch 'bugfix/app_template_build_v3.1' into 'release/v3.1'

esp-idf-template app: some fixes for the updated template app (backport v3.1)

See merge request idf/esp-idf!3701

6 years agoMerge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 15 Nov 2018 02:32:06 +0000 (10:32 +0800)]
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.1' into 'release/v3.1'

fix the crash caused by sys_mbox_free (backport v3.1)

See merge request idf/esp-idf!3620

6 years agotools: fix cmake build script for sdkconfig test
Mahavir Jain [Wed, 14 Nov 2018 12:27:15 +0000 (17:57 +0530)]
tools: fix cmake build script for sdkconfig test

6 years agocmake: fix the creation dummy main to avoid rebuilding
Anton Maklakov [Wed, 14 Nov 2018 11:45:14 +0000 (19:45 +0800)]
cmake: fix the creation dummy main to avoid rebuilding

6 years agoci: If there is no sdkconfig, we have to generate one
Anton Maklakov [Wed, 14 Nov 2018 06:13:28 +0000 (14:13 +0800)]
ci: If there is no sdkconfig, we have to generate one

6 years agoMerge branch 'bugfix/ethernetif_memory_leak_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 14 Nov 2018 06:23:43 +0000 (14:23 +0800)]
Merge branch 'bugfix/ethernetif_memory_leak_v3.1' into 'release/v3.1'

fix potential ethernet memory leak(backport v3.1)

See merge request idf/esp-idf!3688

6 years agoFix two bugs when disable bluetooth controller
Tian Hao [Tue, 13 Nov 2018 09:29:44 +0000 (17:29 +0800)]
Fix two bugs when disable bluetooth controller

1. Fix the bug that disable controller suddenly cause crash when ble is working
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.

6 years agoethernetif: fix potential memory leak
morris [Tue, 6 Nov 2018 11:10:01 +0000 (19:10 +0800)]
ethernetif: fix potential memory leak

1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.

6 years agoMerge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 09:34:55 +0000 (17:34 +0800)]
Merge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'

test: fix bug of scan interval and window (backport v3.1)

See merge request idf/esp-idf!3668

6 years agoMerge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'releas...
Jiang Jiang Jian [Mon, 12 Nov 2018 09:00:14 +0000 (17:00 +0800)]
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'release/v3.1'

esp32: do not try to load PHY data if fail to open NVS (backport v3.1)

See merge request idf/esp-idf!3649

6 years agoMerge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:30:44 +0000 (15:30 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'

Fixed mdns crashes on network changes (backport v3.1)

See merge request idf/esp-idf!3579

6 years agoMerge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 07:29:30 +0000 (15:29 +0800)]
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'

components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backport 3.1)

See merge request idf/esp-idf!3643

6 years agoesp32: do not try to load PHY data if fail to open NVS
XiaXiaotian [Mon, 22 Oct 2018 12:46:14 +0000 (20:46 +0800)]
esp32: do not try to load PHY data if fail to open NVS

6 years agoMerge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 12 Nov 2018 03:16:51 +0000 (11:16 +0800)]
Merge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'

test: use simplified env to test iperf cases (backport v3.1)

See merge request idf/esp-idf!3568

6 years agolwip: fix crash caused by sys_mbox_free
Liu Zhi Fu [Tue, 30 Oct 2018 14:20:05 +0000 (22:20 +0800)]
lwip: fix crash caused by sys_mbox_free

Fix lwip crashed bug caused by sys_mbox_free()

6 years agotest: fix bug of scan interval and window
chensheng [Thu, 1 Nov 2018 03:54:52 +0000 (11:54 +0800)]
test: fix bug of scan interval and window

6 years agocomponents/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null...
baohongde [Tue, 6 Nov 2018 09:29:06 +0000 (17:29 +0800)]
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backprot 3.1)

1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off

6 years agoMerge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release...
He Yin Ling [Fri, 9 Nov 2018 03:22:05 +0000 (11:22 +0800)]
Merge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release/v3.1'

test: bugfix create service check message change for v3.1

See merge request idf/esp-idf!3664

6 years agoMerge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:27:21 +0000 (17:27 +0800)]
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release/v3.1'

component/bt: Add profile descriptor list for SPP(backport 3.1)

See merge request idf/esp-idf!3602

6 years agoMerge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release...
Jiang Jiang Jian [Thu, 8 Nov 2018 09:24:53 +0000 (17:24 +0800)]
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'

components/bt: Fix the different size of name buffer allocation size(backport 3.1)

See merge request idf/esp-idf!3588

6 years agotest: bugfix create service check message change for v3.1
chensheng [Thu, 8 Nov 2018 03:23:59 +0000 (11:23 +0800)]
test: bugfix create service check message change for v3.1

6 years agoMerge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'releas...
Jiang Jiang Jian [Tue, 6 Nov 2018 09:12:39 +0000 (17:12 +0800)]
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'release/v3.1'

bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3614

6 years agocomponent/bt: bugfix of two issues of sniff mode in classic bluetooth
wangmengyang [Tue, 6 Nov 2018 04:02:18 +0000 (12:02 +0800)]
component/bt: bugfix of two issues of sniff mode in classic bluetooth

1. resolve the error in calculating sniff anchor point that result in connection supervision timeout
2. resolve the issue of user case that requires sniff attempt is larger than 0xff

6 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release...
Jiang Jiang Jian [Tue, 6 Nov 2018 03:57:04 +0000 (11:57 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'

bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)

See merge request idf/esp-idf!3600

6 years agoMerge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into ...
Jiang Jiang Jian [Mon, 5 Nov 2018 03:02:18 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into 'release/v3.1'

component/bt:  add static passkey and accept specified sec auth (backport v3.1)

See merge request idf/esp-idf!3559

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:46 +0000 (15:36 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'

esp32: fix some wifi bugs (backport v3.1)

See merge request idf/esp-idf!3540

6 years agoMerge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 2 Nov 2018 07:36:12 +0000 (15:36 +0800)]
Merge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'

esp32: correct a mistake about secondary channel of CSI in wifi.rst (backport v3.1)

See merge request idf/esp-idf!3406

6 years agoMerge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Thu, 1 Nov 2018 14:15:04 +0000 (22:15 +0800)]
Merge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'

psram: fix psram eid (backport v3.1)

See merge request idf/esp-idf!3467

6 years agoMerge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into...
Ivan Grokhotkov [Thu, 1 Nov 2018 14:14:52 +0000 (22:14 +0800)]
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into 'release/v3.1'

driver(interrupt): fix the issue that interrupt might be allocated and freed on different core for release/v3.1

See merge request idf/esp-idf!3436

6 years agoMerge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1' v3.1.1
Ivan Grokhotkov [Thu, 1 Nov 2018 08:40:26 +0000 (16:40 +0800)]
Merge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1'

bootloader: verify that loaded image does not overlap bootloader code (backport v3.1)

See merge request idf/esp-idf!3526

6 years agobootloader: Fix crash enabling flash encryption
Angus Gratton [Wed, 26 Sep 2018 07:48:50 +0000 (17:48 +1000)]
bootloader: Fix crash enabling flash encryption

Regression in 9c715d7946a9595bad53307cf0a141d4226d0a5a

6 years agobootloader: keep bootloader_common code to retention region
Mahavir Jain [Fri, 24 Aug 2018 12:26:38 +0000 (17:56 +0530)]
bootloader: keep bootloader_common code to retention region

It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agocomponent/bt: Add profile descriptor list for SPP(backport 3.1)
baohongde [Thu, 1 Nov 2018 02:36:11 +0000 (10:36 +0800)]
component/bt: Add profile descriptor list for SPP(backport 3.1)

A cherry-pick of MR !2691

6 years agocomponent/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP...
wangmengyang [Wed, 31 Oct 2018 08:22:12 +0000 (16:22 +0800)]
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM

6 years agoMerge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'
Angus Gratton [Wed, 31 Oct 2018 05:21:42 +0000 (13:21 +0800)]
Merge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'

Fix cmake example build failures, gcov (backport 3.1)

See merge request idf/esp-idf!3326

6 years agocomponents/bt: Fix the different size of name buffer allocation size(backport 3.1)
baohongde [Wed, 31 Oct 2018 02:56:16 +0000 (10:56 +0800)]
components/bt: Fix the different size of name buffer allocation size(backport 3.1)

A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615

6 years agomdns: fixed crashes on network change (not properly locked sending packets to queue...
David Cermak [Mon, 22 Oct 2018 14:45:42 +0000 (16:45 +0200)]
mdns: fixed crashes on network change (not properly locked sending packets to queue from timer task), backport 3.1

6 years agoexamples: Copy ca_cert.pem into both example project dirs
Angus Gratton [Wed, 19 Sep 2018 01:25:24 +0000 (11:25 +1000)]
examples: Copy ca_cert.pem into both example project dirs

Keeps projects all-in-one under a single directory.

6 years agocmake: Fix some failing example builds, fix gcov
Angus Gratton [Tue, 18 Sep 2018 04:23:56 +0000 (14:23 +1000)]
cmake: Fix some failing example builds, fix gcov

6 years agoci: Split build_examples jobs into make & cmake
Angus Gratton [Thu, 13 Sep 2018 04:32:41 +0000 (14:32 +1000)]
ci: Split build_examples jobs into make & cmake

Fix problem where failures in make were being ignored.

6 years agoMerge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 29 Oct 2018 09:21:50 +0000 (17:21 +0800)]
Merge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'

nvs_flash: Update documentation at different places to indicate NVS encryotion is supported

See merge request idf/esp-idf!3479

6 years agonvs_flash: Update documentation at different places to indicate NVS encryption is...
Sagar Bijwe [Thu, 4 Oct 2018 07:36:23 +0000 (13:06 +0530)]
nvs_flash: Update documentation at different places to indicate NVS encryption is supported

6 years agoMerge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 28 Oct 2018 13:58:06 +0000 (21:58 +0800)]
Merge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'

CI: only create required jobs in pipeline (backport v3.1)

See merge request idf/esp-idf!3565

6 years agotest: use simplified env to test iperf cases
He Yin Ling [Wed, 24 Oct 2018 05:34:05 +0000 (13:34 +0800)]
test: use simplified env to test iperf cases

6 years agoCI: only create required jobs when use bot to trigger test:
He Yin Ling [Sat, 29 Sep 2018 06:51:43 +0000 (14:51 +0800)]
CI: only create required jobs when use bot to trigger test:

Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.

6 years agoComponent/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
zhiweijian [Thu, 11 Oct 2018 03:25:45 +0000 (11:25 +0800)]
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed

6 years agobootloader: verify that loaded image does not overlap bootloader code
Ivan Grokhotkov [Sat, 29 Sep 2018 09:29:23 +0000 (17:29 +0800)]
bootloader: verify that loaded image does not overlap bootloader code

Fixes CVE-2018-18558

6 years agoComponent/bt: add only accept sepecified Authentication
zhiweijian [Thu, 27 Sep 2018 08:22:31 +0000 (16:22 +0800)]
Component/bt: add only accept sepecified Authentication

6 years agoComponent/bt: add set default passkey function
zhiweijian [Wed, 29 Aug 2018 04:03:55 +0000 (12:03 +0800)]
Component/bt: add set default passkey function

6 years agoMerge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1' v3.1.1-rc2
Angus Gratton [Fri, 26 Oct 2018 00:40:51 +0000 (08:40 +0800)]
Merge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1'

Secure Boot & Flash encryption: Support 3/4 Coding Scheme

See merge request idf/esp-idf!3510

6 years agoMerge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 25 Oct 2018 10:50:44 +0000 (18:50 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'

component/bt: fix remove bond list failed (backport v3.1)

See merge request idf/esp-idf!3516

6 years agocomponent/bt: fix remove bond list failed
zwj [Fri, 12 Oct 2018 02:48:46 +0000 (10:48 +0800)]
component/bt: fix remove bond list failed

6 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Mon, 22 Oct 2018 15:02:40 +0000 (23:02 +0800)]
esp32: fix some wifi bugs

Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug

6 years agoSecure Boot & Flash encryption: Support 3/4 Coding Scheme
Angus Gratton [Tue, 2 Oct 2018 05:15:32 +0000 (15:15 +1000)]
Secure Boot & Flash encryption: Support 3/4 Coding Scheme

Includes esptool update to v2.6-beta1

6 years agoMerge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 24 Oct 2018 23:20:12 +0000 (07:20 +0800)]
Merge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'

CI: Support switching between various versions of Python (backport v3.1)

See merge request idf/esp-idf!3534

6 years agoMerge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 22 Oct 2018 13:20:20 +0000 (21:20 +0800)]
Merge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'

esp32: fix wifi memory leak (backport v3.1)

See merge request idf/esp-idf!3524

6 years agoCI: Support switching between various versions of Python
Roland Dobai [Tue, 25 Sep 2018 12:43:07 +0000 (14:43 +0200)]
CI: Support switching between various versions of Python

6 years agoesp32: fix wifi memory leak
Liu Zhi Fu [Sun, 21 Oct 2018 12:43:48 +0000 (20:43 +0800)]
esp32: fix wifi memory leak

Fix a WiFi memory leak bug

6 years agoesp32: correct a mistake about secondary channel of CSI in wifi.rst
XiaXiaotian [Sat, 29 Sep 2018 07:32:09 +0000 (15:32 +0800)]
esp32: correct a mistake about secondary channel of CSI in wifi.rst

6 years agoMerge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 18 Oct 2018 13:25:33 +0000 (21:25 +0800)]
Merge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'

coexist : fix coexist bugs related to coex hw blocking

See merge request idf/esp-idf!3415

6 years agocoexist : fix coexist bugs related to coex hw blocking
Tian Hao [Sun, 30 Sep 2018 09:26:04 +0000 (17:26 +0800)]
coexist : fix coexist bugs related to coex hw blocking

1. fix some bugs by previous coex hw blocking bugfix,
   such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
   is working.
3. update libcoexist version to v1.1.0

6 years agoMerge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Merge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'

Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

See merge request idf/esp-idf!3494

6 years agoBugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
Liu Zhi Fu [Wed, 17 Oct 2018 09:30:46 +0000 (17:30 +0800)]
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)

6 years agoMerge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Tue, 16 Oct 2018 02:58:24 +0000 (10:58 +0800)]
Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'

app_update: fix intermittent failure with firmware updates (backport v3.1)

See merge request idf/esp-idf!3419

6 years agoheap: Fix heap metadata test to account for background memory allocations
Angus Gratton [Mon, 30 Jul 2018 01:41:30 +0000 (11:41 +1000)]
heap: Fix heap metadata test to account for background memory allocations

6 years agobugfix(psram): fix psram driver
chenjianqiang [Thu, 27 Sep 2018 09:00:48 +0000 (17:00 +0800)]
bugfix(psram): fix psram driver

1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1

6 years agofeature(psram): add support for 64MBit psram of 1.8v and 3.3v.
Wangjialin [Wed, 4 Jul 2018 03:43:30 +0000 (11:43 +0800)]
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.

1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.

For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.

EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46

6 years agoMerge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 11 Oct 2018 03:42:15 +0000 (11:42 +0800)]
Merge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'

esp32: several fixes about BA session setup (backport v3.1)

See merge request idf/esp-idf!3456

6 years agodriver(interrupt): fix the issue that interrupt might be allocated and freed on diffe...
kooho [Thu, 20 Sep 2018 04:13:43 +0000 (12:13 +0800)]
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1

6 years agoMerge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'
Angus Gratton [Wed, 10 Oct 2018 07:01:13 +0000 (15:01 +0800)]
Merge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'

Multiple v3.1 backports

See merge request idf/esp-idf!3378

6 years agoesp32: several fixes about BA session setup
Liu Zhi Fu [Wed, 10 Oct 2018 06:04:06 +0000 (14:04 +0800)]
esp32: several fixes about BA session setup

1. Fix the bug that ESP32 will reject the retry AddBA request frame
   if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID

6 years agoMerge branch 'fix/spi_master_cmd_addr_lsbfirst_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 9 Oct 2018 03:46:41 +0000 (11:46 +0800)]
Merge branch 'fix/spi_master_cmd_addr_lsbfirst_v3.1' into 'release/v3.1'

spi_master: fix the command and address field when LSB_FIRST enabled (Backport v3.1)

See merge request idf/esp-idf!3446

6 years agoMerge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report_v3...
Jiang Jiang Jian [Mon, 8 Oct 2018 13:35:02 +0000 (21:35 +0800)]
Merge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report_v3.1' into 'release/v3.1'

Bugfix of no disconnect event report if no correct status code report( Backport v3.1)

See merge request idf/esp-idf!3386

6 years agotest: modify the command/address test a bit to test the LSBFIRST feature
michael [Wed, 3 Oct 2018 16:16:21 +0000 (00:16 +0800)]
test: modify the command/address test a bit to test the LSBFIRST feature

6 years agospi: move gpio direction config to common func for coinsistence
michael [Tue, 2 Oct 2018 09:09:02 +0000 (17:09 +0800)]
spi: move gpio direction config to common func for coinsistence

(MINOR CHANGE)

6 years agospi_master: fix the command and address field when LSB_FIRST enabled
Michael (XIAO Xufeng) [Fri, 28 Sep 2018 03:36:14 +0000 (11:36 +0800)]
spi_master: fix the command and address field when LSB_FIRST enabled

Resolves https://github.com/espressif/esp-idf/issues/2444.

6 years agoMerge branch 'feature/nvs_encr_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 8 Oct 2018 08:20:28 +0000 (16:20 +0800)]
Merge branch 'feature/nvs_encr_v3.1' into 'release/v3.1'

nvs_flash: Add support for nvs encryption

See merge request idf/esp-idf!3434

6 years agoapp_update: remove unrequired static attribute from mmap handle
Mahavir Jain [Sat, 29 Sep 2018 05:12:40 +0000 (10:42 +0530)]
app_update: remove unrequired static attribute from mmap handle

6 years agoapp_update: fix intermittent failure with firmware updates
Mahavir Jain [Fri, 28 Sep 2018 10:29:52 +0000 (15:59 +0530)]
app_update: fix intermittent failure with firmware updates

Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.

Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.

In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.

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

6 years agoMerge branch 'bugfix/disable_coding_scheme_security_features_v3.1' into 'release...
Angus Gratton [Sun, 7 Oct 2018 23:06:40 +0000 (07:06 +0800)]
Merge branch 'bugfix/disable_coding_scheme_security_features_v3.1' into 'release/v3.1'

bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme (v3.1)

See merge request idf/esp-idf!3421

6 years agonvs_flash: Add support for nvs encryption
Sagar Bijwe [Mon, 2 Jul 2018 11:10:43 +0000 (16:40 +0530)]
nvs_flash: Add support for nvs encryption

6 years agoesptool: Update to v2.5.1
Angus Gratton [Thu, 27 Sep 2018 00:12:00 +0000 (10:12 +1000)]
esptool: Update to v2.5.1

Release notes: https://github.com/espressif/esptool/releases/tag/v2.5.1

Needed to no longer burn keys if 3/4 Coding Scheme is enabled.

6 years agobootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
Angus Gratton [Wed, 26 Sep 2018 06:57:44 +0000 (16:57 +1000)]
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme

6 years agoMerge branch 'bugfix/bootloader_gen_secure_boot_digest_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 3 Oct 2018 03:38:00 +0000 (11:38 +0800)]
Merge branch 'bugfix/bootloader_gen_secure_boot_digest_v3.1' into 'release/v3.1'

bootloader: Fix secure boot digest generation for image length where (len%128 < 32) (backport v3.1)

See merge request idf/esp-idf!3411

6 years agoMerge branch 'fix/sdio_slave_reset_ret_queue_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 3 Oct 2018 01:24:08 +0000 (09:24 +0800)]
Merge branch 'fix/sdio_slave_reset_ret_queue_v3.1' into 'release/v3.1'

sdio_slave: fix the ret_queue crash issue when being reset by the master (Backport v3.1)

See merge request idf/esp-idf!3394

6 years agoMerge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone_v3.1' into 'release...
Jiang Jiang Jian [Sun, 30 Sep 2018 06:39:09 +0000 (14:39 +0800)]
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone_v3.1' into 'release/v3.1'

component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)

See merge request idf/esp-idf!3396