Jakob Hasse
fe7ebf75a0
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
Closes FCS-533
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
* nvs host unit tests now clean up after each
test case
nvs_flash: fixed deinit other partition's handles
* When deinitializing or erasing a partition,
nvs used to close all handles instead of only
the current partition's handles.
This is fixed now
* Added a unit test for that case
2021-01-07 11:32:29 +08:00
Morozov-5F
cca370df47
secure boot v2: Fix crash if signature verification fails in app
...
sha_handle is "finished" when verify_secure_boot_signature() returns and
should be nulled out.
Alternative version of fix submitted in https://github.com/espressif/esp-idf/pull/6210
Closes https://github.com/espressif/esp-idf/pull/6210
Signed-off-by: Angus Gratton <angus@espressif.com>
2020-12-31 14:34:25 +05:30
Supreet Deshpande
801bbcc7ad
Secure boot v2: Fixes the issue of passing the flash calculated digest for ota verification.
2020-12-24 14:25:28 +05:30
Supreet Deshpande
2427847229
Secure Boot v2: Fix the double padding of the image length during flash encryption
...
Fixes https://github.com/espressif/esp-idf/issues/6236
2020-12-24 14:22:08 +05:30
Jiang Jiang Jian
64c2f8605a
Merge branch 'nimble/fix_misc_coverity_issue_v4.1' into 'release/v4.1'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.1)
See merge request espressif/esp-idf!11391
2020-12-21 12:07:37 +08:00
Jiang Jiang Jian
6710148748
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_1' into 'release/v4.1'
...
Fix crash cause by calling a2dp deinit when connected [backport v4.1]
See merge request espressif/esp-idf!11690
2020-12-21 12:05:40 +08:00
Jiang Jiang Jian
be2d72b660
Merge branch 'bugfix/blufi_config_potential_double_free_v4.1' into 'release/v4.1'
...
Bugfix/blufi config potential double free v4.1
See merge request espressif/esp-idf!11164
2020-12-21 12:05:33 +08:00
weitianhua
aee941a087
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:23:46 +08:00
Jiang Jiang Jian
73f601554b
Merge branch 'bugfix/eap_client_crash_4.1' into 'release/v4.1'
...
wpa_supplicant: Fix null pointer dereference if eap init failed
See merge request espressif/esp-idf!11642
2020-12-20 15:58:29 +08:00
xueyunfei
5f3f5f15b2
fix bug for tcp recv assert
2020-12-18 14:00:48 +00:00
wangcheng
b5e93053e5
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-18 12:25:19 +00:00
wangcheng
c6d2c43661
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-18 12:25:19 +00:00
zhangyanjiao
20dc46ca49
Revert "esp_wifi: optimize WiFi TX performance"
...
This reverts commit 5de5eb5676
.
2020-12-18 08:38:01 +00:00
He Yin Ling
592645f0c0
Merge branch 'bugfix/ci_py2_warnings_fix_v4.1' into 'release/v4.1'
...
ci: Python 2 warnings fix (v4.1)
See merge request espressif/esp-idf!11618
2020-12-18 16:33:44 +08:00
Artem Godlevskyi
a582fbdfdc
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5825
2020-12-17 07:20:35 +00:00
Prasad Alatkar
30c89dc11d
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-12-17 07:20:35 +00:00
kapil.gupta
45370f4fae
wpa_supplicant: Fix null pointer dereference if eap init failed
2020-12-16 11:57:08 +05:30
Angus Gratton
5b3734a04a
efuse: Add ESP32 V3 'disable Download Mode' functionality
2020-12-16 17:08:04 +11:00
Anton Maklakov
b766dc00eb
tools: Redirect some warnings to stderr
2020-12-15 13:27:00 +07:00
Angus Gratton
fca2d78459
efuse: Add new esp_efuse_read_field_bit() convenience function
2020-12-15 15:53:26 +11:00
Angus Gratton
1ef020f0a6
efuse: Add new esp_efuse_write_field_bit() convenience function
2020-12-15 15:53:26 +11:00
Angus Gratton
9b31bd54da
efuse: Don't need to burn WR_CRYPT_CNT if CRYPT_CNT is already max
...
Reduces write cycles, and useful on ESP32 ECO3 as UART_DIS_DL is protected by
the same efuse.
Also fixes accidental macro definition introduced in 7635dce502
2020-12-15 15:53:26 +11:00
Angus Gratton
c9307cb16e
secure boot: Fix regression enabling secure boot v2
...
Regression in 18b4ae2a65
- write-protecting BLK2 caused write
registers to be cleared, so key digest was all zeroes.
2020-12-15 15:53:26 +11:00
Ivan Grokhotkov
77be96fd87
Merge branch 'bugfix/log-error-run-esptool_v4.1' into 'release/v4.1'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream (v4.1)
See merge request espressif/esp-idf!10517
2020-12-11 16:55:09 +08:00
Krzysztof Budzynski
6daf14a031
Merge branch 'feature/python2-deprecation-warn_v4.1' into 'release/v4.1'
...
Tools: Add Python 2 deprecation warning (v4.1)
See merge request espressif/esp-idf!11527
2020-12-11 11:28:56 +08:00
Xia Xiaotian
649d834c16
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size
...
close https://github.com/espressif/esp-idf/issues/5970
2020-12-10 17:07:49 +08:00
daiziyan
026accbb91
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 14:41:33 +01:00
martin.gano
f75acede24
Tools: add Python 2 deprecation warning
2020-12-09 14:41:33 +01:00
ChenJianxing
f5cee05010
esp_wifi: revert wifi iram optimization(v4.1)
2020-12-08 14:03:20 +08:00
xiehang
1ae727bbc2
esp_wifi: Always register pmf tx/rx routines
...
Fixes the issue when PMF packets are not sent after mode change.
2020-12-03 15:31:30 +08:00
Jiang Jiang Jian
369222f811
Merge branch 'feature/btdm_support_some_ble_new_features_v4.1' into 'release/v4.1'
...
components/bt: backport some new features for Bluedroid BLE(release v4.1)
See merge request espressif/esp-idf!11441
2020-12-03 14:38:53 +08:00
xiewenxiang
1273982045
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:20:03 +08:00
xiewenxiang
5da4c0f125
component/bt: refactor ble random address setting
2020-12-02 20:19:54 +08:00
XieWenxiang
8e08156141
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 20:19:45 +08:00
XieWenxiang
a6ea010898
component/bt: support BLE Authorization
2020-12-02 20:19:35 +08:00
xiewenxiang
217e90ec5c
component/bt: fix incorrect encryption flag setting
2020-12-02 20:19:21 +08:00
wangcheng
ee4fb9b182
components/bt: backport requires commit to release v4.1
2020-12-01 19:36:39 +08:00
Angus Gratton
611160e90e
Merge branch 'bugfix/secure_boot_v2_manual_enablement_v4.1' into 'release/v4.1'
...
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2. (v4.1)
See merge request espressif/esp-idf!11229
2020-11-24 15:46:12 +08:00
Angus Gratton
bb3bec200c
Merge branch 'bugfix/coredump_memregion_size_v4.1' into 'release/v4.1'
...
coredump: Fixes size of memory region used by espcoredump.py (backport v4.1)
See merge request espressif/esp-idf!8976
2020-11-24 13:18:51 +08:00
wangcheng
87669b23da
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:45:36 +08:00
wangcheng
f7e870e45d
component/bt: Fix a potential double free error.
2020-11-24 10:45:36 +08:00
wangcheng
7765b07898
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:45:36 +08:00
Michael (XIAO Xufeng)
f59d1dfab9
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy_v4.1' into 'release/v4.1'
...
freemodbus: fix event processing failure after destroy (backport v4.1)
See merge request espressif/esp-idf!9326
2020-11-23 14:33:47 +08:00
Michael (XIAO Xufeng)
a4c72cfa28
Merge branch 'bugfix/fix_iram_handler_call_inline_func' into 'release/v4.1'
...
Bugfix/fix iram handler call inline function uart_ll_is_tx_idle in flash (v4.1)
See merge request espressif/esp-idf!9951
2020-11-23 12:16:57 +08:00
Alex Lisitsyn
40636d6a49
uart: fix uart_ll_is_tx_idle to inline into handler correctly when opt for size
...
Closes https://github.com/espressif/esp-idf/issues/5694
2020-11-23 12:16:57 +08:00
aleks
62c44408c2
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2020-11-23 04:08:03 +00:00
Jiang Jiang Jian
e87d95f895
Merge branch 'bugfix/backport_master_to_v4.1' into 'release/v4.1'
...
Bugfix/backport master to v4.1
See merge request espressif/esp-idf!11316
2020-11-23 00:44:21 +08:00
wangcheng
6956d43f29
components/bt: Point the btlib to the latest branch.
2020-11-22 23:26:22 +08:00
Jiang Jiang Jian
d09d5479a8
Merge branch 'feature/light_sleep_reject_v4.1' into 'release/v4.1'
...
sleep: enable sleep reject when entering light sleep (backport v4.1)
See merge request espressif/esp-idf!9500
2020-11-22 20:48:39 +08:00
baohongde
f69fe10e7e
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-11-22 20:37:10 +08:00