Ivan Grokhotkov
acdc7b0511
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
2018-11-01 22:14:52 +08:00
Ivan Grokhotkov
3b92e85b30
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
2018-11-01 16:40:26 +08:00
Angus Gratton
7d6b82673f
bootloader: Fix crash enabling flash encryption
...
Regression in 9c715d7946
2018-11-01 14:14:18 +08:00
Mahavir Jain
12e5f25a1c
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>
2018-11-01 14:14:00 +08:00
Angus Gratton
d09342957d
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
2018-10-31 13:21:42 +08:00
Angus Gratton
9c41962e68
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-10-30 10:59:39 +11:00
Angus Gratton
a7372d5828
cmake: Fix some failing example builds, fix gcov
2018-10-30 10:59:39 +11:00
Angus Gratton
3850f82259
ci: Split build_examples jobs into make & cmake
...
Fix problem where failures in make were being ignored.
2018-10-30 10:59:39 +11:00
Angus Gratton
3f64b39ad5
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
2018-10-29 17:21:50 +08:00
Sagar Bijwe
536549253d
nvs_flash: Update documentation at different places to indicate NVS encryption is supported
2018-10-29 06:57:28 +00:00
Jiang Jiang Jian
d1d2ce8c28
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
2018-10-28 21:58:06 +08:00
He Yin Ling
97610cfccf
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.
2018-10-26 19:45:24 +08:00
Ivan Grokhotkov
9ec43e1721
bootloader: verify that loaded image does not overlap bootloader code
...
Fixes CVE-2018-18558
2018-10-26 12:44:58 +08:00
Angus Gratton
4eb20f4d99
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
2018-10-26 08:40:51 +08:00
Jiang Jiang Jian
55d7900079
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
2018-10-25 18:50:44 +08:00
zwj
4b5cf90a95
component/bt: fix remove bond list failed
2018-10-25 05:32:01 +00:00
Angus Gratton
67ad5852f6
Secure Boot & Flash encryption: Support 3/4 Coding Scheme
...
Includes esptool update to v2.6-beta1
2018-10-24 23:21:17 +00:00
Angus Gratton
5641ff1b42
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
2018-10-25 07:20:12 +08:00
Jiang Jiang Jian
7778b9d83a
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
2018-10-22 21:20:20 +08:00
Roland Dobai
afeaf64624
CI: Support switching between various versions of Python
2018-10-22 12:56:07 +02:00
Liu Zhi Fu
6159788b97
esp32: fix wifi memory leak
...
Fix a WiFi memory leak bug
2018-10-21 20:43:48 +08:00
Jiang Jiang Jian
ccddd3bc01
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
2018-10-18 21:25:33 +08:00
Tian Hao
e982c25b40
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
2018-10-17 18:30:39 +08:00
Jiang Jiang Jian
7707b9fc91
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
2018-10-17 17:30:46 +08:00
Liu Zhi Fu
f97e2d3bde
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
2018-10-17 17:30:46 +08:00
Ivan Grokhotkov
93f04b87b2
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
2018-10-16 10:58:24 +08:00
Angus Gratton
d444469cae
heap: Fix heap metadata test to account for background memory allocations
2018-10-12 18:22:07 +11:00
Jiang Jiang Jian
3cf2f09469
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
2018-10-11 11:42:15 +08:00
kooho
fb30315d01
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1
2018-10-10 19:22:34 +08:00
Angus Gratton
027e081622
Merge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'
...
Multiple v3.1 backports
See merge request idf/esp-idf!3378
2018-10-10 15:01:13 +08:00
Liu Zhi Fu
84b4916fb8
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
2018-10-10 14:04:29 +08:00
Angus Gratton
27023a77e7
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
2018-10-09 11:46:41 +08:00
Jiang Jiang Jian
1a3db605c2
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
2018-10-08 21:35:02 +08:00
michael
712b9374af
test: modify the command/address test a bit to test the LSBFIRST feature
2018-10-08 19:19:47 +08:00
michael
06321a5241
spi: move gpio direction config to common func for coinsistence
...
(MINOR CHANGE)
2018-10-08 19:19:47 +08:00
Michael (XIAO Xufeng)
b9f10a71ea
spi_master: fix the command and address field when LSB_FIRST enabled
...
Resolves https://github.com/espressif/esp-idf/issues/2444 .
2018-10-08 19:19:31 +08:00
Angus Gratton
97219eeb31
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
2018-10-08 16:20:28 +08:00
Mahavir Jain
a2f2cd3b41
app_update: remove unrequired static attribute from mmap handle
2018-10-08 03:18:37 +00:00
Mahavir Jain
bbad487deb
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
2018-10-08 03:18:37 +00:00
Angus Gratton
7930cfdba9
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
2018-10-08 07:06:40 +08:00
Sagar Bijwe
68a9d1168f
nvs_flash: Add support for nvs encryption
2018-10-04 19:25:12 +05:30
Angus Gratton
1755fba8dc
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.
2018-10-04 16:51:30 +10:00
Angus Gratton
d7615df616
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
2018-10-04 16:51:30 +10:00
Angus Gratton
541e02a7e3
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
2018-10-03 11:38:00 +08:00
Angus Gratton
d899bf029d
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
2018-10-03 09:24:08 +08:00
Jiang Jiang Jian
f11ac037c4
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
2018-09-30 14:39:09 +08:00
Jiang Jiang Jian
0846615e98
Merge branch 'bugfix/btdm_controller_stuck_on_waking_up_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_controller_stuck_on_waking_up_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3397
2018-09-30 14:26:04 +08:00
Angus Gratton
f16b3754fb
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)
2018-09-30 00:45:07 +10:00
Deng Xin
862b7b22b5
Bugfix of no disconnect event report if no correct status code report
...
Problem Description
The reporduce steps are as follows:
1.This issue can be reproduced with 4 ESP32 devices, 2 for stations (STA1, STA2) and 2 for soft-AP (AP1, AP2)
2.Configure AP1/AP2 to the same SSID (ssid_xxx)
3.The max allowed WiFi connections of AP1 is configured to 1 and STA1 connects to AP1
4.The AP1 is close to STA2 while AP2 is far away from STA2 (but the STA2 can find the AP2 via scan)
5.STA2 connects ssid_xxx with all scan method
6.The problem will happen on STA2 because it fails to connec AP1 and never connects AP2
Phenmenon
STA fail to connect after send auth or assoc with a wrong status code, but no disconnect event report and can not connect the next one in the envrionment
Root Cause
Because there are some same ssid APs in the evnrionment, when do all channel scan, it will collect all the matched AP in rc list, because rc list is not empty, so it would send disconnect event, however, we didn't do other step such as connect to other one
VNC MR 575
closes https://github.com/espressif/esp-idf/issues/2323
2018-09-29 16:18:26 +08:00
wangmengyang
e353d09630
component/bt: bugfix that hci down stream datapath is unblocked too early on waking up from sleep
...
This issue can cause the controller to stuck after sleep interrupt happens and clock interrupt enabled
2018-09-28 14:31:49 +08:00