Jiang Jiang Jian
683d0f4edb
Merge branch 'nimble/fix_misc_coverity_issue_v4.2' into 'release/v4.2'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.2)
See merge request espressif/esp-idf!11390
2020-12-17 16:53:46 +08:00
Wei Tian Hua
c1d5ad61b5
Free ACL RX Buf in EM when disconnection [backport v4.2]
2020-12-17 16:47:43 +08:00
Artem Godlevskyi
d315bf722f
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:21:02 +00:00
Prasad Alatkar
210bd3787d
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:21:02 +00:00
Marius Vikhammer
dceb9b4a22
esp_crt_bundle: add additional unit tests
...
Add unit test for:
* Trusted certificate with weak hash algorithm signature
* Certificate with wrong signature
Merges https://github.com/espressif/esp-idf/pull/6117
2020-12-17 02:41:59 +00:00
Jeff Epler
a1d5fcfece
esp_crt_bundle: Allow verify_callback to correct BADCERT_BAD_MD
2020-12-17 02:41:59 +00:00
Jiang Jiang Jian
211a2a9957
Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.2' into 'release/v4.2'
...
lw-ip:fix bug for tcp recv assert(backport 4.2)
See merge request espressif/esp-idf!11601
2020-12-16 17:31:42 +08:00
David Čermák
6a723ad1e7
Merge branch 'bugfix/lwip_netdb_cpp_guards_v4.2' into 'release/v4.2'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v4.2)
See merge request espressif/esp-idf!11089
2020-12-16 04:13:12 +08:00
Ivan Grokhotkov
a82d0cf9f1
Merge branch 'bugfix/panic_instr_fetch_prohibited_v4.2' into 'release/v4.2'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions (v4.2)
See merge request espressif/esp-idf!10293
2020-12-16 04:09:37 +08:00
David Cermak
e1e481f438
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
2020-12-15 19:01:33 +00:00
David Cermak
faef936581
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
2020-12-15 19:01:33 +00:00
David Čermák
26bca96029
Merge branch 'bugfix/fix_transport_ssl_blocking_v4.2' into 'release/v4.2'
...
transport: fix transport ssl blocking (v4.2)
See merge request espressif/esp-idf!10691
2020-12-16 02:59:03 +08:00
Anton Maklakov
9fb05897db
Merge branch 'bugfix/ci_py2_warnings_fix_v4.2' into 'release/v4.2'
...
ci: Python 2 warnings fix (v4.2)
See merge request espressif/esp-idf!11617
2020-12-15 19:06:33 +08:00
David Čermák
7fcb8ffe0a
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v4.2' into 'release/v4.2'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v4.2)
See merge request espressif/esp-idf!11312
2020-12-15 16:13:03 +08:00
David Čermák
cbd0af7217
Merge branch 'bugfix/mdns_src_addr_cpy_v4.2' into 'release/v4.2'
...
mdns: Fix wrong mdns source address if lwIP IPv6 zoning disabled (v4.2)
See merge request espressif/esp-idf!11310
2020-12-15 16:10:55 +08:00
David Čermák
3b63476e31
Merge branch 'bugfix/backport_v4.2_fix_websocket_issue' into 'release/v4.2'
...
websocket_client: fix some issues for websocket client (backport v4.2)
See merge request espressif/esp-idf!11276
2020-12-15 16:10:12 +08:00
mathiasbredholt
440b5f6e7b
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-12-15 08:09:14 +00:00
xutao
c0e3aa1ef8
transport: fix transport ssl blocking
...
In SSL mode, if `esp_transport_poll_read` function is used, the cache data in mebdtls will be blocked
2020-12-15 08:07:18 +00:00
Anton Maklakov
f5f91a4d05
tools: Redirect some warnings to stderr
2020-12-15 13:16:50 +07:00
Cao Sen Miao
12a0f93f87
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-14 19:33:35 +08:00
xueyunfei
72dbf03b6c
fix bug for tcp recv assert
2020-12-14 17:42:51 +08:00
Scott Shell
fad8a27cf7
Make the UserAgent string in esp-http-client configurable
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6044
2020-12-14 14:02:50 +05:30
Shubham Kulkarni
465d911052
http_auth.c: Fix crash when opaque field is not present in challenge string
...
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-12-14 13:58:29 +05:30
Shubham Kulkarni
b951b5adec
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-12-14 13:58:28 +05:30
kapil.gupta
9fce81f9af
esp_wifi: Update WiFi lib
...
1. Fixes the issue when PMF packets are not sent after mode change.
2. Add support for 802.1x sha256 auth key mode
2020-12-14 14:51:52 +08:00
Jiang Jiang Jian
18a1bc9e7f
Merge branch 'bugfix/decouple_wifi_bt_with_coex_v4.2' into 'release/v4.2'
...
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size(backport v4.2)
See merge request espressif/esp-idf!11542
2020-12-14 12:17:23 +08:00
lly
5f2a5cdcab
ble_mesh: stack: Need uuid when adding device for provisioning
2020-12-11 13:15:54 +00:00
Island
938b9f3098
Merge branch 'feat/ble_mesh_node_local_data_func_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Add node local netkey/appkey func (v4.2)
See merge request espressif/esp-idf!11575
2020-12-11 21:13:57 +08:00
Krzysztof Budzynski
c923c99f09
Merge branch 'feature/python2-deprecation-warn_v4.2' into 'release/v4.2'
...
Tools: Add Python 2 deprecation warning (v4.2)
See merge request espressif/esp-idf!11524
2020-12-11 17:26:06 +08:00
lly
7505e1458f
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-12-11 17:19:02 +08:00
lly
d4575ccfe9
ble_mesh: stack: Add node local netkey/appkey func
2020-12-11 17:18:22 +08:00
Ivan Grokhotkov
71e7f000c4
Merge branch 'bugfix/log-error-run-esptool_v4.2' into 'release/v4.2'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream (v4.2)
See merge request espressif/esp-idf!10516
2020-12-11 16:51:48 +08:00
martin.gano
d0d7c53ee1
Tools: add Python 2 deprecation warning
2020-12-11 09:14:57 +01:00
lly
da8a577408
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-12-10 09:32:10 +00:00
lly
2b2abcd6f9
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-12-10 09:32:10 +00:00
lly
e4451376f3
ble_mesh: stack: Add Kconfig options to make server models optional
2020-12-10 09:32:10 +00:00
lly
2602f26753
ble_mesh: stack: Use Kconfig option to make client models optional
2020-12-10 09:32:10 +00:00
lly
9c8c56f081
ble_mesh: stack: Make some internal static functions inline
2020-12-10 09:32:10 +00:00
lly
f27a151478
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-12-10 09:32:10 +00:00
lly
01d0843c4d
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-12-10 09:32:10 +00:00
Jiang Jiang Jian
22b33adb2f
Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data_for_4.2' into 'release/v4.2'
...
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'(backport 4.2)
See merge request espressif/esp-idf!11241
2020-12-09 22:32:19 +08:00
Jiang Jiang Jian
e287e3ef9d
Merge branch 'bugfix/backport_some_lwip_bugs_1120_v4.2' into 'release/v4.2'
...
lw-ip:backport bugfix lwip for v4.2(backport 4.2)
See merge request espressif/esp-idf!11307
2020-12-09 22:31:32 +08:00
Jiang Jiang Jian
f03d543139
Merge branch 'bugfix/blufi_config_potential_double_free_v4.2' into 'release/v4.2'
...
Bugfix/blufi config potential double free v4.2
See merge request espressif/esp-idf!11163
2020-12-09 22:26:19 +08:00
Xia Xiaotian
5a17387c3d
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2020-12-09 20:42:35 +08:00
Island
f5c45576cf
Merge branch 'feature/btdm_support_some_ble_new_features_v4.2' into 'release/v4.2'
...
components/bt: backport some new features for Bluedroid BLE(release v4.2)
See merge request espressif/esp-idf!11448
2020-12-09 10:28:56 +08:00
negativekelvin
d1a9f9ec74
Fix reserved psram region
...
Closes https://github.com/espressif/esp-idf/pull/5373
Closes https://github.com/espressif/esp-idf/issues/5821
2020-12-08 17:42:36 +11:00
lly
e2cb5ee379
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-12-08 11:51:28 +08:00
lly
0c8cf83131
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-12-08 11:51:23 +08:00
Krzysztof Budzynski
2ef417df5f
Merge branch 'docs/update_rtc_clock_source_description_in_api_references_backport_v4.2' into 'release/v4.2'
...
docs: update the description for RTC Clock Sources for esp32 and esp32s2 (backport/v4.2)
See merge request espressif/esp-idf!11329
2020-12-08 10:47:42 +08:00
Island
c2f08b3e35
Merge branch 'bugfix/ble_mesh_node_deinit_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Persistent storage misc fixes (v4.2)
See merge request espressif/esp-idf!11503
2020-12-08 10:28:46 +08:00
Angus Gratton
49dde3ca91
Merge branch 'bugfix/cast_int_to_size_t_in_cpu_ll_v4.2' into 'release/v4.2'
...
soc: cast int to size_t in cpu_ll (v4.2)
See merge request espressif/esp-idf!11135
2020-12-08 09:10:19 +08:00
Angus Gratton
fb81c46999
Merge branch 'bugfix/esp_idf_version_v4.2' into 'release/v4.2'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v4.2)
See merge request espressif/esp-idf!10899
2020-12-08 09:07:51 +08:00
Angus Gratton
8a47006b72
Merge branch 'bugfix/backport_v4.2_fix_pthread_priority_inheritance' into 'release/v4.2'
...
pthread: fix the priority inheritance (backport v4.2)
See merge request espressif/esp-idf!11260
2020-12-08 09:07:23 +08:00
Angus Gratton
74c7a84c4c
Merge branch 'bugfix/secure_boot_v2_manual_enablement_v4.2' into 'release/v4.2'
...
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2. (v4.2)
See merge request espressif/esp-idf!11228
2020-12-08 09:06:29 +08:00
Angus Gratton
5cc8660a32
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.2' into 'release/v4.2'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.2)
See merge request espressif/esp-idf!11412
2020-12-08 09:06:21 +08:00
lly
922abdc51b
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-12-07 12:05:56 +00:00
Island
59ad2b48ee
Merge branch 'bugfix/fix_node_test_func_not_set_role_v4.2' into 'release/v4.2'
...
ble_mesh: test: Fix node test function not update role flag (v4.2)
See merge request espressif/esp-idf!11040
2020-12-07 19:56:55 +08:00
Island
0c75a3a8e7
Merge branch 'bugfix/ble_mesh_autorsp_description_v4.2' into 'release/v4.2'
...
esp_ble_mesh: api: fixed comment about autoresp (v4.2)
See merge request espressif/esp-idf!10888
2020-12-07 19:56:52 +08:00
Island
c667af2683
Merge branch 'optimize/ble_mesh_gattc_conn_param_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Update connection parameters used by Central (v4.2)
See merge request espressif/esp-idf!11328
2020-12-07 19:55:51 +08:00
Mahavir Jain
305bc4983f
Merge branch 'fix/protocomm_simple_ble_v4.2' into 'release/v4.2'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v4.2)
See merge request espressif/esp-idf!11264
2020-12-07 16:18:07 +08:00
Michael (XIAO Xufeng)
7dc03f16e7
Merge branch 'bugfix/twai_backport_accumulated_fixes_v4.2' into 'release/v4.2'
...
TWAI backport accumulated fixes (backport v4.2)
See merge request espressif/esp-idf!11459
2020-12-07 15:52:04 +08:00
Darian Leung
a0bb9b2f57
TWAI: ISR runs when cache is disabled
...
This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
2020-12-03 19:41:59 +08:00
xiewenxiang
9dbf59af9c
component/bt: support BLE Read Attribute value by UUID
2020-12-03 15:19:44 +08:00
xiewenxiang
4e8d383d01
component/bt: refactor ble random address setting
2020-12-03 15:19:35 +08:00
XieWenxiang
8533c452a1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 15:19:27 +08:00
XieWenxiang
82b65d5de0
component/bt: support BLE Authorization
2020-12-03 15:19:17 +08:00
xiewenxiang
0740090682
component/bt: fix incorrect encryption flag setting
2020-12-03 15:19:02 +08:00
Darian Leung
fa7c5fcd42
TWAI: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2020-12-02 21:27:12 +08:00
Darian Leung
1160da7fdf
TWAI: Fix ESP32-S2 register field name
2020-12-02 21:27:12 +08:00
Darian Leung
e1b7a02786
TWAI: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-12-02 21:26:33 +08:00
wangcheng
d780e5b31d
components/bt: backport requires commit to release v4.2
2020-12-01 19:29:05 +08:00
KonstantinKondrashov
3d03264b0a
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-11-30 23:09:13 +08:00
wangcheng
1be101f342
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:44:57 +08:00
wangcheng
7097ff286c
component/bt: Fix a potential double free error.
2020-11-24 10:44:56 +08:00
wangcheng
65c5a57033
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:44:54 +08:00
Wang Fang
e9dae152cd
docs: update the description for RTC Clock Sources for esp32 and esp32s2
2020-11-23 11:37:15 +08:00
lly
e2b6ab00dc
ble_mesh: stack: Update connection interval to 15ms
2020-11-23 08:59:23 +08:00
lly
92eebb885c
ble_mesh: stack: Update connection parameters used by Central
2020-11-23 08:59:22 +08:00
David Cermak
c4e4a05002
MQTT: Update submodule reference: config, error handle, minor fixes
...
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
outbox-size)
* extended error handle to include socket's errno
Closes https://github.com/espressif/esp-idf/issues/5906
Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179
Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178
mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a
config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96
Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174
Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5
Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166
Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-20 10:24:18 +01:00
David Cermak
405f2ee995
mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
...
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.
Merges https://github.com/espressif/esp-idf/pull/6055
2020-11-20 10:15:33 +01:00
xueyunfei
501fce7fdd
backport bugfix lwip for v4.2
2020-11-20 14:44:13 +08:00
Armando
3c2367d158
i2s: fix i2s ll layer pdm config
2020-11-19 11:42:53 +00:00
xutao
2a4c338ac4
websocket_client: fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-11-19 15:59:47 +08:00
Prasad Alatkar
6928e6b5b0
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v4.2)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-17 14:59:46 +05:30
xutao
cc10f1943c
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-17 14:48:43 +08:00
israel
e0a02c1a7c
AP_STAIPASSIGNED now passes the IP through 'event_data'
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
2020-11-16 17:43:51 +08:00
Supreet Deshpande
dd6405fcef
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.
...
Fixes https://github.com/espressif/esp-idf/issues/6050
2020-11-13 11:33:29 +05:30
Angus Gratton
c688828362
Merge branch 'bugfix/efuse_change_burn_order_for_s2_s3_v4.2' into 'release/v4.2'
...
efuse: Fix the order of writing in batch mode (v4.2)
See merge request espressif/esp-idf!11123
2020-11-11 14:50:53 +08:00
Jiang Jiang Jian
9c239b9f77
Merge branch 'bugfix/fix_assert_in_passkey_reply_4_2' into 'release/v4.2'
...
Bugfix/fix assert in passkey reply [backport v4.2]
See merge request espressif/esp-idf!10974
2020-11-11 11:35:41 +08:00
Jiang Jiang Jian
5de9174ade
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_2' into 'release/v4.2'
...
Fix crash caused by calling a2dp_deinit directly [backport v4.2]
See merge request espressif/esp-idf!11130
2020-11-11 11:35:06 +08:00
Jiang Jiang Jian
abb7c529dc
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.2' into 'release/v4.2'
...
wpa_supplicant: Increase PMK Lifetime to a very high value (Backport v4.2)
See merge request espressif/esp-idf!11170
2020-11-11 11:29:36 +08:00
Jiang Jiang Jian
fe78f2cf3b
Merge branch 'bugfix/wifi_fix_beacon_dtim_count_error_v4.2' into 'release/v4.2'
...
Wi-Fi: set softap beacon DTIM count according to TSF timer(backport v4.2)
See merge request espressif/esp-idf!11155
2020-11-11 11:28:43 +08:00
weitianhua
ad31451594
Fix crash caused by calling deinit directly
2020-11-10 11:18:39 +00:00
weitianhua
0b51df615c
Remove dummy assert when receive passkey request
2020-11-10 16:06:11 +08:00
Angus Gratton
bff3192080
Merge branch 'feature/update_key_name_of_secure_boot_v4.2' into 'release/v4.2'
...
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2 (v4.2)
See merge request espressif/esp-idf!10850
2020-11-10 15:56:26 +08:00
Jiang Jiang Jian
4e80dc2a77
Merge branch 'bugfix/fix_coex_ble_disconnect_issues_1105_v4_2' into 'release/v4.2'
...
bluetooth: Fix ble disconnect issue in coex mode backport v4.2
See merge request espressif/esp-idf!11146
2020-11-10 15:21:39 +08:00
Jiang Jiang Jian
8e4b919391
Merge branch 'bugfix/fix_spp_read_flow_control_v4.2' into 'release/v4.2'
...
component_bt/fix spp flow control and vfs write [backport 4.2]
See merge request espressif/esp-idf!11071
2020-11-10 15:19:48 +08:00
gengyuchao
5ca0f50231
Fix two bugs:
...
1.Fix supervision timeout in LLC DISC busy statue can not disconnect issue.
2.Solve the problem that the ble terminate ack packet may lose with a high probability in coex mode.
2020-11-10 03:00:43 +00:00
Xia Xiaotian
0df8024219
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-09 19:33:27 +08:00
Nachiket Kukade
2343aab4da
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-09 15:40:08 +05:30
wangcheng
ffb4ff0e4b
components/bt: fix hci timeout, add timer to monitor scan evt
2020-11-06 14:17:11 +08:00
Angus Gratton
03c72909a3
esptool: Update to v3.0 release version
2020-11-06 17:11:29 +11:00
Angus Gratton
e5aa2b1d73
Merge branch 'bugfix/esp32s2_define_correct_size_for_rtc_fast_mem_v4.2' into 'release/v4.2'
...
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and... (v4.2)
See merge request espressif/esp-idf!9965
2020-11-06 12:49:24 +08:00
liqigan
640083c8cb
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-11-06 03:38:52 +00:00
liqigan
94093debab
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-06 03:38:52 +00:00
liqigan
76f41cc5e0
add event when calling spp API failed
2020-11-06 03:38:52 +00:00
Jiang Jiang Jian
778fe654aa
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered_v4.2' into 'release/v4.2'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered [backport v4.2]
See merge request espressif/esp-idf!11020
2020-11-06 11:08:26 +08:00
Jiang Jiang Jian
cd7bfd6d85
Merge branch 'bugfix/fix_TCP_timer_interval_v4.2' into 'release/v4.2'
...
lw-ip: fix TCP timer interval (backport v4.2)
See merge request espressif/esp-idf!11086
2020-11-06 11:06:52 +08:00
Jiang Jiang Jian
34665cb9f9
Merge branch 'bugfix/fix_clkn_overflow_issue_4_2' into 'release/v4.2'
...
Fix controller dead when clkn overflow [backport v4.2]
See merge request espressif/esp-idf!11035
2020-11-06 11:06:32 +08:00
FredrikFornstad
57571ae908
Bugfix: Casting int to size_t
2020-11-05 20:32:43 +05:30
Angus Gratton
b336cb954c
esp32s2: Disable ADC calibration routine if running on FPGA
2020-11-05 15:06:33 +08:00
KonstantinKondrashov
ac04213299
efuse: Fix the order of writing in batch mode for esp32s2 and s3
2020-11-05 15:05:55 +08:00
ronghulin
a55db686b9
bugfix: fix TCP timer interval
2020-11-03 10:38:48 +08:00
Michael (XIAO Xufeng)
5e49f0b565
Merge branch 'bugfix/fix_spi_flash_clock_config_error_s2_4.2' into 'release/v4.2'
...
bootloader_support: fix fix spi flash clock config error (v4.2)
See merge request espressif/esp-idf!10892
2020-11-02 13:21:37 +08:00
lly
b2bd4d1cb7
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:50:00 +08:00
weitianhua
000a533eaa
Fix controller dead when clkn overflow
2020-10-29 14:54:20 +08:00
Jiang Jiang Jian
2b4124bced
Merge branch 'bugfix/fix_crash_or_reboot_on_esp32s2_v4.2' into 'release/v4.2'
...
fix reboot or crash when enable lightsleep on esp32s2
See merge request espressif/esp-idf!11026
2020-10-29 00:31:10 +08:00
Jiang Jiang Jian
73e4a15889
Merge branch 'bugfix/resolve_esp32s2_rtc_gpio_reject_lightsleep_v4.2' into 'release/v4.2'
...
set clk_gate_en when enable rtc gpio wake up _backport_to_v4.2
See merge request espressif/esp-idf!11009
2020-10-28 22:20:44 +08:00
ninh
a6467d7683
fix reboot or crash when enable lightsleep on esp32s2
2020-10-28 22:20:41 +08:00
Jiang Jiang Jian
c5e75cb396
Merge branch 'bugfix/assert_10_9_when_AFPM_occur_v4.2' into 'release/v4.2'
...
Bugfix/assert 10 9 when afpm occur v4.2, Changed the check order for esp_bt_controller_init(release/v4.2)
See merge request espressif/esp-idf!10984
2020-10-28 22:15:59 +08:00
liqigan
783c5ecee2
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-28 20:25:43 +08:00
wangcheng
138e1319b1
components/bt: fixed memory damage caused by bluetooth memory release
2020-10-28 19:05:22 +08:00
wangcheng
44e40500da
components/bt: fix assert(10, 9), when the AFPM happens. fix tx_prog insert error.
2020-10-28 19:05:12 +08:00
shenjun
6a0e8cc83a
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-28 15:02:29 +08:00
Jiang Jiang Jian
3d8f16e05d
Merge branch 'bugfix/btdm_bluedroid_enable_takes_long_time_v4.2' into 'release/v4.2'
...
Bugfix/btdm bluedroid enable takes long time v4.2
See merge request espressif/esp-idf!10701
2020-10-28 13:38:51 +08:00
ninh
62aade0671
set clk_gate_en when enable rtc gpio wake up
2020-10-28 11:55:49 +08:00
Jiang Jiang Jian
ff52533260
Merge branch 'bugfix/update_toolchain_5.2.0_psram_final_v4.2' into 'release/v4.2'
...
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5 (backport v4.2)
See merge request espressif/esp-idf!10640
2020-10-28 11:14:57 +08:00
Michael (XIAO Xufeng)
c245db59b6
bootloader_support: fix fix spi flash clock config error
...
Relates to: https://github.com/espressif/esp-idf/issues/5099
2020-10-28 01:38:14 +00:00
Jiang Jiang Jian
c97d4cde56
Merge branch 'feature/add_ipv6_ping_for_4.2' into 'release/v4.2'
...
lw-ip:add feature for ipv6 ping(backport 4.2)
See merge request espressif/esp-idf!10995
2020-10-27 22:36:57 +08:00
Jiang Jiang Jian
e8cee449ea
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.2' into 'release/v4.2'
...
NimBLE: host_rcv_pkt event buf size check. (v4.2)
See merge request espressif/esp-idf!10758
2020-10-27 18:49:43 +08:00
Jiang Jiang Jian
e40d3bb05d
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Make mesh buf debug option invisible (v4.2)
See merge request espressif/esp-idf!10794
2020-10-27 18:48:37 +08:00
Jiang Jiang Jian
22f49e0fa9
Merge branch 'bugfix/ble_mesh_settings_fix_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh settings fix (v4.2)
See merge request espressif/esp-idf!10784
2020-10-27 18:48:06 +08:00
Jiang Jiang Jian
dd3f1e346a
Merge branch 'feat/ble_mesh_device_properties_v2_v4.2' into 'release/v4.2'
...
Feat/ble mesh device properties v2 (v4.2)
See merge request espressif/esp-idf!10787
2020-10-27 18:47:34 +08:00
Jiang Jiang Jian
a5c3bd3d04
Merge branch 'bugfix/wpa_supplicant_link_depth_v4.2' into 'release/v4.2'
...
wpa_supplicant: Fix failure to link under some circumstances (v4.2)
See merge request espressif/esp-idf!10976
2020-10-27 18:45:17 +08:00
liqigan
e4e46b8384
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-27 06:57:20 +00:00
xiehang
1d1b4f09b0
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-10-27 14:43:57 +08:00
xueyunfei
e7e5884a77
lwip:add feature for ipv6 ping
2020-10-27 10:27:30 +08:00
Nachiket Kukade
c59eb27698
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
2020-10-26 15:55:54 +08:00
Angus Gratton
5170ead2e6
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-26 15:12:48 +11:00
Jiang Jiang Jian
8d213150c5
Merge branch 'bugfix/fix_TCP_retransmission_interval_v4.2' into 'release/v4.2'
...
fix TCP retransmission interval (backport v4.2)
See merge request espressif/esp-idf!10953
2020-10-26 11:25:15 +08:00
Jiang Jiang Jian
d85d336c86
Merge branch 'bugfix/wps_fail_reason_code_v4.2' into 'release/v4.2'
...
esp_wifi: Add Failures Reason code in all WPS failure send event(backport v4.2)
See merge request espressif/esp-idf!10928
2020-10-26 11:24:30 +08:00
Jiang Jiang Jian
e10e25981b
Merge branch 'bugfix/fix_tsf_bug_v4.2' into 'release/v4.2'
...
WiFi: fix tsf bug (backport v4.2)
See merge request espressif/esp-idf!10947
2020-10-26 11:21:11 +08:00
Chen Yu Dong
f12808533d
ci: move auto_test_script to new repo (backport 4.2)
2020-10-24 09:24:38 +08:00
Jiang Jiang Jian
d5871e9602
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss_for_4.2' into 'release/v4.2'
...
lw-ip:bugfix ipv6 ping error when src ip miss for 4.2(backport 4.2)
See merge request espressif/esp-idf!10932
2020-10-23 11:28:42 +08:00
Michael (XIAO Xufeng)
489c0b9aac
Merge branch 'feature/esp32s2_bootloader_random_v4.2' into 'release/v4.2'
...
bootloader_support: Enable RNG entropy source for ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10882
2020-10-22 23:08:11 +08:00
ronghulin
84e5aef540
fix TCP retransmission interval
2020-10-22 16:53:00 +08:00
zhangyanjiao
3c3bff6ebb
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-22 15:12:50 +08:00
KonstantinKondrashov
2592a0534d
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
...
- espefuse.py burn_key secure_boot is no longer used.
- Secure boot V1: espefuse.py burn_key secure_boot_v1 file.bin
- Secure boot V2: espefuse.py burn_key secure_boot_v2 file.bin
2020-10-22 05:57:46 +00:00
xueyunfei
6692f4119e
bugfix ipv6 ping error when src ip miss for 4.2
2020-10-21 20:52:06 +08:00
kapil.gupta
379624de53
esp_wifi: Add WPS Reason code in all failures
2020-10-21 17:09:36 +05:30
Angus Gratton
b34c658554
esp32s2: Use regi2c registers to enable bootloader RNG
2020-10-21 15:09:22 +11:00
Michael (XIAO Xufeng)
87247d5672
Merge branch 'bugfix/adc_dma_test_value_4.2' into 'release/v4.2'
...
adc_test: fix the failure caused by low expected middle value (v4.2)
See merge request espressif/esp-idf!10887
2020-10-20 11:03:15 +08:00
Shubham Kulkarni
c0a9ef0e1d
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:21:26 +05:30
Michael (XIAO Xufeng)
9f0f753a48
Merge branch 'bugfix/fix_i2s_reset_issue_v4.2' into 'release/v4.2'
...
driver(I2S): Fix I2S reset issue for release/v4.2
See merge request espressif/esp-idf!9582
2020-10-19 15:40:03 +08:00
Michael (XIAO Xufeng)
68141a8844
adc_test: fix the failure caused by low expected middle value
2020-10-19 11:11:34 +08:00
andreachiara
882e924629
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:00:55 +08:00
Angus Gratton
3cdf0aa18a
esp32s2: Enable 8M clock source for RNG also
...
Either of these options is sufficient to pass dieharder test suite with
bootloader random output, having both enabled is a bonus.
2020-10-19 10:24:37 +11:00
Angus Gratton
0c320bfb0e
esp32s2: Support bootloader_random_enable()
2020-10-19 10:24:37 +11:00
Michael (XIAO Xufeng)
f0e87c933a
Merge branch 'spi_dma_close_before_cpu_reset_v4.2' into 'release/v4.2'
...
spi: fix issue with closing DMA before CPU reset (4.2)
See merge request espressif/esp-idf!10811
2020-10-17 23:37:29 +08:00
Michael (XIAO Xufeng)
33443d80af
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.2' into 'release/v4.2'
...
spi_master: correctly set cs polarity (4.2)
See merge request espressif/esp-idf!10391
2020-10-17 09:27:24 +08:00
Michael (XIAO Xufeng)
ae0bec8de0
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v4.2' into 'release/v4.2'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32 (backport v4.2)
See merge request espressif/esp-idf!10670
2020-10-17 09:21:38 +08:00
Michael (XIAO Xufeng)
eb540e3efa
Merge branch 'bugfix/pcnt_interrupt_clear_v4.2' into 'release/v4.2'
...
pcnt: fix bug in clear interrupt status (v4.2)
See merge request espressif/esp-idf!10694
2020-10-16 14:51:17 +08:00
Michael (XIAO Xufeng)
189a2991b7
Merge branch 'doc/adc_grammar_stuff_backport_v4.2' into 'release/v4.2'
...
Bugfix(doc): minor modifications in the adc section (backport v4.2)
See merge request espressif/esp-idf!10657
2020-10-16 14:42:36 +08:00
fuzhibo
95f353949a
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-16 06:34:46 +00:00
houwenxiang
3fa779b463
driver(I2S): Fix I2S reset issue for release/v4.2
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-10-16 06:32:13 +00:00
Armando
4c7dca7105
spi: fix issue with closing DMA before CPU reset
2020-10-16 06:00:18 +00:00
Wielebny666
3dd5b574ee
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-10-16 05:53:24 +00:00
KonstantinKondrashov
df5399cfb5
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC
...
Defines the correct size for RTC fast memory (the same as for ESP32).
Closes: IDF-1800
2020-10-15 22:33:12 +00:00
Angus Gratton
e5fe4ffb08
Merge branch 'feature/support_access_internal_i2c_register_backport_v4.2' into 'release/v4.2'
...
feature(rtc): add new APIs support access internal i2c register (backport v4.2)
See merge request espressif/esp-idf!10662
2020-10-16 06:32:04 +08:00
lly
2724e02faf
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-15 12:17:54 +00:00
lly
3c1922864d
ble_mesh: stack: Move device property to model common part
2020-10-15 12:17:54 +00:00
lly
86af10c529
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-15 11:48:59 +00:00
lly
c0678d65da
ble_mesh: stack: Use settings_core_erase when deinit
2020-10-15 11:48:14 +00:00
lly
2c8fc5f5d6
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-10-15 11:48:14 +00:00
lly
5708d4a4e1
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-10-15 11:48:14 +00:00
lly
094eeaf346
ble_mesh: stack: Split model settings store and clear
2020-10-15 11:48:14 +00:00
lly
c06ce57687
ble_mesh: stack: Erase netkey and appkey with key index
2020-10-15 11:48:14 +00:00
lly
ea0ff4e6d1
ble_mesh: stack: Add clear hb_pub in settings
2020-10-15 11:48:14 +00:00
lly
365c17614b
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-10-15 11:48:14 +00:00
lly
3b9057311b
ble_mesh: stack: Use erase settings functions
2020-10-15 11:48:14 +00:00
lly
2459b625f1
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-10-15 11:48:14 +00:00
lly
a47e89c4e4
ble_mesh: stack: Add role check before enabling device
2020-10-15 11:48:14 +00:00
lly
4b70056966
ble_mesh: stack: Define a type for mesh nvs handle
2020-10-15 11:48:14 +00:00
baohongde
9fe1469c70
components/bt: Fix waking up fail while sleeping
2020-10-15 09:13:22 +00:00
baohongde
f64d0ec873
components/bt: Make sleep avaliable in hli(for future use)
2020-10-15 09:13:22 +00:00
Angus Gratton
292e396846
Merge branch 'bugfix/spi_flash_yield_coredump_v4.2' into 'release/v4.2'
...
spi_flash: don't call vTaskDelay in non-os context (v4.2)
See merge request espressif/esp-idf!10297
2020-10-15 15:10:51 +08:00
fuzhibo
bbef823a20
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-15 03:34:59 +00:00
fuzhibo
d337559a17
rtc: support access internal i2c register
2020-10-15 03:34:59 +00:00
KonstantinKondrashov
af7d6f4d89
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-10-15 02:36:04 +00:00
Angus Gratton
57ce9c2f06
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v4.2' into 'release/v4.2'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v4.2)
See merge request espressif/esp-idf!10734
2020-10-14 10:44:00 +08:00
Ivan Grokhotkov
4baf399f10
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-10-14 02:42:46 +00:00
Angus Gratton
489f5c38b4
Merge branch 'bugfix/deepsleep_flush_uarts_correct_v4.2' into 'release/v4.2'
...
esp32s2/soc: Fix periph_ll_periph_enabled (v4.2)
See merge request espressif/esp-idf!10711
2020-10-14 10:42:13 +08:00
Chinmay Chhajed
d67e284c8d
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:28:51 +05:30
Angus Gratton
22a6e2160f
Merge branch 'bugfix/secure_boot_v2_ota_verification_v4.2' into 'release/v4.2'
...
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3 (v4.2)
See merge request espressif/esp-idf!10612
2020-10-08 11:22:59 +08:00
Angus Gratton
16ed6a4574
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.2' into 'release/v4.2'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.2)
See merge request espressif/esp-idf!9966
2020-10-08 11:22:55 +08:00
Mahavir Jain
93aeac9728
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-06 08:49:49 +05:30
KonstantinKondrashov
be0444bf54
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-10-01 03:58:23 +08:00
morris
dcb23c0bc8
pcnt: fix bug in clear interrupt status
2020-09-30 11:13:17 +08:00
Jiang Jiang Jian
8223278050
Merge branch 'bugfix/ble_mesh_check_stack_init_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v4.2)
See merge request espressif/esp-idf!10481
2020-09-30 10:53:56 +08:00
Jiang Jiang Jian
8e62a6992e
Merge branch 'optimize/ble_mesh_provisioner_delete_dev_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Optimize Provisioner delete device function (v4.2)
See merge request espressif/esp-idf!10603
2020-09-30 10:52:48 +08:00
baohongde
d101b15942
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-09-29 14:12:39 +08:00
Jiang Jiang Jian
c5bb6c467f
Merge branch 'bugfix/update_esp32_phy_v4500_v4.2' into 'release/v4.2'
...
esp_wifi: update esp32 phy v4500 (v4.2)
See merge request espressif/esp-idf!10624
2020-09-29 13:59:45 +08:00
lly
11108393f1
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-09-29 03:41:29 +00:00
lly
d312651c5c
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-29 03:41:19 +00:00
Jiang Jiang Jian
17fca6235b
Merge branch 'bugfix/add_clear_bond_complete_evt_4_2' into 'release/v4.2'
...
componenet_bt/bugfix: add remove bond device complete event 4.2
See merge request espressif/esp-idf!10651
2020-09-29 11:15:55 +08:00
Jiang Jiang Jian
61e6e718e4
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_2' into 'release/v4.2'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.2
See merge request espressif/esp-idf!10645
2020-09-29 11:15:30 +08:00
Island
d7317eaae1
Merge branch 'bugfix/channel_map_send_time_v4.2' into 'release/v4.2'
...
component/bt: Insert the llcp packet to the top of the tx_preg linked list.(backport 4.2)
See merge request espressif/esp-idf!10178
2020-09-29 10:40:26 +08:00
Wu Bo Wen
cb6299200c
doc/adc: modifications in the adc documentation and adc headers
2020-09-28 21:55:42 +08:00
Michael (XIAO Xufeng)
a63bdf782f
Merge branch 'bugfix/fix_dac_dma_driver_and_ut_backport_v4.2' into 'release/v4.2'
...
Driver(dac): fix DAC-DMA driver and unit test (backport v4.2)
See merge request espressif/esp-idf!10216
2020-09-28 21:43:11 +08:00
Michael (XIAO Xufeng)
cf16ae573c
Merge branch 'cherry-pick-7876d7f5' into 'release/v4.2'
...
driver(adc): add adc-dma code for esp32 (backport v4.2)
See merge request espressif/esp-idf!10212
2020-09-28 21:11:11 +08:00
Michael (XIAO Xufeng)
847a697c93
Driver(dac): fix DAC-DMA driver and unit test
2020-09-28 19:35:07 +08:00
baohongde
2d90885e09
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-28 15:09:37 +08:00
baohongde
2b4fae912c
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 14:57:27 +08:00
xiongweichao
fba62f5e2e
add remove bond device complete event
2020-09-28 14:56:42 +08:00
ChenJianxing
cfa6db0fee
esp_wifi: update esp32 phy v4500 (v4.2)
...
improve frequence offset feature.
2020-09-28 14:27:34 +08:00
Jiang Jiang Jian
0aaa7ffc28
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v4.2' into 'release/v4.2'
...
esp_wifi: fix some wifi bugs 0924 (v4.2)
See merge request espressif/esp-idf!10648
2020-09-28 14:23:23 +08:00
Mahavir Jain
5bdded29a1
Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization_v4.2' into 'release/v4.2'
...
provisioning: use memcpy instead of strncpy for copying SSID (v4.2)
See merge request espressif/esp-idf!10494
2020-09-28 12:44:41 +08:00
xiongweichao
7f8c121791
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 10:42:02 +08:00
xiongweichao
a6cdf4ed1e
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 10:41:53 +08:00
Angus Gratton
314960ae31
Merge branch 'bugfix/window_spill_a0_corruption_v4.2' into 'release/v4.2'
...
freertos: don't clobber a4 while spilling register windows (backport v4.2)
See merge request espressif/esp-idf!10305
2020-09-28 09:15:14 +08:00
zhangyanjiao
466cd7ba22
esp_wifi:
...
1. Modify LR for esp32 and esp32s2
2. Fix esp32s2 RTS rate
3. Optimize some debug logs for probe response
4. Optimize phy and soc files
5. Add IPv6 DSCP
6. Fix classify AC to TID
7. Fix the bug that no event for connect
2020-09-27 19:50:58 +08:00
Jiang Jiang Jian
123aaf2280
Merge branch 'bugfix/fix_some_wifi_bugs_0916_v4.2' into 'release/v4.2'
...
eps_wifi: Fix some wifi bugs (backport v4.2)
See merge request espressif/esp-idf!10475
2020-09-27 11:17:53 +08:00
Jiang Jiang Jian
2db55a3b90
Merge branch 'bugfix/add_disconn_req_action_when_no_link_4.2' into 'release/v4.2'
...
Bugfix/add disconn req action when no link 4.2
See merge request espressif/esp-idf!10508
2020-09-27 11:17:43 +08:00
Ivan Grokhotkov
e2cb7ed9ca
Revert "CXX: removed exception windowspill test"
...
This reverts commit f3e180de72
.
2020-09-25 16:29:58 +00:00
Ivan Grokhotkov
f4ab2beaa8
freertos: don't clobber a4 while spilling register windows
...
Commit 891eb3b0
was fixing an issue with PS and EPC1 not being
preserved after the window spill procedure. It did so by saving PS in
a2 and EPC1 in a4. However the a4 register may be a live register of
another window in the call stack, and if it is overwritten and then
spilled to the stack, then the corresponding register value will end
up being corrupted. In practice the problem would show up as an
IllegalInstruction exception, when trying to return from a function
when a0 value was 0x40020.
Fix by using a0 register instead of a4 as scratch. Also fix a comment
about xthal_save_extra_nw, as this function in fact doesn't clobber
a4 or a5 because XCHAL_NCP_NUM_ATMPS is defined as 1.
Closes https://github.com/espressif/esp-idf/issues/5758
2020-09-25 16:29:58 +00:00
wangcheng
df301b89ec
component/bt: Fix assert(9, 10), Insert the llcp packet to the top of the tx_preg linked list
2020-09-25 18:43:14 +08:00
Supreet Deshpande
a04d6e7f63
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3
...
Closes https://github.com/espressif/esp-idf/issues/5905
2020-09-25 14:21:07 +05:30
Angus Gratton
c7d602cc62
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set_v4.2' into 'release/v4.2'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment (v4.2)
See merge request espressif/esp-idf!9971
2020-09-25 08:03:11 +08:00
Angus Gratton
6443a96834
Merge branch 'backport/shared_stack4.2' into 'release/v4.2'
...
Backport/shared stack4.2
See merge request espressif/esp-idf!10303
2020-09-25 08:02:55 +08:00
Angus Gratton
f817747727
Merge branch 'bugfix/efuse_test_stackoverflow_v4.2' into 'release/v4.2'
...
CI: Increase stack size for efuse unit test (Backport v4.2)
See merge request espressif/esp-idf!10543
2020-09-25 08:02:31 +08:00
Angus Gratton
7402e17838
Merge branch 'bugfix/openss_strict_verify_mode' into 'release/v4.2'
...
openssl: made verification mode conversion to mbetls modes more strict (v4.2)
See merge request espressif/esp-idf!10499
2020-09-25 07:40:52 +08:00
Angus Gratton
e610df5870
Merge branch 'bugfix/esp32s2_panic_handler_iram_v4.2' into 'release/v4.2'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10295
2020-09-25 07:40:06 +08:00
Angus Gratton
6a711671c6
Merge branch 'bugfix/spinlock_coredump_regressions_v4.2' into 'release/v4.2'
...
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'" (backport v4.2)
See merge request espressif/esp-idf!10296
2020-09-25 07:33:05 +08:00
Angus Gratton
4ffe6c096a
Merge branch 'bugfix/esp32s2_o2_op_v4.2' into 'release/v4.2'
...
freertos: fix build error at -O2 optimization level (v4.2)
See merge request espressif/esp-idf!10301
2020-09-25 07:31:58 +08:00
Angus Gratton
f536db1782
Merge branch 'feature/secure_boot_esp32s2_v4.2' into 'release/v4.2'
...
Feature/secure boot esp32s2 v4.2
See merge request espressif/esp-idf!9958
2020-09-25 07:31:45 +08:00
Jiang Jiang Jian
dd29046e88
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v4.2' into 'release/v4.2'
...
flash_mmap: can mmap after get enough free MMU pages (backport v4.2)
See merge request espressif/esp-idf!10584
2020-09-24 22:36:51 +08:00
Jiang Jiang Jian
3c2fd749f0
Merge branch 'bugfix/wifi_create_and_start_ap_v4.2' into 'release/v4.2'
...
Set default AP handlers in wifi_create_and_start_ap() v4.2
See merge request espressif/esp-idf!10458
2020-09-24 12:36:50 +08:00
Jiang Jiang Jian
7b30e467b4
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.2' into 'release/v4.2'
...
Confirmed bugfix from Baidu project 4.2
See merge request espressif/esp-idf!10544
2020-09-24 12:31:52 +08:00
Jiang Jiang Jian
009956c5a7
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.2' into 'release/v4.2'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.2)
See merge request espressif/esp-idf!10553
2020-09-24 12:31:14 +08:00
Jiang Jiang Jian
88faf37a59
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.2' into 'release/v4.2'
...
lw-ip:ipv6 send multicast data fail when src address is null (backport 4.2)
See merge request espressif/esp-idf!10558
2020-09-24 12:30:35 +08:00
jiangguangming
03a749a60e
flash_mmap: restore interrupt and cache before err return
2020-09-24 09:49:39 +08:00
jiangguangming
98ce1fa080
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 09:49:39 +08:00
aleks
07bfb7cac9
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2020-09-23 07:04:52 +00:00
Supreet Deshpande
2d63354ec8
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
...
Closes https://github.com/espressif/esp-idf/issues/5878
2020-09-23 03:01:51 +05:30
xueyunfei
fd083f1e44
ipv6 send multicast data fail when src address is null for 4.2
2020-09-22 17:33:02 +08:00
dongyou
c06f0738c9
Fix spin lock allocation in PSRAM bug
2020-09-22 14:36:36 +08:00
xiehang
311d43d021
eps_wifi: Fix some wifi bugs
...
1. Drop receiving packets from myself
2. scan: Fix scan issue with WPA2-PSK-SHA256 AP
2020-09-22 14:23:43 +08:00
Marius Vikhammer
d12eb31f42
CI: Increase stack size for efuse unit test
...
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size.
2020-09-22 11:54:08 +08:00
weitianhua
b7d4868a70
Confirmed bugfix from Baidu project
2020-09-22 11:44:09 +08:00
Jakob Hasse
071dc73954
NVS: ensuring default partition
...
* Also added encryption keys to CMakeLists.txt
Closes https://github.com/espressif/esp-idf/issues/5347
Closes IDFGH-3372
2020-09-21 12:44:57 +08:00
Ivan Grokhotkov
8749c46284
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-09-18 15:35:48 +00:00
martin.gano
278030ff3e
add file stream parameter and log stdout and stderr to same stream
2020-09-18 10:38:33 +02:00
weitianhua
84cda60478
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:09:27 +08:00
weitianhua
e940e1d72a
Add global header and change declaration position
2020-09-18 14:09:19 +08:00
weitianhua
b16deb4473
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:09:10 +08:00
weitianhua
306c978195
Rewrite a2dp clean_up function
2020-09-18 14:09:02 +08:00
weitianhua
59234501dd
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:08:53 +08:00
Jakob Hasse
26481c4a9d
toolchain: C++ exception workaround
...
* disable C++ exception FDE sorting (saves RAM)
Closes IDF-1128
2020-09-18 12:32:34 +07:00
Felipe Neves
223f800dd7
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-09-17 20:46:02 +00:00
Felipe Neves
3e9637a893
test/shared_stack_printf: improved printf with shared stack function test
2020-09-17 20:46:02 +00:00
Ivan Grokhotkov
a6f0b15d3e
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'"
...
This reverts commit c41a0c1907
, reversing
changes made to 5c1d317766
.
2020-09-17 17:04:48 +00:00
David Cermak
521eee7384
openssl: made verification mode conversion to mbetls modes more strict
2020-09-17 13:22:36 +02:00
Mahavir Jain
6d37ad39aa
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 15:51:32 +05:30
Jiang Jiang Jian
dddcc2ede8
Merge branch 'bugfix/add_protection_for_spp_api_4.2' into 'release/v4.2'
...
Bugfix/add protection for spp api 4.2
See merge request espressif/esp-idf!10281
2020-09-16 14:06:28 +08:00
Jiang Jiang Jian
21b02a9302
Merge branch 'bugfix/update_esp32_phy_4390_v4.2' into 'release/v4.2'
...
update esp32 phy 4390.(backport v4.2)
See merge request espressif/esp-idf!10456
2020-09-16 11:57:47 +08:00
Angus Gratton
17525d6035
Merge branch 'bugfix/cxx_flag_operators_v4.2' into 'release/v4.2'
...
esp_eth: moved extern "C" after includes (v4.2)
See merge request espressif/esp-idf!10351
2020-09-15 16:12:42 +08:00
Angus Gratton
a4c3aebc3d
Merge branch 'bugfix/ulp_as_version_v4.2' into 'release/v4.2'
...
ulp: fix ULP assembler version detection for localized systems (v4.2)
See merge request espressif/esp-idf!10393
2020-09-15 15:23:26 +08:00
Jiang Jiang Jian
86b07ef098
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.2' into 'release/v4.2'
...
lw-ip IPv6 ND6 queue too much pkts(Backport v4.2)
See merge request espressif/esp-idf!10091
2020-09-15 15:07:03 +08:00
Angus Gratton
ac016da8ab
Merge branch 'bugfix/bootloader_skip_verify_jtag_v4.2' into 'release/v4.2'
...
bootloader_support: don't check signature when JTAG is attached, fix signed partition table generation (v4.2)
See merge request espressif/esp-idf!10378
2020-09-15 14:58:01 +08:00
dongyou
ddedf25ca8
Set default AP handlers in wifi_create_and_start_ap() v4.2
2020-09-15 14:54:46 +08:00
Supreet Deshpande
7d57165922
Update to compatible crc & SBv2 enable check api's
2020-09-15 11:29:26 +05:30
Angus Gratton
1c6c6eceb5
secure boot: Fixes for ESP32-S2 first boot logic
2020-09-15 11:23:51 +05:30
Angus Gratton
762e8d5f84
bootloader esp32s2: Fix return type of ROM function signature verification
2020-09-15 11:23:51 +05:30
Angus Gratton
9856198112
bootloader esp32s2: Increase bootloader DRAM & IRAM allowance
...
Bootloader DRAM now ends at 0x3FFEAB00 which is the start of ROM
static RAM (reclaimable after app is running).
IRAM loader segment increased by 8KB.
Available total static RAM for the app is now reduced by 16KB.
2020-09-15 11:23:51 +05:30
Supreet Deshpande
0f82fe105c
Secure boot v2 support for ESP32-S2
2020-09-15 11:23:51 +05:30
Jiang Jiang Jian
c4f4e15cc7
Merge branch 'cherry-pick-4dcaa0e6-3' into 'release/v4.2'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.2)
See merge request espressif/esp-idf!10163
2020-09-15 12:06:49 +08:00
ChenJianxing
2cf032a4b6
update esp32 phy 4390.(backport v4.2)
2020-09-15 10:54:41 +08:00
ChenJianxing
a5907ee3fe
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-09-14 21:06:38 +08:00
Michael (XIAO Xufeng)
b132ab2091
Merge branch 'bugfix/add_return_in_uart_wait_tx_done_bp4.2' into 'release/v4.2'
...
bugfix(UART): Add return in uart_wait_tx_done(backport v4.2)
See merge request espressif/esp-idf!10335
2020-09-14 14:26:00 +08:00
lly
0fff4d46ec
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 10:55:47 +08:00
Jiang Jiang Jian
073e855c73
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.2' into 'release/v4.2'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10322
2020-09-10 17:39:14 +08:00
Ivan Grokhotkov
0514496744
Merge branch 'feature/vs_allow_custom_part_4.2' into 'release/v4.2'
...
Feature/vs allow custom part 4.2
See merge request espressif/esp-idf!9514
2020-09-10 16:09:00 +08:00
Roland Dobai
92ef27223d
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:34:40 +02:00
Mahavir Jain
156afc0c05
Merge branch 'bugfix/secure_boot_v2_sign_cmake_copy_v4.2' into 'release/v4.2'
...
Add platform independent CMake copy during signing (v4.2)
See merge request espressif/esp-idf!9544
2020-09-10 14:41:42 +08:00
Island
c81b139479
Merge branch 'feat/ble_mesh_use_model_c_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v4.2)
See merge request espressif/esp-idf!10362
2020-09-10 10:39:33 +08:00
Island
fa33addb4a
Merge branch 'bugfix/ble_mesh_remove_assert_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Avoid using assert in mesh stack (v4.2)
See merge request espressif/esp-idf!10358
2020-09-10 10:38:47 +08:00
Island
1f5f72af67
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle_v4.2' into 'release/v4.2'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value (v4.2)
See merge request espressif/esp-idf!10354
2020-09-10 10:37:59 +08:00
Ivan Grokhotkov
6f2e465ec9
partition_table: fix generation of signed partition table
...
Fixes the issue that signed partition table was not generated when
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES was on, because
partition_table_bin depended on unsigned_partition_bin twice.
Regression from acb7a211
.
Also use final_partition_bin variable in esptool_py_flash_target_image
arguments, to avoid issues in the future if final_partition_bin is
changed.
2020-09-09 23:39:51 +02:00
Ivan Grokhotkov
93a3beafb8
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-09-09 23:39:51 +02:00
David Čermák
96ad552245
Merge branch 'feature/mqtt_sub_update_01594bf1_v4.2' into 'release/v4.2'
...
MQTT: Update submodule reference (Backport v4.2)
See merge request espressif/esp-idf!10230
2020-09-09 20:41:14 +08:00
He Yin Ling
5a23447452
Merge branch 'bugfix/remove_auto_conn_case_v4.2' into 'release/v4.2'
...
test: remove auto conn case because we do not support this anymore (v4.2)
See merge request espressif/esp-idf!9940
2020-09-09 15:54:42 +08:00
lly
61bb586244
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-09 13:59:32 +08:00
lly
1f9d289ee0
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:57:07 +08:00
Jakob Hasse
a1c8b21928
esp_eth: moved extern "C" after includes
2020-09-09 10:19:03 +08:00
lly
4eec2c64ee
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 21:01:32 +08:00
Jiang Jiang Jian
b356d41bb1
Merge branch 'bugfix/fix_some_wifi_bugs_0902_v4.2' into 'release/v4.2'
...
Bugfix/fix some wifi bugs 0902 v4.2 (backport v4.2)
See merge request espressif/esp-idf!10246
2020-09-08 18:30:31 +08:00
Chen Yi Qun
a8a2ea7b38
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 15:00:53 +08:00
baohongde
ad8b3e4274
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:44:28 +08:00
Jiang Jiang Jian
ecab1d9b2e
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.2' into 'release/v4.2'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.2
See merge request espressif/esp-idf!10255
2020-09-07 14:11:08 +08:00
Ivan Grokhotkov
b181623d9b
freertos: fix compilation warning at -O2 level
...
Closes https://github.com/espressif/esp-idf/issues/5525
2020-09-04 21:33:49 +02:00
Ivan Grokhotkov
73813c6bac
freertos: ensure the interrupt stack is aligned
...
CONFIG_FREERTOS_ISR_STACKSIZE was set to 2100 when ELF core dump was
enabled, which resulted in a non-16-byte-aligned interrupt stack
offset. This triggered "is SP corrupted" check in the backtrace,
terminating the backtrace early.
Fix the default value, and make sure that the stack is always aligned,
regardless of the value of CONFIG_FREERTOS_ISR_STACKSIZE.
2020-09-04 20:45:38 +02:00
Ivan Grokhotkov
c3d2942675
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-09-04 20:45:38 +02:00
David Čermák
87d96b2c29
Merge branch 'bugfix/ws_stop_deadlock_v4.2' into 'release/v4.2'
...
Websocket client: avoid deadlock if stop called from event handler (Backport 4.2)
See merge request espressif/esp-idf!10226
2020-09-04 22:51:46 +08:00
wangcheng
a7d52dafa6
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:27:03 +08:00
weitianhua
a7ddc9c125
Add protection for rfcomm close API in SPP
2020-09-04 14:40:27 +08:00
weitianhua
07e2d3ab0f
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-04 14:40:19 +08:00
wangcheng
12633717f7
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:43:57 +08:00
David Cermak
ec2262e5a4
http_server: WebSocket server to set flag in transmitted messages by default
...
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-09-02 07:54:29 +00:00
David Čermák
a0a0d34da6
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt' into 'release/v4.2'
...
Bugfix/ethernet handle early rx interrupt (v4.2)
See merge request espressif/esp-idf!10098
2020-09-02 15:52:18 +08:00
Nachiket Kukade
d17e6a75e0
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-09-02 15:06:51 +08:00
zhangyanjiao
089b78b916
esp_wifi:
...
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-02 15:04:26 +08:00
aditi_lonkar
ddfb11e1c5
wifi: Fix esp_wifi log levels
...
Closes https://github.com/espressif/esp-idf/issues/5721
2020-09-02 15:02:52 +08:00
kapil.gupta
594a196364
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-09-02 14:55:10 +08:00
xiehang
8757cefeec
esp_wifi: add rf test long short support
2020-09-02 14:54:23 +08:00
liu zhifu
627a05d80e
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-09-02 14:52:49 +08:00
liu zhifu
368d623e1a
esp_wifi: optimize WiFi TX performance
2020-09-02 14:44:45 +08:00
Island
9cd0e2fd1a
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
See merge request espressif/esp-idf!10241
2020-09-02 14:20:49 +08:00
XieWenxiang
82deea84eb
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
2020-09-02 11:18:25 +08:00
Marius Vikhammer
86d8f15a9a
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681
)
Closes https://github.com/espressif/esp-mqtt/issues/158
SSL: add support for tls with secure element (ATECC608A)
esp-mqtt commit: a7ff9afa3f
)
Closes https://github.com/espressif/esp-mqtt/issues/156
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10
)
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d
)
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab
)
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2
)
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-09-01 15:57:47 +08:00
Marius Vikhammer
70a67439bc
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:30:40 +08:00
Michael (XIAO Xufeng)
f3705832fd
Merge branch 'bugfix/add_adc-dma_for_esp32' into 'master'
...
driver(adc): add adc-dma code for esp32
Closes IDF-1407
See merge request espressif/esp-idf!9139
(cherry picked from commit 7876d7f5a6
)
bd92e951
driver(adc): add adc-dma code for esp32
2020-08-31 16:29:51 +08:00
fuzhibo
0f5bb06920
ut: fix touch sensor denoise ci fail
2020-08-31 16:01:50 +08:00
Michael (XIAO Xufeng)
06d1f69d84
Merge branch 'feature/vfs_uart_set_line_ending_v4.2' into 'release/v4.2'
...
feature: support vfs uart set line endings with specified uart number release/v4.2
See merge request espressif/esp-idf!9596
2020-08-30 22:34:47 +08:00
Michael (XIAO Xufeng)
1b0691f29a
Merge branch 'feature/esp32s2_adc_calib_V1_bp4.2' into 'release/v4.2'
...
driver/adc: support for esp32s2 adc calibration scheme (backport 4.2)
See merge request espressif/esp-idf!10064
2020-08-29 23:22:47 +08:00
Island
7d79d9f312
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.2)
See merge request espressif/esp-idf!9948
2020-08-28 13:55:46 +08:00
XieWenxiang
51ff44d96e
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.2)
2020-08-28 10:20:19 +08:00
Jiang Jiang Jian
e050feeb26
Merge branch 'bugfix/clean_wpa2_wifi_deinit' into 'master'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit
See merge request espressif/esp-idf!10103
(cherry picked from commit 4dcaa0e6f4
)
06bc7f1d
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-26 16:55:04 +08:00
Jiang Jiang Jian
5f56329f00
Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.2' into 'release/v4.2'
...
lw-ip: fix udp tx packet loss issue (backport v4.2)
See merge request espressif/esp-idf!10017
2020-08-26 12:38:37 +08:00
Jiang Jiang Jian
b498f0aebe
Merge branch 'bugfix/buff_semaphore_not_free_v4.2' into 'release/v4.2'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9983
2020-08-24 17:30:54 +08:00
Angus Gratton
a2d20f9412
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v4.2' into 'release/v4.2'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v4.2)
See merge request espressif/esp-idf!9952
2020-08-24 13:36:09 +08:00
morris
2d19e56877
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-20 10:48:04 +08:00
morris
c54d599d0d
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:47:08 +08:00
morris
d918e7ad8a
ethernet: handle early rx interrupt
2020-08-20 10:47:08 +08:00
Wu Bo Wen
4cbed9b364
driver/adc: support for esp32s2 adc calibration scheme
...
ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-08-17 14:43:41 +08:00
Angus Gratton
a8b8a1531e
Merge branch 'feature/efuse_esp32s2_add_fields_in_table_v4.2' into 'release/v4.2'
...
efuse: Add some fields in efuse_table and update esp_efuse_get_pkg_ver() (v4.2)
See merge request espressif/esp-idf!9994
2020-08-17 12:50:49 +08:00
Jiang Jiang Jian
98d5b5dfd9
Merge branch 'feature/esp_spp_stop_srv_v4.2' into 'release/v4.2'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.2]
See merge request espressif/esp-idf!9993
2020-08-15 15:46:54 +08:00
Jiang Jiang Jian
d0dae54263
Merge branch 'bugfix/update_esp32_phy_4370_v4.2' into 'release/v4.2'
...
esp_wifi: backport some wifi fix to v4.2
See merge request espressif/esp-idf!10024
2020-08-14 17:45:22 +08:00
wangcheng
a557746cdd
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-14 17:16:23 +08:00
houwenxiang
3967e1b6d2
vfs: support vfs uart set line endings with specified uart number (release/v4.2)
2020-08-14 16:01:14 +08:00
Jiang Jiang Jian
e169226d3b
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.2' into 'release/v4.2'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.2)
See merge request espressif/esp-idf!10031
2020-08-13 13:47:49 +08:00
liqigan
6e94f6f9f4
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:08:28 +08:00
ChenJianxing
a57fb727e7
esp_wifi: backport some wifi fix to v4.2
...
1.Fix WiFi fragment issue
2.fix the bug for softAP power save buffer issue
3.fix softap mode event issue
4.fix connect hidden AP doesn't update information
5.update esp32 phy v4370
2020-08-12 21:59:37 +08:00
ronghulin
0e24eacc81
bugfix: fix softap mode event issue
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-12 21:58:48 +08:00
xiehang
c91ca054c3
lwip: fix udp tx packet loss issue
2020-08-12 15:02:29 +08:00
Angus Gratton
7dfe4b4684
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v4.2' into 'release/v4.2'
...
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init (v4.2)
See merge request espressif/esp-idf!9497
2020-08-11 10:00:07 +08:00
Jiang Jiang Jian
202dbaffa7
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix_v4.2' into 'release/v4.2'
...
wpa_supplicant: Fix WPA3 and WPA2 transition related failures (Backport v4.2)
See merge request espressif/esp-idf!9865
2020-08-10 23:25:42 +08:00
zhangyanjiao
f4a7ee3db3
esp_wifi: fix the crash when wifi stop after deinit
2020-08-10 20:34:50 +08:00
Michael (XIAO Xufeng)
76cd5c8793
Merge branch 'feature/tinyusb_config_cleanup_v4.2' into 'release/v4.2'
...
Feature/tinyusb config cleanup (v4.2)
See merge request espressif/esp-idf!9824
2020-08-10 18:17:42 +08:00
KonstantinKondrashov
94597fc8e3
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-08-10 09:41:35 +00:00
Nachiket Kukade
21dc9fcb5d
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-08-10 09:05:48 +00:00
KonstantinKondrashov
d87d9a714e
efuse: Add some fields in efuse_table and update esp_efuse_get_pkg_ver()
...
Closes: IDF-1077
2020-08-10 15:59:02 +08:00
lly
c24de8dc10
ble_mesh: stack: Client model related code clean
2020-08-07 21:11:34 +08:00
lly
59a590fb25
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-07 21:11:34 +08:00
lly
f0b89688c9
ble_mesh: stack: Check client msg result in common func
2020-08-07 21:11:34 +08:00
lly
41aea8e528
ble_mesh: stack: Fix no events for some error conditions
2020-08-07 21:11:34 +08:00
lly
bc19eb2506
ble_mesh: stack: Move client role set to the msg function
2020-08-07 21:11:33 +08:00
lly
964f372d58
ble_mesh: stack: Remove some not used client parameters
2020-08-07 21:11:33 +08:00
lly
29749b9dae
ble_mesh: stack: Remove some not used variables & functions
2020-08-07 21:11:33 +08:00
lly
c058f3594f
ble_mesh: stack: Update client model msg send
2020-08-07 21:11:33 +08:00
Jiang Jiang Jian
c72ae1281e
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.2' into 'release/v4.2'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.2)
See merge request espressif/esp-idf!9934
2020-08-07 18:10:01 +08:00
KonstantinKondrashov
2620942568
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-07 08:49:18 +00:00
KonstantinKondrashov
229dbd70c9
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
2020-08-07 08:43:12 +00:00
Jiang Jiang Jian
7162964776
Merge branch 'feature/enable_pcm_config_v4.2' into 'release/v4.2'
...
Feature/enable pcm config v4.2
See merge request espressif/esp-idf!9652
2020-08-07 14:19:03 +08:00
Jiang Jiang Jian
4382ec4b8d
Merge branch 'component/seperate_bta_jv_l2c_4.2' into 'release/v4.2'
...
Component/seperate bta jv l2c 4.2
See merge request espressif/esp-idf!9644
2020-08-07 14:18:02 +08:00
Jiang Jiang Jian
0db87821f1
Merge branch 'bugfix/customer_baidu_int_wdt_v4.2' into 'release/v4.2'
...
backport v4.2: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9223
2020-08-07 14:12:00 +08:00
Jiang Jiang Jian
501ca00178
Merge branch 'feature/esp_tls_for_supplicant_v4.2' into 'release/v4.2'
...
wpa_supplicant: Support for mbedtls tls handshake(backport v4.2)
See merge request espressif/esp-idf!9821
2020-08-07 14:01:54 +08:00
KonstantinKondrashov
15e408d070
newlib: Fix UT for adjtime
2020-08-06 20:01:52 +08:00
KonstantinKondrashov
39e318977d
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
...
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.
Closes: https://github.com/espressif/esp-idf/issues/5194
2020-08-06 20:01:52 +08:00
Michael (XIAO Xufeng)
5f0eb04684
esp_flash: decrease some of the performance threshold
2020-08-06 12:04:22 +08:00
Angus Gratton
dd3c032972
Merge branch 'bugfix/esp_netif_restart_dhcpc_v4.2' into 'release/v4.2'
...
esp_netif: Remove restarting DHCP client/server if it has already been started (backport v4.2)
See merge request espressif/esp-idf!9919
2020-08-06 11:19:30 +08:00
Mahavir Jain
96bc7761f5
Merge branch 'feature/upgrade_mbedtls_to_v4.2' into 'release/v4.2'
...
mbedtls: update to mbedtls release v2.16.7 (v4.2)
See merge request espressif/esp-idf!9906
2020-08-05 20:13:40 +08:00
Hou Chen Yao
caa21fdc67
remove auto conn case because we do not support this anymore
2020-08-05 18:03:12 +08:00
dongyou
0b1ef494a7
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 14:08:46 +08:00
Michael (XIAO Xufeng)
789119262b
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.2' into 'release/v4.2'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.2)
See merge request espressif/esp-idf!9841
2020-08-04 17:45:37 +08:00
Angus Gratton
9409b2ecb7
Merge branch 'feature/support_for_esp32_pico_v3_02_v4.2' into 'release/v4.2'
...
psram: support for esp32-pico-v3-02 (backport v4.2)
See merge request espressif/esp-idf!9787
2020-08-04 14:30:14 +08:00
Li Shuai
e911826340
add soft solution for esp32 eco3 live lock issue
2020-08-04 05:50:18 +00:00
Jiang Jiang Jian
706bc799fa
Merge branch 'bugfix/fix_fragment_issue_v4.2' into 'release/v4.2'
...
esp_wifi: Fix WiFi fragment issue (backport v4.2)
See merge request espressif/esp-idf!9896
2020-08-04 12:26:04 +08:00
David Cermak
0e6777f78b
esp_netif tests: Add manual DHCP state transision tests
...
Extended test cases for DHCP server and DHCP client state transitions to include also manual transitions using esp_netif_dhcps_start/stop() esp_netif_dhcpc_start/stop()
2020-08-04 12:07:57 +08:00
David Cermak
39f804ae07
esp_netif: Remove restarting DHCP client and server if it has already been started
...
To be in line with previous behaviour in tcpip_adapter, do nothing and return appropriate error if the DHCP client/server has already been started
2020-08-04 12:07:49 +08:00
Mahavir Jain
8796a53132
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-08-03 14:14:10 +05:30
Michael (XIAO Xufeng)
9dbff45229
Merge branch 'feature/twai_backport_v4.2' into 'release/v4.2'
...
TWAI: esp32s2 support and multiple bugfixes (backport v4.2)
See merge request espressif/esp-idf!9884
2020-08-03 11:13:20 +08:00
weitianhua
8de78c2b3b
Seperate BTA_JV_L2CAP for less bin size
2020-08-01 16:40:43 +08:00
weitianhua
64eab16847
Enable PCM config in controller
2020-08-01 16:37:34 +08:00
weitianhua
0952b9de8a
Enable PCM Config in Host
2020-08-01 16:36:36 +08:00
xiehang
ad8a873dff
esp_wifi: Fix WiFi fragment issue
2020-07-31 20:17:45 +08:00
fuzhibo
885f8ce484
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-31 17:52:41 +08:00
Michael (XIAO Xufeng)
934fe37c48
Merge branch 'bugfix/fix_adc_dac_driver_ut_backport' into 'release/v4.2'
...
Driver(adc): fix adc driver and UT (backport v4.2)
See merge request espressif/esp-idf!9359
2020-07-31 17:09:24 +08:00
Jiang Jiang Jian
33dab9d165
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.2' into 'release/v4.2'
...
bugfix: fix softap mode wpa memory leak (backport v4.2)
See merge request espressif/esp-idf!9845
2020-07-31 16:45:38 +08:00
Darian Leung
21e2f02962
TWAI: Remove asserts used for program logic
...
This commit fixes the bug where TWAI driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-30 22:17:41 +08:00
Darian Leung
519b8898b3
twai: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-07-30 22:17:14 +08:00
Darian Leung
e6db25af9d
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-07-30 22:09:39 +08:00
fuzhibo
f444d4d2dc
driver(adc): fix unit test for ADC-DMA (test_esp32s2.c); fix unit test for ADC-DMA (test_esp32s2.c); fix commit in adc dirver.
2020-07-30 19:38:23 +08:00
fuzhibo
9bc72d5732
driver(touch): fix touch sensor driver redundancy
2020-07-30 11:41:11 +08:00
Jiang Jiang Jian
f06ce4832d
Merge branch 'bugfix/update_esp32_phy_4350_v4.2' into 'release/v4.2'
...
esp_wifi: update phy lib(Backport v4.2)
See merge request espressif/esp-idf!9823
2020-07-30 01:59:04 +08:00
Andrei Gramakov
e5b242a3cb
usb: removes non-integrated features
2020-07-29 15:50:56 +02:00
Jiang Jiang Jian
e7179db204
Merge branch 'nimble/nrpa_support_v4.2' into 'release/v4.2'
...
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.2)
See merge request espressif/esp-idf!9741
2020-07-29 19:05:01 +08:00
Jiang Jiang Jian
10e59593f6
Merge branch 'bugfix/bt_linkup_fallback_event_v4.2' into 'release/v4.2'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.2)
See merge request espressif/esp-idf!9801
2020-07-29 19:04:41 +08:00
ronghulin
157ecfaf43
bugfix: fix softap mode wpa memory leak
2020-07-29 14:14:35 +08:00
Mahavir Jain
293d7f34b8
Merge branch 'fix/prov_ble_read_offset_v4.2' into 'release/v4.2'
...
BLE provisioning: Add check for valid ble read offset (v4.2)
See merge request espressif/esp-idf!9744
2020-07-28 16:42:09 +08:00
Michael (XIAO Xufeng)
19ae66dfa2
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 12:36:03 +08:00
ChenJianxing
02e7e9c417
esp_wifi: update phy lib
...
1. esp32 phy lib v4350
2. esp32s2 phy lib v603
2020-07-27 21:42:44 +08:00
Hrudaynath Dhabe
8bb287bae8
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
...
specified interface.
Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-27 21:41:36 +08:00
Nachiket Kukade
3af4b51a5c
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-27 21:41:20 +08:00
kapil.gupta
ebd1bb9a12
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-07-27 18:49:47 +05:30
kapil.gupta
89ef69cbd0
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-07-27 18:49:07 +05:30
kapil.gupta
4b7c8d4a2d
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-07-27 18:47:27 +05:30
Chinmay Chhajed
9cf4dd20e0
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-27 13:52:58 +05:30
Michael (XIAO Xufeng)
b284c48854
Merge branch 'bugfix/esp32s2_lightsleep_uart_suspend_v4.2' into 'release/v4.2'
...
esp32s2: suspend UART output using XOFF before entering light sleep (backport v4.2)
See merge request espressif/esp-idf!9293
2020-07-27 15:55:33 +08:00
Prasad Alatkar
851b4e9576
BLE provisioning: Add check for valid ble read offset
2020-07-27 07:21:07 +00:00
David Čermák
636b964c8c
Merge branch 'bugfix/ws_send_abort_v4.2' into 'release/v4.2'
...
websocket client: the client now aborts the connection if send fails. (backport v4.2)
See merge request espressif/esp-idf!9169
2020-07-24 23:15:08 +08:00
Angus Gratton
3191a8cbc7
esp32s2: Always use eFuse config for WP pin
...
No reason to override just this pin in software.
2020-07-24 21:45:59 +08:00
Angus Gratton
a94685a222
esp32: Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
...
Allows booting in QIO/QOUT mode or with PSRAM on ESP32-PICO-V3 and
ESP32-PICO-V3-O2 without any config changes.
Custom WP pins (needed for fully custom circuit boards) should still be compatible.
2020-07-24 21:45:31 +08:00
chenjianqiang
55a1bd0fb6
feat(esp32): support for esp32-pico-v3-02
2020-07-24 21:20:27 +08:00
chenjianqiang
c945cb59d8
feat(psram): support 16Mbit PSRAM for esp32
2020-07-24 21:19:45 +08:00
chenjianqiang
6a253e8809
bugfix(psram): configure MMU after PSRAM initialization
2020-07-24 21:10:37 +08:00
Prasad Alatkar
a4e8e56288
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.2)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-24 06:55:22 +00:00
Mahavir Jain
6b80aebc87
Merge branch 'bugfix/convert-string-to-bytes_v4.2' into 'release/v4.2'
...
components: convert string to bytes to fix TypeError (backport v4.2)
See merge request espressif/esp-idf!9734
2020-07-23 16:36:57 +08:00
Angus Gratton
e6e4fe45c6
Merge branch 'ci/fix_uart_read_write_priorities_v4.2' into 'release/v4.2'
...
driver test: Ensure uart write task can't overflow buffer of read task (v4.2)
See merge request espressif/esp-idf!9569
2020-07-23 13:15:45 +08:00
Michael (XIAO Xufeng)
51b5c7a079
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.2' into 'release/v4.2'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.2)
See merge request espressif/esp-idf!9554
2020-07-22 21:12:16 +08:00
martin.gano
5feeb744e1
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba
)
2020-07-22 11:23:12 +02:00
Michael (XIAO Xufeng)
ccdfbb865e
Merge branch 'bugfix/add_return_task_awoken_for_timer_callback_v4.2' into 'release/v4.2'
...
timer: add return task awoken for timer callback (backport v4.2)
See merge request espressif/esp-idf!9149
2020-07-22 16:19:37 +08:00
Angus Gratton
b356707948
Merge branch 'ci/workaround_multiple_ci_failures_v4.2' into 'release/v4.2'
...
CI: workaround multiple ci failures (v4.2)
See merge request espressif/esp-idf!9684
2020-07-22 11:52:43 +08:00
Marius Vikhammer
441308fc16
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-07-21 07:51:01 +00:00
Jiang Jiang Jian
53e8857849
Merge branch 'bugfix/ipv6_fragment_for_4.2' into 'release/v4.2'
...
lw-ip:fix bug for ipv6 fragment(backport 4.2)
See merge request espressif/esp-idf!9583
2020-07-21 12:11:34 +08:00
Jiang Jiang Jian
0bcd26a610
Merge branch 'bugfix/fix_hci_max_page_num_v4.2' into 'release/v4.2'
...
bugfix/Support for more Bluetooth HID devices [backport v4.2]
See merge request espressif/esp-idf!9660
2020-07-21 12:10:59 +08:00
Jiang Jiang Jian
15e40f909f
Merge branch 'bugfix/fix_get_bond_device_list_v4.2' into 'release/v4.2'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.2]
See merge request espressif/esp-idf!9666
2020-07-21 12:10:24 +08:00
Alex Lisitsyn
5f1e61498e
Bugfix/espcoredump fix error reported for blank partition (Backport v4.2)
2020-07-21 01:05:54 +08:00
Angus Gratton
e1b03f08af
Merge branch 'bugfix/doc_macro_definitions_v4.2' into 'release/v4.2'
...
doc: Fix macro definitions for different targets (v4.2)
See merge request espressif/esp-idf!9566
2020-07-20 08:25:33 +08:00
He Yin Ling
b3692aba5e
CI: do not run cases likely to fail
2020-07-19 14:52:57 +08:00
He Yin Ling
468bd6f854
CI: disable cases with test env SSC_T5_1
2020-07-19 14:52:57 +08:00
He Yin Ling
fb7e3c508b
CI: remove incorrect MTU related cases
2020-07-19 14:52:56 +08:00
boblane
e14906f073
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:06:39 +08:00
lly
b39eaf61b5
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 14:05:18 +08:00
DerfJagged
d1506fdae0
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:07:41 +08:00
lly
2e01297603
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-16 11:02:24 +08:00
lly
5fceac92ee
ble_mesh: stack: Make proxy server & client functions clear
2020-07-16 11:02:24 +08:00
Island
d8c657c6f0
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh add misc check (v4.2)
See merge request espressif/esp-idf!9630
2020-07-16 10:52:26 +08:00
David Čermák
001c673f4e
Merge branch 'bugfix/eth_insert_min_hw_reset_time_v4.2' into 'release/v4.2'
...
ethernet: insert min assert time for PHY HW reset (v4.2)
See merge request espressif/esp-idf!9579
2020-07-15 16:35:46 +08:00
lly
fc99963376
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-15 16:10:48 +08:00
lly
1846def7ac
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-15 16:10:48 +08:00
lly
37322ce93f
ble_mesh: stack: Add more checks about input prov bearers
2020-07-15 16:10:48 +08:00
Island
daf8098a00
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v4.2' into 'release/v4.2'
...
Feat/ble mesh use iram for mem alloc (v4.2)
See merge request espressif/esp-idf!9614
2020-07-15 16:06:47 +08:00
lly
a6dcfb4a5a
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-14 21:19:32 +08:00
lly
efcd9ee4a8
ble_mesh: stack: Use macros for adv task name & prio
2020-07-14 21:19:32 +08:00
lly
6abfc2a8f7
ble_mesh: stack: Make freertos static allocation visible
2020-07-14 21:19:32 +08:00
lly
c0db196464
ble_mesh: stack: Add a option of using IRAM for memory allocation
2020-07-14 21:19:32 +08:00
Mahavir Jain
a9d8d8ea99
esp32s2: remove bt references from esp32s2 ld script
2020-07-14 18:04:28 +05:30
weitianhua
b716800000
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-14 14:43:15 +08:00
Mahavir Jain
38e75dca1d
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.2' into 'release/v4.2'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.2)
See merge request espressif/esp-idf!9590
2020-07-14 12:05:02 +08:00
Ivan Grokhotkov
31121e5af1
Merge branch 'bugfix/rs485_test_temp_disable_v42' into 'release/v4.2'
...
Bugfix/rs485 test temp disable (backport v4.2)
See merge request espressif/esp-idf!9525
2020-07-13 20:41:42 +08:00
Mahavir Jain
40a29866f6
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-13 15:32:41 +05:30
Ivan Grokhotkov
4ed889dfa2
esp32s2: sleep_modes: remove dependency on driver/uart.h
2020-07-13 09:52:29 +02:00
Ivan Grokhotkov
3a88ac7900
soc: add periph_ll_periph_enabled to clk_gate_ll.h
2020-07-13 09:52:29 +02:00
Ivan Grokhotkov
31cd3f1294
esp32s2: suspend UART output using XOFF before entering light sleep
...
Same logic as for the ESP32, except two changes:
* need to set UART_SW_FLOW_CON_EN bit for UART_FORCE_XOFF to take
effect
* need to check if the peripheral is not clockgated and out of reset
2020-07-13 09:52:29 +02:00
xueyunfei
74396ae2cc
fix bug for ipv6 fragment
2020-07-13 11:49:52 +08:00
morris
49c1d40b2d
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:05:38 +08:00
Jiang Jiang Jian
1f8c5b2b64
Merge branch 'docs/fix_event_typo_backport_v4.2' into 'release/v4.2'
...
docs/fix event typo backport v4.2
See merge request espressif/esp-idf!9382
2020-07-12 21:24:03 +08:00
chenjianqiang
9274339fb5
timer: add return task awoken for timer callback
2020-07-12 11:01:47 +00:00
Shubham Kulkarni
07abd9092a
Include header file soc/cpu.h in memprot.c and system_api.c
...
This fixes build issues with Vanilla FreeRTOS
2020-07-10 18:21:20 +05:30
Jiang Jiang Jian
897e950e21
Merge branch 'bugfix/add_api_to_get_internal_heap_v4.2' into 'release/v4.2'
...
esp_wifi: Add API to get available internal heap size (backport v4.2)
See merge request espressif/esp-idf!9516
2020-07-10 16:54:38 +08:00
Island
86c197a8db
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh update send ttl v4.2
See merge request espressif/esp-idf!9562
2020-07-10 14:06:12 +08:00
Angus Gratton
870fa2237e
driver test: Ensure uart write task can't overflow buffer of read task
...
Previously both tasks had equal priority, possible for write task and another
internal task to be scheduled at the same time - starving read task and
causing data loss.
Related to IDFCI-59
2020-07-10 15:59:48 +10:00
Angus Gratton
c44a433b8b
driver: Fix some doxygen warnings
2020-07-10 14:53:16 +10:00
Michael (XIAO Xufeng)
b39a0be9d2
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.2' into 'release/v4.2'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.2)
See merge request espressif/esp-idf!9360
2020-07-10 11:05:00 +08:00
lly
615d64b6f9
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:13:53 +08:00
lly
1ec2f98691
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:13:53 +08:00
Wielebny666
e64d1378b4
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-09 19:19:23 +08:00
Jiang Jiang Jian
f52c35258c
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v4.2' into 'release/v4.2'
...
psram: fix 16mbit psram id read error (backport v4.2)
See merge request espressif/esp-idf!9424
2020-07-09 15:27:23 +08:00
Supreet Deshpande
d1c4791dad
Add platform independent CMake signing
2020-07-09 11:54:53 +05:30
Angus Gratton
0cb87f67da
Merge branch 'feature/console_repl_over_uart_v4.2' into 'release/v4.2'
...
console_repl over UART (v4.2)
See merge request espressif/esp-idf!9422
2020-07-08 16:10:37 +08:00
Ivan Grokhotkov
aec1353ffe
ci: temporarily disable RS485 related tests
2020-07-08 06:54:24 +02:00
xiehang
8efabd1307
esp_wifi: Add API to get available internal heap size.
2020-07-08 10:46:34 +08:00
Jakob Hasse
4911dde551
nvs: unit tests for new partition API
2020-07-08 08:59:12 +08:00
Dmitriy Shilin
051dff88e4
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-07-08 08:59:03 +08:00
Jiang Jiang Jian
ad5c4eb3f5
Merge branch 'mesh/bugfix_for_tbtt_update_v4.2' into 'release/v4.2'
...
fix the bug for tsf check (backport v4.2)
See merge request espressif/esp-idf!9279
2020-07-07 14:40:35 +08:00
Anton Maklakov
59541071fb
Merge branch 'bugfix/gen_crt_py3_utf_v4.2' into 'release/v4.2'
...
Fixes issues encoding issues python3 scripts for unicode chars (v4.2)
See merge request espressif/esp-idf!9174
2020-07-07 11:04:59 +08:00
Michael (XIAO Xufeng)
a3a22d4af5
Merge branch 'bugfix/fix_ci_about_touch_sensor_denoise_ut_backport_v4.2' into 'release/v4.2'
...
driver(touch): fix touch sensor denoise unit test case (backport v4.2)
See merge request espressif/esp-idf!9451
2020-07-06 10:21:32 +08:00
Angus Gratton
0e8f630711
Merge branch 'bugfix/esp32_encrypted_flash_write_v4.2' into 'release/v4.2'
...
spi_flash: esp32: fix regression in encrypted flash write (v4.2)
See merge request espressif/esp-idf!9349
2020-07-06 08:18:56 +08:00
zhangyanjiao
4761c4059a
esp_wifi:
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
3. fix the bug when calculating the PMK, the local rx beacon time increment is 0
4. mesh: don't disconnect when tbtt update
2020-07-03 14:18:39 +08:00
lly
dd6de08bea
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:16 +08:00
lly
661e1f2500
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:16 +08:00
fuzhibo
34fc02f5db
driver(touch): fix touch sensor denoise unit test case
2020-07-02 13:04:46 +08:00
lly
76baeba6b7
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:53:50 +00:00
lly
7e7d2ae401
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:53:50 +00:00
lly
d9e8508981
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:53:50 +00:00
lly
11406d7ee8
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:53:50 +00:00
lly
80837bd936
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:53:50 +00:00
lly
3c0584f013
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:53:50 +00:00
lly
f1f3c7afd6
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:53:50 +00:00
Island
fcef568c70
Merge branch 'bugfix/ble_mesh_compile_error_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh compile error (v4.2)
See merge request espressif/esp-idf!9430
2020-07-02 11:28:55 +08:00
fuzhibo
68ed940668
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 09:29:34 +00:00
Jiang Jiang Jian
ce60660c7c
Merge branch 'bugfix/fix_ping_specify_length_issue_v4.2' into 'release/v4.2'
...
bugfix: fix ICMP specify length issue (backport v4.2)
See merge request espressif/esp-idf!9401
2020-07-01 17:25:26 +08:00
Jiang Jiang Jian
e5fed6d67d
Merge branch 'mesh/bugfix_coexist_warning_4.2' into 'release/v4.2'
...
mesh: remove coexist warnings in ESP_WIFI_MESH (backport 4.2)
See merge request espressif/esp-idf!9412
2020-07-01 13:51:30 +08:00
Jiang Jiang Jian
655772ec23
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.2' into 'release/v4.2'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9336
2020-07-01 13:48:46 +08:00
lly
b239677c97
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 11:54:32 +08:00
Island
f1642bfaaf
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh set recv rssi (v4.2)
See merge request espressif/esp-idf!9390
2020-07-01 11:31:47 +08:00
Island
e9f21b096f
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.2' into 'release/v4.2'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.2)
See merge request espressif/esp-idf!9395
2020-07-01 11:16:16 +08:00
Michael (XIAO Xufeng)
76c1be0d94
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15
.
2020-06-30 21:45:31 +08:00
chenjianqiang
a3a4c828e9
psram: fix 16mbit psram id read error
2020-06-30 21:44:39 +08:00
ronghulin
404a5994e6
bugfix: fix ICMP specify length issue
2020-06-30 13:42:19 +00:00
morris
98d7f13c24
console_repl: change config structure to support different devices
2020-06-30 20:18:27 +08:00
Chinmay Chhajed
ec043aac06
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-30 14:41:46 +05:30
chenyudong
334052194e
mesh: remove coexist warnings in ESP_WIFI_MESH
...
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
2020-06-30 16:33:08 +08:00
Jiang Jiang Jian
6938c615d8
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs_v4.2' into 'release/v4.2'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check.(backport 4.2)
See merge request espressif/esp-idf!9236
2020-06-30 15:11:56 +08:00
lly
6f715c4472
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-30 09:22:21 +08:00
lly
3fa5daf0ba
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-06-30 09:05:23 +08:00
mbroek
4b3bb6c8fd
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-30 09:05:23 +08:00
liminyang
5bf8bb6d3a
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:48:48 +08:00
Mahavir Jain
c0a40cf7e8
Merge branch 'fix/esp_tls_wolfssl_fix_cert_verify_v4.2' into 'release/v4.2'
...
esp_tls_wolfssl : fix incorrect error message after handshake fails (v4.2)
See merge request espressif/esp-idf!9229
2020-06-29 13:00:49 +08:00
Mahavir Jain
3d68e92a58
Merge branch 'bugfix/http_server_lru_v4.2' into 'release/v4.2'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.2)
See merge request espressif/esp-idf!9350
2020-06-29 12:57:02 +08:00
Island
00148cd0c6
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.2' into 'release/v4.2'
...
ble_mesh: Get node info with pre-configured node name (v4.2)
See merge request espressif/esp-idf!9302
2020-06-28 20:25:32 +08:00
Island
3c92395170
Merge branch 'bugfix/ble_mesh_bt_hex_v4.2' into 'release/v4.2'
...
ble_mesh: Fix wrong log output with bt_hex (v4.2)
See merge request espressif/esp-idf!9309
2020-06-28 20:24:31 +08:00
Island
257384ea75
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh not define bool (v4.2)
See merge request espressif/esp-idf!9316
2020-06-28 20:23:21 +08:00
Island
6d20c836ff
Merge branch 'bugfix/ble_mesh_check_model_status_v4.2' into 'release/v4.2'
...
ble_mesh: stack: Check model status with variable length (v4.2)
See merge request espressif/esp-idf!9319
2020-06-28 20:22:40 +08:00
Jakob Hasse
36ee7d706a
Doc: DS documentation for S2
2020-06-28 09:42:02 +08:00
Shubham Kulkarni
f97751712f
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:24:23 +05:30
Mahavir Jain
939a7ada04
spi_flash: esp32: fix regression in encrypted flash write
...
In commit 309376f51a
, it seems like regression
was added to use ROM level API for disabling flash write protection. This
started random firmware crashes (on specific modules) with exception
`IllegalInstruction` during encrypted flash writes.
Fix here removes relevant ROM API call, since disabling flash write protection
is already ensured by caller of this API.
Closes https://github.com/espressif/esp-idf/issues/5467
2020-06-26 18:20:06 +05:30
Angus Gratton
ae35b6abcd
Merge branch 'bugfix/bootloader_header_align_v4.2' into 'release/v4.2'
...
bootloader: Force bootloader_image_hdr to be word aligned (v4.2)
See merge request espressif/esp-idf!9069
2020-06-24 20:33:47 +08:00
lly
698fe7dd99
ble_mesh: stack: Check model status with variable length
2020-06-24 14:12:53 +08:00
lly
bd5ef62253
ble_mesh: Remove boolean type definitions
2020-06-24 14:05:58 +08:00
Nikolaos Strikos
5bacf6b23d
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 14:05:58 +08:00
lly
55f48877a4
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-24 12:29:33 +08:00
lly
b4b2cd19f7
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-24 10:58:36 +08:00
zhangyanjiao
cdc0374448
esp_wifi:
...
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
4. Fix TX DMA buffer issue
2020-06-22 19:33:08 +08:00
Angus Gratton
ee126bc154
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.2' into 'release/v4.2'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.2)
See merge request espressif/esp-idf!9011
2020-06-22 13:06:01 +08:00
Island
aaeb2ba733
Merge branch 'bugfix/att_buffer_count_fixed_v4.2' into 'release/v4.2'
...
Bugfix/att buffer count fixed v4.2
See merge request espressif/esp-idf!9161
2020-06-22 11:44:54 +08:00
wangcheng
12d39f9faa
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:54:53 +08:00
Aditya Patwardhan
f6b0307e1a
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 12:58:40 +05:30
Island
710249c86a
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.2' into 'release/v4.2'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.2)
See merge request espressif/esp-idf!9201
2020-06-18 13:44:52 +08:00
Michael (XIAO Xufeng)
82c4ed30b6
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.2' into 'release/v4.2'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.2)
See merge request espressif/esp-idf!9039
2020-06-18 01:47:51 +08:00
Jiang Jiang Jian
1f074d313b
Merge branch 'bugfix/fix_some_wifi_bugs_0617_v4.2' into 'release/v4.2'
...
fix some wifi bugs 0617 (backport v4.2)
See merge request espressif/esp-idf!9210
2020-06-17 18:27:37 +08:00
Jiang Jiang Jian
a406885360
Merge branch 'feature/make_tcp_rto_configurable_v4.2' into 'release/v4.2'
...
make TCP rto time configurable (backport v4.2)
See merge request espressif/esp-idf!9211
2020-06-17 18:23:34 +08:00
Jiang Jiang Jian
a6f2205cdb
Merge branch 'bugfix/ble_conn_fail_v4.2' into 'release/v4.2'
...
Fix bugs from coex test
See merge request espressif/esp-idf!9099
2020-06-17 18:16:37 +08:00
yuanjm
c5768c019e
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:20:00 +08:00
baohongde
783cd1bb08
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-17 07:15:46 +00:00
baohongde
d4b232590a
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 07:15:46 +00:00
baohongde
ef92a22b0c
components/coex: Fix ble connecting fail in coexist
2020-06-17 07:15:46 +00:00
zhangyanjiao
f5a6ae7e93
esp_wifi:
...
1. Fix WPA3 Auth timeout during BLE coex
2. fix addba ssn and send bar for first ampdu
3. fix the bug that airkiss find hidden AP fail
4. update mesh lib
5. fix interrupt handle param variable error
2020-06-17 14:55:45 +08:00
ChenJianxing
ba67a9518e
fix esp32s2 do not have crc*_be func
2020-06-17 14:53:08 +08:00
KonstantinKondrashov
49c9f69eae
esp32s2: Move some code after the stdout initialization
2020-06-17 13:40:42 +08:00
KonstantinKondrashov
a6ac0e8a51
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization
...
After setting _GLOBAL_REENT, ESP_LOGIx can be used instead of ESP_EARLY_LOGx.
Closes: https://github.com/espressif/esp-idf/issues/5343
2020-06-17 13:40:42 +08:00
Wang Cheng
21ff2f84ce
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-17 12:52:28 +08:00
Geng Yu Chao
02cd178115
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-17 12:52:18 +08:00
wangcheng
17609cbb02
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:19:00 +08:00
liqigan
4dd29dac94
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-06-16 22:18:21 +08:00
xiongyu
27e6e8c485
bugfix(uart): fix esp32 fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-16 14:34:23 +08:00
Marius Vikhammer
1358734b3f
Fixes issues with gen_crt_bundle.py for unicode chars
...
gen_crt_bundle.py could fail to parse the certificates if it contained a non-ascii character.
2020-06-15 15:20:43 +08:00
wangcheng
7f299d9d60
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:10:30 +08:00
wangcheng
d53a2719b9
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:09:45 +08:00
wangcheng
f9b0cd1847
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:09:36 +08:00
Jiang Jiang Jian
1504fe5358
Merge branch 'bugfix/esp32_can_not_scan_ap_after_restart_v4.2' into 'release/v4.2'
...
esp_wifi: upadte esp32 phy lib to 4182 (v4.2)
See merge request espressif/esp-idf!9113
2020-06-11 11:54:24 +08:00
Angus Gratton
5054cd05fc
Merge branch 'bugfix/intr_alloc_no_log_from_critical_section_v4.2' into 'release/v4.2'
...
intr_alloc: don't call ESP_LOG from critical section (v4.2)
See merge request espressif/esp-idf!9088
2020-06-10 15:58:23 +08:00
zhangyanjiao
c9769e535e
esp_wifi: upadte esp32 phy lib to 4182
2020-06-09 17:33:55 +08:00
Jiang Jiang Jian
21a9c9b653
Merge branch 'bugfix/authmode_degrade_fix_v4.2' into 'release/v4.2'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold(backport v4.2)
See merge request espressif/esp-idf!9090
2020-06-09 17:30:50 +08:00
kapil.gupta
f74729c3bc
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-08 12:53:22 +05:30
David Čermák
cc99cac782
Merge branch 'feature/pin_ethernet_task_to_core_v4.2' into 'release/v4.2'
...
ethernet: support pin emac task to core (v4.2)
See merge request espressif/esp-idf!9036
2020-06-08 13:52:01 +08:00
morris
9773f79e6e
intr_alloc: using isr version of critical section
2020-06-08 12:52:25 +08:00
zhangyanjiao
8643d7acb9
wifi:
...
1. Fix the bug that ESP32S2 can't receive AMPDU when airkiss
2. Fix WPA3 Auth issue in coex scenario
2020-06-05 06:00:37 +00:00
Angus Gratton
e7ab7ce3af
bootloader: Force bootloader_image_hdr to be word aligned
...
Possible due to linker order for this file to be placed unaligned,
causing failure from bootloader_flash_read() function.
2020-06-04 20:56:26 +10:00
Island
a8f40b7095
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.2' into 'release/v4.2'
...
ble_mesh: Remove relay option dependency (v4.2)
See merge request espressif/esp-idf!9025
2020-06-03 15:20:35 +08:00
Island
9bdaa64d80
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh example nvs store (v4.2)
See merge request espressif/esp-idf!9015
2020-06-03 15:11:54 +08:00
Island
55cd09578f
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh model recv fix (v4.2)
See merge request espressif/esp-idf!9006
2020-06-03 15:11:15 +08:00
Island
118b69ce0d
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.2' into 'release/v4.2'
...
ble_mesh: Rework prov pdu length check (v4.2)
See merge request espressif/esp-idf!9002
2020-06-03 15:10:33 +08:00
morris
b16c20fa30
ethernet: support pin emac task to core
2020-06-03 11:06:41 +08:00
lly
eeb44e7dd6
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:18:18 +08:00
lly
adf785a1b0
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-06-02 14:02:54 +08:00
lly
b25cffd4d5
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:02:54 +08:00
lly
4919d17ad1
ble_mesh: Optimize some send & recv logs
2020-06-02 14:02:53 +08:00
Angus Gratton
c69210c0f2
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Also disable the relevant function in bignum.h based on config, so fails at
compile not link time.
Closes https://github.com/espressif/esp-idf/issues/5321
2020-06-02 13:35:48 +10:00
Island
6fa8df519d
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh local model sub (v4.2)
See merge request espressif/esp-idf!8982
2020-06-02 10:58:05 +08:00
lly
1a3c315d2f
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:31:08 +08:00
lly
8271ae4a1e
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:31:08 +08:00
lly
d6a247f7e4
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-02 10:31:07 +08:00
lly
4fbc29616c
ble_mesh: Rework prov pdu length check
2020-06-02 10:13:21 +08:00
lly
067d94e88f
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:10:17 +08:00
lly
6bc4f5802d
ble_mesh: Define a macro for invalid company id
2020-06-01 09:10:17 +08:00
Alexey Gerenkov
29b03b2999
coredump: Fixes size of memory region used by espcoredump.py
2020-05-29 21:09:21 +03:00
Angus Gratton
baedfab382
Merge branch 'feature/dis_uart_dl_mode' into 'master'
...
feature: Disable UART download mode
Closes IDF-1386
See merge request espressif/esp-idf!8590
2020-05-29 14:09:54 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Mahavir Jain
e8035c3eff
Merge branch 'feature/app_update_add_api' into 'master'
...
Add API to write data in a non-contiguous manner
See merge request espressif/esp-idf!8650
2020-05-29 12:25:54 +08:00
Jiang Jiang Jian
ba48120931
Merge branch 'bugfix/add_so_linger_to_menuconfig' into 'master'
...
lw-ip:add LINGER to menuconfig
Closes WIFI-2342
See merge request espressif/esp-idf!8746
2020-05-29 11:11:03 +08:00
Angus Gratton
f4edc52fa0
efuse: Have support for secure DL mode depend on a soc_caps flag
2020-05-28 18:02:02 +10:00
Angus Gratton
d45eabe676
esptool: Add support for ESP32-S2 Secure Download Mode
...
* Pass --no-stub from build system if configured to enable ESP32-S2 Secure Download Mode
* Update esptool submodule
2020-05-28 17:52:15 +10:00
Angus Gratton
f64ae4fa99
efuse: Add 'disable Download Mode' & ESP32-S2 'Secure Download Mode' functionality
2020-05-28 17:50:45 +10:00
Angus Gratton
48d9c14c28
efuse: Add new esp_efuse_read_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
1dd5a4dba4
efuse: Add new esp_efuse_write_field_bit() convenience function
2020-05-28 17:45:09 +10:00
Angus Gratton
9b822a3d2e
esp32s2: Disable legacy boot mode & ROM remap modes if either Secure Boot or Flash Encryption is on
2020-05-28 17:45:09 +10:00
Shubham Kulkarni
6a1b3221c4
app_update: Add API to write data in a non contiguous manner
2020-05-28 10:18:55 +05:30
Jiang Jiang Jian
8f2d1e7f92
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project' into 'master'
...
Bugfix/collection of confirmed fixes from baidu project
Closes BT-826, BT-542, BCI-31, BCI-34, BT-840, and AUD-1857
See merge request espressif/esp-idf!8675
2020-05-28 12:23:58 +08:00
Island
705fc0f0e5
Merge branch 'bugfix/ble_mesh_check_timer_init' into 'master'
...
ble_mesh: Check the result of creating timer
Closes BLEMESH-218
See merge request espressif/esp-idf!8932
2020-05-28 10:11:47 +08:00
Michael (XIAO Xufeng)
f81da10951
Merge branch 'bugfix/sdmmc_check_slot_before_pullup' into 'master'
...
sdmmc: Correctly check function parameters before using them
Closes IDFGH-2967
See merge request espressif/esp-idf!8827
2020-05-27 23:08:01 +08:00
Jiang Jiang Jian
1056d2a1b7
Merge branch 'bugfix/esp32s2_flash_mmap_cache2phys_phys2cache' into 'master'
...
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
See merge request espressif/esp-idf!8526
2020-05-27 20:20:46 +08:00
Jiang Jiang Jian
ed1c0bf445
Merge branch 'bugfix/rm_tx_buffer_limits' into 'master'
...
esp_wifi: remove wifi tx buffer limits
See merge request espressif/esp-idf!8933
2020-05-27 20:12:17 +08:00
lly
6768c2b7a1
ble_mesh: Check the result of creating timer
2020-05-27 09:30:34 +00:00
Island
3b85d4ef24
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes' into 'master'
...
Bugfix/ble mesh sync zephyr fixes
Closes BLEMESH-215
See merge request espressif/esp-idf!8912
2020-05-27 17:26:00 +08:00
Island
d82f3372a0
Merge branch 'bugfix/ble_mesh_not_use_same_private_key' into 'master'
...
ble_mesh: Not using pre-initialized private key
Closes BLEMESH-214
See merge request espressif/esp-idf!8905
2020-05-27 17:25:39 +08:00
Island
02376b97d4
Merge branch 'bugfix/ble_mesh_uses_deprecated_config' into 'master'
...
ble_mesh: Fix using old config for duplicate scan
Closes BLEMESH-213
See merge request espressif/esp-idf!8898
2020-05-27 17:23:55 +08:00
Island
7b12d96169
Merge branch 'bugfix/ble_mesh_comp_data_store_restore' into 'master'
...
ble_mesh: Same func for storing/restoring comp data
See merge request espressif/esp-idf!8882
2020-05-27 17:23:21 +08:00
ChenJianxing
9e45c3c7d8
esp_wifi: remove wifi tx buffer limits
2020-05-27 15:06:53 +08:00
Jiang Jiang Jian
ff9322e007
Merge branch 'mesh/add_ps_ie_option' into 'master'
...
mesh: add mesh PS option following add announce
Closes WIFI-2348 and WIFI-2330
See merge request espressif/esp-idf!8826
2020-05-27 11:15:50 +08:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
jiangguangming
b25ccde45f
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
2020-05-26 15:14:23 +08:00
lly
0cfb6c138b
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-26 11:42:31 +08:00
Angus Gratton
94f5129bf8
mbedtls: Don't compile hardware MPI & SHA files if disabled in config
...
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when
disabled in config.
2020-05-26 03:37:46 +00:00
lly
f863a1b328
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-26 11:16:01 +08:00
lly
05c287e05c
ble_mesh: Not using pre-initialized private key
2020-05-26 10:46:22 +08:00
lly
3c1487be0e
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:48:15 +08:00
Michael (XIAO Xufeng)
0d90861984
Merge branch 'bugfix/fix_rmt_driver_breaking_change_issue' into 'master'
...
Bugfix(RMT): Fix the breaking change issue of RMT driver.
Closes IDFGH-2837, IDFGH-2579, and IDFGH-2915
See merge request espressif/esp-idf!8006
2020-05-25 15:27:24 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Michael (XIAO Xufeng)
b3587ff88c
Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
...
Bugfix(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug
Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117
See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
lly
bbbdbb8699
ble_mesh: Same func for storing/restoring comp data
2020-05-25 13:27:08 +08:00
Jiang Jiang Jian
5bb656bd5e
Merge branch 'bugfix/bt_universal_calculation' into 'master'
...
bugfix/correct_bt_mac_calculation
Closes IDFGH-3343
See merge request espressif/esp-idf!8825
2020-05-25 11:57:37 +08:00
Wei Tian Hua
6572959fd3
Add user invisible kconfig for bt mac offset
...
Closes https://github.com/espressif/esp-idf/issues/5320
2020-05-25 11:57:37 +08:00
xueyunfei
df43a1affc
add LINGER to menuconfig
2020-05-25 11:23:03 +08:00
Krzysztof Budzynski
56635f22b8
Merge branch 'doc/add_types_api_ref' into 'master'
...
doc: add peripheral_types.h as API reference for peripheral docs
Closes DOC-136 and IDF-1673
See merge request espressif/esp-idf!8528
2020-05-25 03:22:22 +08:00
Ivan Grokhotkov
1f734b7057
Merge branch 'feature/native_smp_suport' into 'master'
...
APP CPU syscall table for gcov handler
See merge request espressif/esp-idf!8350
2020-05-23 20:31:22 +08:00
Island
248db690e1
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub' into 'master'
...
ble_mesh: Fix Provisioner failed to publish
Closes BLEMESH-211
See merge request espressif/esp-idf!8872
2020-05-22 19:14:00 +08:00
Darian Leung
baf06d4971
Increase C++ unit test leak threshold
...
Heap fragmentation causes 4-8 bytes of memory to be leaked
(due to rounding up of memory sizes). Increase the leak
thresholds to prevent test cases from failing.
2020-05-22 16:39:44 +08:00
lly
af37aee5bf
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:32:12 +08:00
Anton Maklakov
a9c61dca4e
Merge branch 'bugfix/static_analysis_mem_issues' into 'master'
...
fix minor static analysis memory issues
See merge request espressif/esp-idf!8697
2020-05-22 15:08:20 +08:00
Ivan Grokhotkov
a2d7e8cbba
Merge branch 'bugfix/crt_bundle_no_config_file' into 'master'
...
esp_crt_bundle: fixes the "No CA Chain is set" error
See merge request espressif/esp-idf!8851
2020-05-22 09:34:32 +08:00
Mahavir Jain
6272cb842f
Merge branch 'feature/esp_wroom32_se_example' into 'master'
...
Feature/esp wroom32 se example
See merge request espressif/esp-idf!8552
2020-05-21 19:51:19 +08:00
Aditya Patwardhan
423e600d46
secure_element: atecc608_ecdsa example
...
* Replaced crypotoauthlib with esp-cryptoauthlib
* Added menuconfig option for esp-tls about using HSM
* Added error codes for HSM in esp-tls,
* Added support to select different type of ATECC608A chips
* Added README, updated docs
* tcp_transport: Added option to enable secure_element for ssl
Closes https://github.com/espressif/esp-idf/issues/4432
2020-05-21 13:08:30 +05:30
Marius Vikhammer
f72d259622
esp_crt_bundle: fixes the "No CA Chain is set" error
...
When compiling esp_crt_bundle.c, it would end up with a different struct layout due
to configuration options from "mbedtls/esp_config.h" not being considered.
This lead to ca_chain potentially not being set correctly.
2020-05-21 15:19:49 +08:00
Island
9f801fd2f5
Merge branch 'bugfix/ble_mesh_friend_init_flag' into 'master'
...
ble_mesh: Add init flag for friend init/deinit
Closes BLEMESH-205
See merge request espressif/esp-idf!8783
2020-05-21 11:46:17 +08:00
chenyudong
8fb982c512
mesh: add mesh PS option following add announce
2020-05-21 03:40:47 +00:00
Angus Gratton
0ad6e1b977
Merge branch 'feature/80m_flashspeed_esp32s2' into 'master'
...
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
See merge request espressif/esp-idf!8739
2020-05-21 10:22:59 +08:00
Mahavir Jain
7a2ea9b7f7
esp-tls: add support for using hardware security module
2020-05-20 22:52:37 +05:30
Bryan Hunt
4553f6c95d
Add cryptoauthlib as a component with mbedtls integration
...
* Add options to mbedtls for hardware acceleration
* Disable mbedtls EC curves if hardware acceleration is selected
since the hardware will have to define the curves supported
* Add a hardware ecdsa example
2020-05-20 22:52:37 +05:30
Jiang Jiang Jian
5f08bed88b
Merge branch 'feature/optimize_wifi_API_max_tx_power_description' into 'master'
...
feature: optimize wifi API max tx power description
Closes WIFI-1097
See merge request espressif/esp-idf!8173
2020-05-20 22:43:54 +08:00
lly
b1f3843ed6
ble_mesh: Clear two more vars during proxy server deinit
2020-05-20 11:35:26 +00:00
lly
d5b126667a
ble_mesh: Add missing sdkconfig.h
2020-05-20 11:35:26 +00:00
lly
4e60919a66
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-20 11:35:26 +00:00
lly
a0ce8c64b0
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-20 11:35:26 +00:00
Angus Gratton
5bd75b134d
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
...
Most ESP32 devices will also work at 80MHz, but third party boards/modules
may not have been tested at this speed so the default is kept at 40MHz for safety.
2020-05-20 06:19:34 +00:00
Mahavir Jain
e497bf37c4
Merge branch 'bugfix/httpd_lru_purge' into 'master'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge
Closes IDFGH-2680
See merge request espressif/esp-idf!8818
2020-05-20 14:08:02 +08:00
Alexander Borsuk
fb0fa34ac8
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-05-20 13:09:05 +08:00
David Čermák
7d7f3f8d8f
Merge branch 'bugfix/esp_netif_minor_fixes' into 'master'
...
esp-netif: Minor fixes
Closes IDFGH-3311
See merge request espressif/esp-idf!8799
2020-05-20 12:47:01 +08:00
ronghulin
cdaeef70c3
feature: optimize wifi API max tx power description
2020-05-20 11:52:42 +08:00
Jiang Jiang Jian
af97a5abc3
Merge branch 'workaround/wps_iot_fixes' into 'master'
...
wpa_supplicant: WPS Inter operatability Fixes
See merge request espressif/esp-idf!8654
2020-05-20 11:32:34 +08:00
Jiang Jiang Jian
b0cbc4f7bb
Merge branch 'bugfix/optimize_4way_handshake' into 'master'
...
ESP-WIFI; Optimize 4way handshake failure time
See merge request espressif/esp-idf!8020
2020-05-20 11:29:56 +08:00
Jiang Jiang Jian
05f4668ad0
Merge branch 'nimble/update_nimble_submodule' into 'master'
...
NimBLE: Include upstream fixes and use macros for log level filtering
See merge request espressif/esp-idf!8448
2020-05-20 11:23:46 +08:00
Piyush Shah
c2ab112590
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-05-19 22:11:02 +05:30
Mahavir Jain
7dbf01afad
coap: move mbedTLS config options from component to examples
...
CoAP component relies on some mbedTLS crypto configuration
options, e.g. DTLS and PSK. These configuration options if
selected, have footprint impact on generic TLS examples like
https_request or https_ota as well.
Footprint of https_request example with/without change is per below:
$ ./tools/idf_size.py new_https_request.map --diff old_https_request.map
<CURRENT> MAP file: new_https_request.map
<REFERENCE> MAP file: old_https_request.map
Difference is counted as <CURRENT> - <REFERENCE>, i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>: <REFERENCE> Difference
DRAM .data size: 14796 bytes 14796
DRAM .bss size: 23560 bytes 23680 -120
Used static DRAM: 38356 bytes ( 142380 available, 21.2% used) 38476 -120 ( +120 available, +0 total)
Used static IRAM: 89045 bytes ( 42027 available, 67.9% used) 89045 ( +0 available, +0 total)
Flash code: 554231 bytes 563823 -9592
Flash rodata: 179000 bytes 181224 -2224
Total image size:~ 860632 bytes (.bin may be padded larger) 872568 -11936
This commit moves relevant config options to CoAP specific examples
and also adds some run time warnings if they are kept disabled.
Closes https://github.com/espressif/esp-idf/issues/5262
2020-05-19 17:23:29 +05:30
kapil.gupta
fb53a454b9
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-05-19 16:55:42 +05:30
Jiang Jiang Jian
56c307b356
Merge branch 'mesh/set_type_new' into 'master'
...
mesh: support set new type (node and sta)
Closes WIFI-1824, WIFI-1725, WIFI-1823, and WIFI-1908
See merge request espressif/esp-idf!7934
2020-05-19 16:53:49 +08:00
Ivan Grokhotkov
948580d1a2
Merge branch 'gdb/bt_on_invalid_pc' into 'master'
...
gdb: Modify PC in case of invalid PC
See merge request espressif/esp-idf!8391
2020-05-19 16:44:07 +08:00
David Cermak
95b5ef3687
esp-netif: wifi-deinit to clear handlers only in tcpip-adapter mode
2020-05-19 08:34:36 +00:00
David Cermak
1183b95cc4
esp-netif: Fix compilation if ESP_GRATUITOUS_ARP not enabled
...
Closes https://github.com/espressif/esp-idf/issues/5294
2020-05-19 08:34:36 +00:00
kapil.gupta
76335b2558
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-05-19 08:05:52 +00:00
Nachiket Kukade
c643d0a611
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-05-19 08:05:52 +00:00
Angus Gratton
183dddd50e
Merge branch 'bugfix/wdt_reset_info_unicore' into 'master'
...
bootloader: Don't print an error message after WDT reset in unicore mode
See merge request espressif/esp-idf!8570
2020-05-19 15:54:06 +08:00
Michael (XIAO Xufeng)
fd3e28ef0d
Merge branch 'bugfix/esp_flash_write_performance_regression' into 'master'
...
esp_flash: fix the write performance regression
See merge request espressif/esp-idf!8658
2020-05-19 12:06:42 +08:00
houwenxiang
0bf2906bc9
driver(RMT): Fix the breaking change issue of RMT driver introduced by refactoring.
...
After RMT driver refactor, two breaking change are introduced:
1. Users needs to call `rmt_driver_install` before `rmt_config`.
2. Do not support memory block count > 1,
fix this two issues
closes https://github.com/espressif/esp-idf/issues/4664
closes https://github.com/espressif/esp-idf/issues/4959
2020-05-19 11:39:38 +08:00
Angus Gratton
3e7ba2f389
bootloader: Don't print an error message after WDT reset in unicore mode
...
Caused some confusion here: https://github.com/espressif/esp-idf/issues/4388
2020-05-19 03:35:53 +00:00
Angus Gratton
4fa8f7d01b
Merge branch 'bugfix/parttool_get_info_wo_info_option' into 'master'
...
partition_table: Fix parttool.py crashes when retrieving partition info
Closes IDFGH-3279
See merge request espressif/esp-idf!8715
2020-05-19 11:30:20 +08:00
chenyudong
040f4be2a7
mesh: support set new type
...
If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router
Release emesh_recv_toDS when the root becomes non-root
esp_mesh_set_type now supports MESH_IDLE and MESH_STA
2020-05-19 11:17:56 +08:00
Jiang Jiang Jian
37f4e3855f
Merge branch 'bugfix/fix_sta_connect_compatibility' into 'master'
...
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
Closes WIFI-2110 and WIFI-1809
See merge request espressif/esp-idf!8382
2020-05-18 22:26:52 +08:00
houwenxiang
b35d9002f3
driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
...
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.
For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.
closes https://github.com/espressif/esp-idf/issues/5065
closes https://github.com/espressif/esp-idf/issues/4957
closes https://github.com/espressif/esp-idf/issues/2978
closes https://github.com/espressif/esp-idf/issues/5136
Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
David Cermak
8a45f074fc
esp-netif: Added API to get the underlying interface name
...
The interface name can be used in socket API, i.e. setsockopt(). The API esp_netif_get_netif_impl_name() shoudl be used to populate standard
interface structure struct ifreq.
2020-05-18 09:26:24 +02:00
David Cermak
06711c7c36
examples: common connect component to use both interfaces at once
2020-05-18 09:26:24 +02:00
xiehang
158602c942
esp_wifi: Fix the timeout issue of EAPOL four-way handshake
2020-05-18 14:53:31 +08:00
weitianhua
8fc05d0665
Fix ASSERT for RXDESC and save the log for debug
2020-05-18 06:51:51 +00:00
weitianhua
8d1032ccac
Fix ASSERT in ld_acl at line 302 forclkoff1 and localval
2020-05-18 06:51:51 +00:00
weitianhua
77cc105c72
Fix ld_acl schedule bug to parity shift
2020-05-18 06:51:51 +00:00
weitianhua
55877684a0
Fix ASSERT(64,0) in rwble.c
2020-05-18 06:51:51 +00:00
weitianhua
0811851378
Fix ASSERT in ld_pscan.c at line 1032
2020-05-18 06:51:51 +00:00
weitianhua
b20f254483
Free lmp tx buf in EM in the procedure of handling LMP_detach_Req when not received the last acknowledge from peer device and seperate them by ACL State
2020-05-18 06:51:51 +00:00
weitianhua
190ff3ae37
Fix that when slave initiate unsniff procedure and meet transaction collision, no mode change event is repoerted
2020-05-18 06:51:51 +00:00
weitianhua
70fa5b4ac5
Fix int_wdt due to disable interrupt too long time
2020-05-18 06:51:51 +00:00
weitianhua
c18ed5cbee
Fix Connection fail in loop
2020-05-18 06:51:51 +00:00
weitianhua
7aeb3d329a
Set AFH in BTDM Task when WiFi changes channel
2020-05-18 06:51:51 +00:00
weitianhua
e0e1154b62
Fix ASSERT(25,0) in lc_task.c
2020-05-18 06:51:51 +00:00
weitianhua
899e49b90e
Disable frequent warning log in ld_acl
2020-05-18 06:51:51 +00:00
weitianhua
b45f2d3913
Move default log level to WARNING instead ERROR in BT Controller
2020-05-18 06:51:51 +00:00
Mahavir Jain
be3b6b7cb8
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
See merge request espressif/esp-idf!8313
2020-05-18 13:55:05 +08:00
Michael (XIAO Xufeng)
3f778a92da
spi_flash: add unit test for read/write performance
2020-05-17 22:06:03 +08:00
Michael (XIAO Xufeng)
651eb1a694
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-05-17 22:06:02 +08:00
Michael (XIAO Xufeng)
f67044c822
spi: simplify the caps header
...
The mapping logic from register address to instance number is moved into the LL
2020-05-17 22:06:01 +08:00
Michael (XIAO Xufeng)
dae3196157
esp_flash: fix issue that cannot add flash on SPI1 CS1 when SPI_FLASH_SHARE_SPI1_BUS is disabled
2020-05-17 22:06:00 +08:00
Jiang Jiang Jian
bb2379b7ab
Merge branch 'bugfix/wpa3_mixed_mode_authype' into 'master'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype
See merge request espressif/esp-idf!8778
2020-05-17 17:04:18 +08:00
Jiang Jiang Jian
bef57a8ddc
Merge branch 'bugfix/V3.1.7_ble_bug_mr' into 'master'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash
See merge request espressif/esp-idf!8729
2020-05-16 19:52:34 +08:00
Island
52e9bcb696
Merge branch 'bugfix/ble_mesh_remove_patch' into 'master'
...
ble_mesh: Remove patch for the bug of an App
Closes BLEMESH-202
See merge request espressif/esp-idf!8737
2020-05-15 20:17:22 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Mahavir Jain
5b5a8c276d
Merge branch 'feature/mbedtls_add_config_options' into 'master'
...
Add config options in mbedtls
See merge request espressif/esp-idf!8760
2020-05-15 15:53:21 +08:00
zhiweijian
ec6c7558ef
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 15:35:39 +08:00
Angus Gratton
62754ff90a
Merge branch 'docs/fix_static_sem_api_desc' into 'master'
...
Fix usage example in xSemaphoreCreateBinaryStatic
Closes IDFGH-3280
See merge request espressif/esp-idf!8750
2020-05-15 15:04:36 +08:00
Shubham Kulkarni
ca3daa50de
mbedtls: Add configuration options
2020-05-15 11:27:44 +05:30
Jiang Jiang Jian
26ab1c54ec
Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
...
esp_wifi: When WiFi TSF is active, skip light sleep
Closes WIFI-2305 and WIFI-2306
See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00
David Čermák
5e436be77f
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user' into 'master'
...
ethernet: esp_eth_stop API should stop emac hardware
Closes WIFI-2247 and WIFI-2337
See merge request espressif/esp-idf!8664
2020-05-15 04:40:55 +08:00
Mahavir Jain
0d208aabab
mbedtls: esp32s2: check and reallocate output buffer if its from non-DMA range
...
Earlier check was for only input buffer but it is quite likely to have
output buffer also from non-DMA memory range and hence requirement to
reallocate and then copy data from AES engine.
2020-05-14 13:12:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Mahavir Jain
1aac284dda
heap: add rtc fast memory region to dynamic pool
...
- for ESP32 only enabled in case of unicore config
- capability wise this region (8K) is same as DRAM, except non-DMA capable
- also fixed small issue in reserved memory region processing when (start == end)
2020-05-14 13:12:26 +00:00
Dong Heng
3d57bf30a2
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
2020-05-14 11:45:09 +00:00
Dmytro
ecbfe0f406
Fix usage example in xSemaphoreCreateBinaryStatic
2020-05-14 18:57:48 +08:00
Krzysztof
9b5acea160
Add missing link to ulp header files and link to example following https://esp32.com/viewtopic.php?f=2&t=15562
2020-05-14 17:31:05 +08:00
Michael (XIAO Xufeng)
437a8fa9d2
Merge branch 'test/sdio_ut_performance_time' into 'master'
...
sdio: fix random unit test performance failure
See merge request espressif/esp-idf!8665
2020-05-14 16:19:45 +08:00
Jiang Jiang Jian
a0288c1e8d
Merge branch 'bugfix/wpa3_pmf_memleak_fix' into 'master'
...
WPA3 / PMF memory leak fixes
Closes WIFI-2324 and WIFI-2326
See merge request espressif/esp-idf!8676
2020-05-14 14:21:21 +08:00
Angus Gratton
8928cbb593
Merge branch 'bugfix/add_requirements_for_espefuse' into 'master'
...
esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt
See merge request espressif/esp-idf!8641
2020-05-14 12:37:22 +08:00
Michael (XIAO Xufeng)
94ce4836ae
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep' into 'master'
...
driver(gpio): fix gpio can't wakeup light sleep
Closes IDF-1361
See merge request espressif/esp-idf!8522
2020-05-14 11:45:40 +08:00
KonstantinKondrashov
86a73de9b3
esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt
...
They are necessary for espefuse.py from esptool v3.0.
2020-05-14 13:29:21 +10:00
lly
25a6ea9600
ble_mesh: Remove patch for the bug of an App
2020-05-14 10:24:15 +08:00
Angus Gratton
6ccd7dbc59
Merge branch 'nimble/config_option_sdkconfig_rename' into 'master'
...
Add NimBLE config options in sdkconfig.rename
Closes IDF-1650
See merge request espressif/esp-idf!8653
2020-05-14 09:30:16 +08:00
Nachiket Kukade
b302b4bb43
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free this
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 22:54:03 +05:30
Nachiket Kukade
f36455052d
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-13 22:54:03 +05:30
Jiang Jiang Jian
1d5ef75c7d
Merge branch 'bugfix/espnow_fetch_peer_crash' into 'master'
...
wifi: fix the crash issue when fetch peer after delete cur_peer
Closes WIFI-2307
See merge request espressif/esp-idf!8626
2020-05-13 23:21:21 +08:00
wangcheng
418b32e71b
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-13 20:33:24 +08:00
wangcheng
a5ac789725
fix bta_dm_deinit_cb crash
2020-05-13 20:18:27 +08:00
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
Wang Jia Lin
cf32e4fc22
Merge branch 'bugfix/fix_adc_io_init_bug' into 'master'
...
driver(adc): fix adc io init bug
Closes IDF-1541
See merge request espressif/esp-idf!8301
2020-05-13 16:35:58 +08:00
KonstantinKondrashov
e3ea943088
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-05-13 16:10:48 +08:00
morris
d8a9ce14d7
ethernet: fix potential task watch dog timeout
2020-05-13 16:03:00 +08:00
morris
4454b198bb
ethernet: better control start/stop/uninstall/install
2020-05-13 15:58:42 +08:00
morris
6020d6a5d4
ethernet: esp_eth_stop API should stop emac hardware
2020-05-13 15:58:42 +08:00
David Cermak
f13f8927b1
esp-timer: fix (ignore) false positive memory alloc/free issue found by static analyser
2020-05-13 07:30:26 +02:00
David Cermak
6a47dc9275
esp-netif: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
David Cermak
49e8c09ec2
local-ctrl: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
David Cermak
917192725a
http-client: fix memory allocation issues found by static analyser
2020-05-13 07:16:45 +02:00
Ivan Grokhotkov
695f075a13
Merge branch 'bugfix/core_dump_data_struct_ovf' into 'master'
...
Fixes core dump data overwriting
See merge request espressif/esp-idf!8611
2020-05-13 04:03:29 +08:00
zhangyanjiao
4dc7a36eca
wifi: fix the crash issue when fetch peer after delete cur_peer
2020-05-12 21:05:50 +08:00
Island
c946ca8b45
Merge branch 'bugfix/ble_mesh_node_old_version_to_new' into 'master'
...
ble_mesh: Fix mesh node device role restore
Closes BLEMESH-188
See merge request espressif/esp-idf!8314
2020-05-12 20:36:55 +08:00
Island
1d22f17da3
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov' into 'master'
...
ble_mesh: Not ignore msg when fast prov is enabled
Closes BLEMESH-196
See merge request espressif/esp-idf!8698
2020-05-12 20:36:41 +08:00
Island
b0a096495a
Merge branch 'bugfix/ble_mesh_fix_typos' into 'master'
...
ble_mesh: Fix typos
Closes BLEMESH-199
See merge request espressif/esp-idf!8703
2020-05-12 20:36:30 +08:00
Jiang Jiang Jian
84a410dc4c
Merge branch 'bugfix/fix_switch_channel_without_discon_issue' into 'master'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect
Closes WIFI-2192 and WIFI-2277
See merge request espressif/esp-idf!8657
2020-05-12 20:21:12 +08:00
lly
f7ef701856
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-12 19:25:57 +08:00
lly
6b9c0dda08
ble_mesh: Fix typos
2020-05-12 16:23:13 +08:00
fuzhibo
d91e64cea4
driver(gpio): fix gpio can't wakeup light sleep
2020-05-12 07:15:13 +00:00
fuzhibo
8256b5f32b
driver(adc): fix adc io init bug; add unit test to check;
2020-05-12 06:52:26 +00:00
Mahavir Jain
bd920d22b0
Merge branch 'bugfix/softap_prov_session' into 'master'
...
protocomm_httpd: Restart security session if request is received on a new session
See merge request espressif/esp-idf!8633
2020-05-12 13:16:20 +08:00
Michael (XIAO Xufeng)
f10a721d88
sdio: fix the unit of performance test
2020-05-12 12:25:46 +08:00
Michael (XIAO Xufeng)
69d9e0eadc
sdio: fix random unit test performance failure
...
The tests used to measure the throughput by FreeRTOS
`xTaskGetTickCount()`. The rounding error can be quite big, compared to
total measurement time (1350 ms for 4-bit mode).
This commit use `esp_timer_get_time()` instead to measure typical time,
which is in microseconds. Moreover, to get rid of the time error from
cache miss, `ccomp_timer_*` are used to get the cache compensated time
to measure the throughput used for unit test performance assertion.
2020-05-12 12:25:45 +08:00
lly
d937b415e3
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-12 11:22:07 +08:00
Jiang Jiang Jian
5f2be35525
Merge branch 'bugfix/supplicant_general_fixes' into 'master'
...
wpa_supplicant: Fix some memleaks and invalid memory access
Closes IDF-1335
See merge request espressif/esp-idf!8201
2020-05-12 11:03:14 +08:00
Piyush Shah
05852bc4aa
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-05-11 13:01:13 +00:00
Mahavir Jain
012b111d6d
Merge branch 'feature/mbedtls_hkdf' into 'master'
...
mbedtls_hkdf: Add a config option to enable HKDF
See merge request espressif/esp-idf!8680
2020-05-11 15:29:54 +08:00
Piyush Shah
43b3def711
mbedtls_hkdf: Add a config option to enable HKDF
2020-05-11 11:49:14 +05:30
Prasad Alatkar
2ef489005b
NimBLE: Include upstream fixes and use macros for log level filtering
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-11 05:36:50 +00:00
Marius Vikhammer
27fa1dc0dd
doc: add peripheral_types.h as API reference for peripheral docs
...
Closes DOC-136
Closes IDF-1673
2020-05-11 11:20:39 +08:00
lly
c2fd80b8f4
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-11 02:29:18 +00:00
lly
97f11600e3
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-11 02:29:18 +00:00
lly
9d7adc3e1b
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-11 02:29:18 +00:00
lly
5e59233cc0
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-11 02:29:18 +00:00
lly
9e5fec73f8
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-11 02:29:18 +00:00
lly
d7a671ab7a
ble_mesh: Optimize some mesh log output
2020-05-11 02:29:18 +00:00
lly
52493a1644
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-11 02:29:18 +00:00
lly
8ea6714a96
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-11 02:29:18 +00:00
lly
52a30c8f4a
ble_mesh: Split mesh os related into a separate file
2020-05-11 02:29:18 +00:00
lly
01a8a6c150
ble_mesh: Split mesh mutex into a separate file
2020-05-11 02:29:18 +00:00
lly
c493be489f
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-11 02:29:18 +00:00