lly
5704b13bc9
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-31 13:57:12 +08:00
lly
c3b300064b
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-08-31 11:23:35 +08:00
lly
bbd9a8a44d
ble_mesh: stack: Make proxy server & client functions clear
2020-08-31 11:23:34 +08:00
fuzhibo
72f43489a5
rtc(adc/rtcio): fix adc rtcio driver for esp32
2020-08-31 03:19:58 +00:00
Island
5f9a48c352
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh add misc check (v4.1)
See merge request espressif/esp-idf!10198
2020-08-31 11:15:01 +08:00
Michael (XIAO Xufeng)
5b97931527
Merge branch 'feature/vfs_uart_set_line_ending_v4.1' into 'release/v4.1'
...
vfs: support vfs uart set line endings with specified uart number release/v4.1
See merge request espressif/esp-idf!9597
2020-08-30 22:33:11 +08:00
lly
72ce618f9a
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-28 17:45:09 +08:00
lly
36dc7ae71e
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-08-28 17:45:08 +08:00
lly
7b57311a0e
ble_mesh: stack: Add more checks about input prov bearers
2020-08-28 17:45:07 +08:00
lly
ad412850d0
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-28 06:07:17 +00:00
lly
20d33f27d6
ble_mesh: stack: Use macros for adv task name & prio
2020-08-28 06:07:17 +00:00
lly
84012fa82f
ble_mesh: stack: Make freertos static allocation visible
2020-08-28 06:07:17 +00:00
lly
ffcd55bbf2
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-28 06:07:17 +00:00
Island
e1e082072c
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh fast prov misc update (v4.1)
See merge request espressif/esp-idf!9465
2020-08-28 14:03:10 +08:00
Island
329f7f8210
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
See merge request espressif/esp-idf!9947
2020-08-28 13:55:28 +08:00
Island
0cc8639e2f
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh update send ttl (v4.1)
See merge request espressif/esp-idf!10159
2020-08-28 10:43:43 +08:00
XieWenxiang
a88420c860
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
2020-08-28 07:10:11 +08:00
Jiang Jiang Jian
21ef71fa2b
Merge branch 'bugfix/customer_baidu_int_wdt_v4.1' into 'release/v4.1'
...
backport v4.1: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9209
2020-08-27 22:44:56 +08:00
Jiang Jiang Jian
346f09bf1c
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v4.1' into 'release/v4.1'
...
fix some wifi bugs 0703 (v4.1)
See merge request espressif/esp-idf!9517
2020-08-27 22:44:25 +08:00
lly
ce4a8af3c7
ble_mesh: stack: Update some fast prov functions
2020-08-27 14:36:58 +00:00
lly
e3a7fb2fd4
ble_mesh: stack: Move fast prov functions to a single file
2020-08-27 14:36:58 +00:00
lly
7308f60a74
ble_mesh: ci: Fix failing to compile when using make
2020-08-27 10:57:51 +00:00
lly
50fc403018
ble_mesh: Mark platform related default RNG as 0
2020-08-27 10:57:51 +00:00
lly
0b65005ffd
ble_mesh: Remove the previously added redundant aes files
2020-08-27 10:57:51 +00:00
lly
60ba33afa9
ble_mesh: Update CMake and make files for tinycrypt
2020-08-27 10:57:51 +00:00
lly
d90f3f9119
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-08-27 10:57:51 +00:00
lly
7d40d308bb
ble_mesh: Format source and header files of tinycrypt
2020-08-27 10:57:51 +00:00
lly
0dda8869cd
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-08-27 10:57:51 +00:00
Island
8a0ae62a03
Merge branch 'bugfix/ble_mesh_compile_error_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy compile error (v4.1)
See merge request espressif/esp-idf!9431
2020-08-27 18:03:01 +08:00
Island
c4c3696d9b
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh example nvs store (v4.1)
See merge request espressif/esp-idf!9016
2020-08-27 13:58:45 +08:00
Jiang Jiang Jian
ca5c632b38
Merge branch 'workaround/wps_iot_fixes_v4.1' into 'release/v4.1'
...
wpa_supplicant: WPS Inter operatability Fixes( backport v4.1)
See merge request espressif/esp-idf!8952
2020-08-27 11:42:21 +08:00
Angus Gratton
a7bd982556
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v41' into 'release/v4.1'
...
Bugfix/espcoredump fix error reported for blank partition (Backport v4.1)
See merge request espressif/esp-idf!9628
2020-08-27 08:46:59 +08:00
Alex Lisitsyn
8647e5a839
Bugfix/espcoredump fix error reported for blank partition (Backport v4.1)
2020-08-27 08:46:58 +08:00
kapil.gupta
ab7eafa3b8
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-08-26 08:49:43 +00:00
Nachiket Kukade
367397385e
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-08-26 08:49:43 +00:00
lly
8988fb9b8d
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-08-26 08:28:12 +00:00
lly
bd187b022f
ble_mesh: Add more checks of net_idx & app_idx
2020-08-26 08:28:12 +00:00
lly
7ba69e5439
ble_mesh: Optimize some send & recv logs
2020-08-26 08:28:12 +00:00
lly
75af20e687
ble_mesh: stack: Add two application macros for TTL
2020-08-26 16:12:26 +08:00
lly
5952694160
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-08-26 16:12:26 +08:00
Island
e40e694cf9
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh set recv rssi (v4.1)
See merge request espressif/esp-idf!9400
2020-08-26 15:56:02 +08:00
lly
45f7edd4f2
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-08-26 07:50:10 +00:00
weitianhua
899ef49272
Seperate BTA_JV_L2CAP for less bin size
2020-08-26 15:30:26 +08:00
Island
ade43317ca
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.1' into 'release/v4.1'
...
ble_mesh: Get node info with pre-configured node name (v4.1)
See merge request espressif/esp-idf!10145
2020-08-26 15:28:15 +08:00
xiehang
58d37de620
esp_wifi: Add API to get available internal heap size.
2020-08-26 12:06:26 +08:00
zhangyanjiao
1e8f68f829
esp_wifi:
...
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. Fix the WiFi regdomain update bug
7. Fix WiFi fragment issue
2020-08-26 12:05:50 +08:00
Jiang Jiang Jian
a27ea5a6c8
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.1' into 'release/v4.1'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9339
2020-08-26 11:33:12 +08:00
xueyunfei
84c0fde0e8
fix bug for ipv6 fragment
2020-08-25 17:43:13 +08:00
lly
292333a27c
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-08-25 09:35:34 +08:00
Island
1c8ce47465
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.1' into 'release/v4.1'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.1)
See merge request espressif/esp-idf!9396
2020-08-24 17:20:12 +08:00
lly
bd59c89540
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-08-24 08:52:05 +00:00
mbroek
c3fe42250c
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-08-24 08:52:05 +00:00
houwenxiang
f664527eb4
vfs: support vfs uart set line endings with specified uart number (release/v4.1)
2020-08-24 15:37:44 +08:00
Angus Gratton
9b7dca3769
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v4.1' into 'release/v4.1'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v4.1)
See merge request espressif/esp-idf!9953
2020-08-24 13:37:27 +08:00
Angus Gratton
24efb6308d
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v4.1' into 'release/v4.1'
...
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init (v4.1)
See merge request espressif/esp-idf!9495
2020-08-24 13:36:51 +08:00
Chinmay Chhajed
6f22d7590e
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-08-24 10:27:04 +05:30
Jiang Jiang Jian
91903234a9
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.1' into 'release/v4.1'
...
Bugfix/fix event bug in GAP API [backport v4.1]
See merge request espressif/esp-idf!9192
2020-08-24 12:34:30 +08:00
Jiang Jiang Jian
294a00c15d
Merge branch 'feature/esp_spp_stop_srv_v4.1' into 'release/v4.1'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.1]
See merge request espressif/esp-idf!10011
2020-08-24 12:34:04 +08:00
Jiang Jiang Jian
55203e9c09
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.1' into 'release/v4.1'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.1)
See merge request espressif/esp-idf!10030
2020-08-24 12:32:58 +08:00
Jiang Jiang Jian
a40a5405b7
Merge branch 'feature/make_tcp_rto_configurable_v4.1' into 'release/v4.1'
...
make TCP rto time configurable (backport v4.1)
See merge request espressif/esp-idf!9212
2020-08-24 12:32:23 +08:00
Jiang Jiang Jian
c547044f28
Merge branch 'bugfix/fix_error_in_ag_api_4.1' into 'release/v4.1'
...
Fix error of AG API return line v4.1
See merge request espressif/esp-idf!9604
2020-08-24 12:32:21 +08:00
Jiang Jiang Jian
d4af9d1ce4
Merge branch 'bugfix/fix_hci_max_page_num_v4.1' into 'release/v4.1'
...
bugfix/Support for more Bluetooth HID devices [backport v4.1]
See merge request espressif/esp-idf!9661
2020-08-24 12:31:22 +08:00
Jiang Jiang Jian
bb0fe3785f
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.1' into 'release/v4.1'
...
bugfix: fix softap mode wpa memory leak (backport v4.1)
See merge request espressif/esp-idf!9846
2020-08-24 12:30:37 +08:00
Jiang Jiang Jian
84b9ce81bb
Merge branch 'bugfix/fix_get_bond_device_list_v4.1' into 'release/v4.1'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.1]
See merge request espressif/esp-idf!9667
2020-08-24 12:30:07 +08:00
Jiang Jiang Jian
6b1473e084
Merge branch 'bugfix/fix_ping_specify_length_issue_v4.1' into 'release/v4.1'
...
bugfix: fix ICMP specify length issue (backport v4.1)
See merge request espressif/esp-idf!9402
2020-08-24 12:29:41 +08:00
Jiang Jiang Jian
975b8d228f
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.1' into 'release/v4.1'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.1)
See merge request espressif/esp-idf!9936
2020-08-24 12:28:25 +08:00
Jiang Jiang Jian
a36a020657
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs_v4.1' into 'release/v4.1'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check.(backport 4.1)
See merge request espressif/esp-idf!9235
2020-08-24 12:27:59 +08:00
Jiang Jiang Jian
788fe71b6b
Merge branch 'nimble/nrpa_support_v4.1' into 'release/v4.1'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.1)
See merge request espressif/esp-idf!9740
2020-08-24 12:27:03 +08:00
Jiang Jiang Jian
9c96e4554c
Merge branch 'mesh/bugfix_set_type_4.1' into 'release/v4.1'
...
mesh/bugfix (backport 4.1)
See merge request espressif/esp-idf!9111
2020-08-24 12:25:26 +08:00
Michael (XIAO Xufeng)
c9ca1fbe78
Merge branch 'bugfix/fix_touch_sensor_api_backport_v4.1' into 'release/v4.1'
...
(High priority) driver(touch): fix touch sensor driver redundancy (backport v4.1)
See merge request espressif/esp-idf!9872
2020-08-23 16:08:49 +08:00
lly
3d888ca777
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-08-21 12:58:34 +00:00
Island
2a5679c253
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh model recv fix (v4.1)
See merge request espressif/esp-idf!9007
2020-08-21 20:37:53 +08:00
Island
b7259bab36
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh local model sub (v4.1)
See merge request espressif/esp-idf!8983
2020-08-21 20:37:37 +08:00
Michael (XIAO Xufeng)
869742de00
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_1' into 'release/v4.1'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.1)
See merge request espressif/esp-idf!8197
2020-08-21 18:59:45 +08:00
Michael (XIAO Xufeng)
2a4e91553d
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.1' into 'release/v4.1'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.1)
See merge request espressif/esp-idf!9553
2020-08-21 18:58:25 +08:00
Michael (XIAO Xufeng)
fc1f1902a8
Merge branch 'bugfix/gpio_hold_function_for_esp32' into 'release/v4.1'
...
Bugfix/gpio hold function for esp32 (backport v4.1)
See merge request espressif/esp-idf!9175
2020-08-21 18:50:23 +08:00
lly
9ba5899206
ble_mesh: correct the return type [Zephyr]
2020-08-21 07:21:15 +00:00
lly
6b6cf151cf
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-08-21 07:21:15 +00:00
lly
897acd6a1d
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-08-21 07:21:15 +00:00
lly
cc36e415c0
ble_mesh: Local model (un)subscribes group address
2020-08-21 07:18:44 +00:00
lly
a43e5feee8
ble_mesh: Define a macro for invalid company id
2020-08-21 07:18:44 +00:00
Island
ab6139b9df
Merge branch 'bugfix/ble_mesh_check_model_status_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Check model status with variable length (v4.1)
See merge request espressif/esp-idf!9399
2020-08-21 14:57:03 +08:00
Island
6e42afb45b
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh not define bool (v4.1)
See merge request espressif/esp-idf!9394
2020-08-21 14:56:46 +08:00
Island
252aaf2ab7
Merge branch 'bugfix/ble_mesh_bt_hex_v4.1' into 'release/v4.1'
...
ble_mesh: Fix wrong log output with bt_hex (v4.1)
See merge request espressif/esp-idf!9393
2020-08-21 14:56:34 +08:00
Island
9ff30e81c5
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.1' into 'release/v4.1'
...
ble_mesh: Remove relay option dependency (v4.1)
See merge request espressif/esp-idf!9026
2020-08-21 14:56:23 +08:00
Island
7bc32cb773
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.1' into 'release/v4.1'
...
ble_mesh: Rework prov pdu length check (v4.1)
See merge request espressif/esp-idf!9003
2020-08-21 14:56:07 +08:00
Mahavir Jain
12cb99e815
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.1' into 'release/v4.1'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.1)
See merge request espressif/esp-idf!9592
2020-08-21 12:30:45 +08:00
Michael (XIAO Xufeng)
866dde5025
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.1' into 'release/v4.1'
...
sdmmc: Correctly check function parameters before using them (4.1)
See merge request espressif/esp-idf!9055
2020-08-20 21:59:31 +08:00
Mahavir Jain
829080e10e
Merge branch 'bugfix/convert-string-to-bytes_v4.1' into 'release/v4.1'
...
components: convert string to bytes to fix TypeError (backport v4.1)
See merge request espressif/esp-idf!9733
2020-08-20 21:54:21 +08:00
Mahavir Jain
67504984c1
Merge branch 'feature/upgrade_mbedtls_to_v4.1' into 'release/v4.1'
...
mbedtls: update to mbedtls release v2.16.7 (v4.1)
See merge request espressif/esp-idf!9907
2020-08-20 21:52:51 +08:00
Mahavir Jain
29c40aa784
Merge branch 'bugfix/mbedtls_disable_sha_mpi_v4.1' into 'release/v4.1'
...
mbedtls: Don't compile hardware MPI & SHA files if disabled in config (v4.1)
See merge request espressif/esp-idf!9403
2020-08-20 21:50:36 +08:00
Mahavir Jain
6e22f6bae9
Merge branch 'fix/esp_tls_wolfssl_fix_cert_verify_v4.1' into 'release/v4.1'
...
esp_tls_wolfssl : fix incorrect error message after handshake fails (v4.1)
See merge request espressif/esp-idf!9231
2020-08-20 21:48:50 +08:00
Mahavir Jain
23a36bdd77
Merge branch 'bugfix/http_server_lru_v4.1' into 'release/v4.1'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.1)
See merge request espressif/esp-idf!9351
2020-08-20 21:47:56 +08:00
Mahavir Jain
b3af5fb2c3
Merge branch 'bugfix/softap_prov_session_v4.1' into 'release/v4.1'
...
protocomm_httpd: Restart security session if request is received on a new session (v4.1)
See merge request espressif/esp-idf!9116
2020-08-20 21:47:34 +08:00
Mahavir Jain
a603bf9e02
Merge branch 'bugfix/httpd_lru_purge_v4.1' into 'release/v4.1'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v4.1)
See merge request espressif/esp-idf!8830
2020-08-20 21:46:45 +08:00
Michael (XIAO Xufeng)
9ff88e9f0e
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.1' into 'release/v4.1'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.1)
See merge request espressif/esp-idf!9840
2020-08-20 19:14:30 +08:00
Michael (XIAO Xufeng)
c83a8c4cc7
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.1' into 'release/v4.1'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.1)
See merge request espressif/esp-idf!9040
2020-08-20 19:13:57 +08:00
Michael (XIAO Xufeng)
000c0b4b8a
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.1' into 'release/v4.1'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.1)
See merge request espressif/esp-idf!9361
2020-08-20 19:12:35 +08:00
Michael (XIAO Xufeng)
d8061fa8d9
Merge branch 'bugfix/esp_flash_revert_qe_clear_4.1' into 'release/v4.1'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id (4.1)
See merge request espressif/esp-idf!8836
2020-08-20 19:11:00 +08:00
Michael (XIAO Xufeng)
6e148c0051
Merge branch 'bugfix/esp_flash_write_performance_regression_4.1' into 'release/v4.1'
...
esp_flash: fix the write performance regression (Backport v4.1)
See merge request espressif/esp-idf!8800
2020-08-20 19:09:59 +08:00
morris
612d8f173f
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-20 10:54:50 +08:00
morris
221e89cf59
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:54:50 +08:00
morris
f5dde8b17e
ethernet: handle early rx interrupt
2020-08-20 10:54:49 +08:00
fuzhibo
4fc12259dd
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-08-14 06:49:35 +00:00
liqigan
40bc362809
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:15:33 +08:00
Angus Gratton
5ef1b39002
Merge branch 'fix/prov_ble_read_offset_v4.1' into 'release/v4.1'
...
BLE provisioning: Add check for valid ble read offset (v4.1)
See merge request espressif/esp-idf!9745
2020-08-13 07:54:36 +08:00
KonstantinKondrashov
c519d78e00
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
Closes: IDFGH-3671
Closes: https://github.com/espressif/esp-idf/issues/5605
2020-08-12 14:59:01 +08:00
Felipe Neves
fe6bc06366
freertos/portmux: increase portmux timeouts to avoid crashing when using debug feature
...
Closes: https://github.com/espressif/esp-idf/issues/3629#
2020-08-11 11:34:05 -03:00
zhangyanjiao
535fa9615c
esp_wifi: fix the crash when wifi stop after deinit
2020-08-10 20:37:38 +08:00
David Cermak
c4f38c361e
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-10 18:52:34 +08:00
David Cermak
75c82c5bc7
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-10 18:52:27 +08:00
boblane
b57953efdf
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-08-10 10:06:42 +08:00
Li Shuai
b89a2bb266
add soft solution for esp32 eco3 live lock issue
2020-08-07 06:42:35 +00:00
KonstantinKondrashov
4d735d8279
newlib: Fix UT for adjtime
2020-08-06 20:02:30 +08:00
KonstantinKondrashov
c370a8f7ce
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:02:30 +08:00
KonstantinKondrashov
55fafa887c
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 22:09:15 +08:00
dongyou
46691df851
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 16:30:16 +08:00
Mahavir Jain
ac0731e977
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 15:46:55 +05:30
Darian Leung
f1b651af7e
CAN: Remove asserts used for program logic
...
This commit fixes the bug where CAN driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-31 00:19:53 +08:00
Darian Leung
550ed39ea3
CAN: 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 23:59:42 +08:00
fuzhibo
67a48580fa
driver(touch): fix touch sensor driver redundancy
2020-07-30 16:42:48 +08:00
Jakob Hasse
5e536a3f43
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-07-30 15:40:33 +08:00
lly
7f7397e67f
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-07-30 03:58:27 +00:00
Jakob Hasse
59680bbaff
nvs: unit tests for new partition API
2020-07-29 16:40:13 +00:00
Dmitriy Shilin
07a88fbb7c
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-07-29 16:40:13 +00:00
ronghulin
828cc1318b
bugfix: fix softap mode wpa memory leak
2020-07-29 14:15:56 +08:00
Michael (XIAO Xufeng)
19fcd9cc19
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 17:38:37 +08:00
Prasad Alatkar
9587b53b2f
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.1)
...
- 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:48:14 +00:00
Angus Gratton
ceeee9036c
Merge branch 'ci/fix_uart_read_write_priorities_v4.1' into 'release/v4.1'
...
driver test: Ensure uart write task can't overflow buffer of read task (v4.1)
See merge request espressif/esp-idf!9570
2020-07-23 13:15:27 +08:00
Prasad Alatkar
be13513378
BLE provisioning: Add check for valid ble read offset
2020-07-22 19:40:49 +05:30
Angus Gratton
36edd91060
Merge branch 'bugfix/rs485_test_temp_disable_v41' into 'release/v4.1'
...
Bugfix/rs485 test temp disable v41 (backport v4.1)
See merge request espressif/esp-idf!9524
2020-07-22 17:20:00 +08:00
martin.gano
b41752b95c
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:19:10 +02:00
He Yin Ling
103503ba56
CI: do not run cases likely to fail
2020-07-19 14:58:06 +08:00
He Yin Ling
50b5b3184e
CI: disable cases with test env SSC_T5_1
2020-07-19 14:58:05 +08:00
He Yin Ling
77fd8095e0
CI: remove incorrect MTU related cases
2020-07-19 14:58:02 +08:00
DerfJagged
16e33e3e33
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:14:34 +08:00
weitianhua
491d564f5a
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-14 14:44:20 +08:00
Mahavir Jain
4c01c1a034
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:35:57 +05:30
morris
ee6ff6bdd2
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:13:31 +08:00
chenyudong
907e206dff
mesh/ci: fix MESH_EST_0216
2020-07-10 18:04:52 +08:00
chenyudong
b20943ad43
mesh: backport some bugfixes
...
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-07-10 18:04:50 +08:00
Angus Gratton
5cf858bee3
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 16:00:39 +10:00
Wielebny666
b6e69b5014
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:13:56 +08:00
Supreet Deshpande
f8874e6940
Add platform independent CMake signing
2020-07-09 11:55:21 +05:30
liqigan
f5d37dd416
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-07-08 14:22:19 +08:00
Ivan Grokhotkov
1ecd5ab91d
ci: temporarily disable RS485 related tests
2020-07-08 06:44:07 +02:00
wangcheng
9c9b64ee17
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-07-07 21:02:49 +08:00
Angus Gratton
0116d5d096
Merge branch 'bugfix/esp32_encrypted_flash_write_v4.1' into 'release/v4.1'
...
spi_flash: esp32: fix regression in encrypted flash write (v4.1)
See merge request espressif/esp-idf!9378
2020-07-06 08:18:23 +08:00
Angus Gratton
6db66c96d6
Merge branch 'bugfix/ci_fixes_v4.1' into 'release/v4.1'
...
ci: multiple minor fixes (backport v4.1)
See merge request espressif/esp-idf!8226
2020-07-06 07:23:46 +08:00
Ivan Grokhotkov
370aa39045
efuse: don't include esp_efuse_utility_debug_dump_blocks in bootloader
2020-07-03 09:45:03 +00:00
zhangyanjiao
f9e22b627e
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-07-03 14:54:20 +08:00
Angus Gratton
40c9f0599c
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-07-03 10:37:15 +10:00
Nachiket Kukade
aceb46efc2
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-01 11:49:02 +00:00
ronghulin
15c8337424
bugfix: fix ICMP specify length issue
2020-06-30 10:53:48 +08:00
lly
bf35465658
ble_mesh: stack: Check model status with variable length
2020-06-30 09:31:27 +08:00
lly
289b8bcea7
ble_mesh: Remove boolean type definitions
2020-06-30 09:18:42 +08:00
Nikolaos Strikos
0d5eb50ce2
ble_mesh: Do not #define bool when compiling in C++
2020-06-30 09:18:42 +08:00
lly
353f893d95
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-30 09:16:29 +08:00
liminyang
a55bd7339c
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:56:08 +08:00
Mahavir Jain
56accfe4c4
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-29 14:51:58 +05:30
Angus Gratton
7ab2ffb45f
spi_flash: Use per-chip flash_ops files for legacy API
...
Looks like when ESP32-S2 Beta support was merged, the separate files
were dropped by accident.
2020-06-29 14:49:28 +05:30
Wang Jia Lin
6cbc7dc2cd
Merge branch 'bugfix/fix_adc_io_init_bug_for_idfv4.1' into 'release/v4.1'
...
driver(adc): fix adc io init bug for idfv4.1 (backport v4.1)
See merge request espressif/esp-idf!8714
2020-06-29 15:00:22 +08:00
fuzhibo
c711a048bb
driver(gpio): Solve gpio hold problems caused by code refactoring.
...
Closes https://github.com/espressif/esp-idf/issues/4600
2020-06-28 14:12:29 +00:00
Marius Vikhammer
5eb5b1148a
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:10:18 +00:00
Shubham Kulkarni
4b41f19a01
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:49 +05:30
Aditya Patwardhan
6aba4efca0
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 13:58:07 +05:30
wangcheng
5cff7b1d55
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:52:34 +08:00
Nachiket Kukade
ee70736a03
esp_wifi: Update wifi lib
...
1. Fix WPA3 Auth timeout during BLE coex by increasing CNX timeout
2. Extend Coex phase for SAE Handshake
3. Define and utilize WPA3 Mixed Authmode, update esp_wifi_types.h
2020-06-18 05:19:26 +00:00
Angus Gratton
9e55345c43
Merge branch 'bugfix/efuse_logs_v4.1' into 'release/v4.1'
...
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code (v4.1)
See merge request espressif/esp-idf!9206
2020-06-18 07:11:42 +08:00
Jiang Jiang Jian
6b66850dc1
Merge branch 'bugfix/ble_conn_fail_v4.1' into 'release/v4.1'
...
Fix bugs from coex test v4.1
See merge request espressif/esp-idf!9136
2020-06-17 18:17:15 +08:00
KonstantinKondrashov
e0e391dce3
esp32s2: Move some code after the stdout initialization
2020-06-17 15:53:45 +08:00
KonstantinKondrashov
0a1919abff
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 15:53:45 +08:00
yuanjm
af82516cfb
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:29:25 +08:00
Piyush Shah
6baa5f0d7b
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-06-17 05:34:11 +00:00
Jiang Jiang Jian
c5bbe87425
Merge branch 'bugfix/airkiss_find_hidden_ap_fail_v4.1' into 'release/v4.1'
...
fix the bug that airkiss find hidden AP fail (backport v4.1)
See merge request espressif/esp-idf!9176
2020-06-17 12:26:56 +08:00
Jiang Jiang Jian
5e52e5f6f5
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.1' into 'release/v4.1'
...
Bugfix/blufi buffer overflow report v4.1
See merge request espressif/esp-idf!9178
2020-06-16 15:59:49 +08:00
Jiang Jiang Jian
f82010fa6a
Merge branch 'bugfix/att_buffer_count_fixed_v4.1' into 'release/v4.1'
...
Bugfix/att buffer count fixed v4.1
See merge request espressif/esp-idf!9160
2020-06-16 15:59:34 +08:00
xiongyu
cf3b2df4a4
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:48:02 +08:00
zhangyanjiao
08e7bce4ea
esp_wifi:
...
1. fix the bug that airkiss find hidden AP fail
2. addba fix and send bar in first ampdu
2020-06-16 10:48:48 +08:00
Michael (XIAO Xufeng)
a945ae8a9d
Merge branch 'bugfix/add_return_task_awoken_for_timer_callback_v4.1' into 'release/v4.1'
...
timer: add return task awoken for timer callback (backport v4.1)
See merge request espressif/esp-idf!9148
2020-06-16 10:38:43 +08:00
wangcheng
ae64d9e738
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-15 19:37:38 +08:00
Wang Cheng
6861f7d5d8
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-15 19:19:14 +08:00
Geng Yu Chao
c5a6fc9c7e
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-15 19:17:27 +08:00
wangcheng
3b8b057894
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:07:28 +08:00
wangcheng
e69ee31e1a
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:06:28 +08:00
wangcheng
846a2f95f4
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:06:14 +08:00
chenjianqiang
74623ac9d5
timer: add return task awoken for timer callback
2020-06-12 14:33:21 +08:00
baohongde
1b8905e544
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-11 16:55:36 +08:00
baohongde
d0093c7675
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-11 16:55:26 +08:00
baohongde
de6f21936f
components/coex: Fix ble connecting fail in coexist
2020-06-11 16:55:12 +08:00
kapil.gupta
46486a863c
esp_wifi: Remove auth_changed event and fix wpa2-ent 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-11 13:40:58 +05:30
Jiang Jiang Jian
29bc65e719
Merge branch 'feature/toolchain_2020r2_v4.1' into 'release/v4.1'
...
Update toolchain to esp-2020r2 (backport v4.1)
See merge request espressif/esp-idf!9000
2020-06-11 15:44:47 +08:00
Jiang Jiang Jian
7de0c391ac
Merge branch 'bugfix/fix_some_wifi_bugs_0522_v4.1' into 'release/v4.1'
...
bugfix: fix some wifi bugs (backport v4.1)
See merge request espressif/esp-idf!8880
2020-06-11 15:41:06 +08:00
Jiang Jiang Jian
326b42560d
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_4.1' into 'release/v4.1'
...
Backport MR for baidu project for release/v4.1
See merge request espressif/esp-idf!8987
2020-06-11 14:46:22 +08:00
Angus Gratton
6f768b74e4
Merge branch 'bugfix/parttool_get_info_wo_info_option_v4.1' into 'release/v4.1'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v4.1)
See merge request espressif/esp-idf!9063
2020-06-10 16:02:03 +08:00
Ivan Grokhotkov
bd3caffdcd
bootloader_support: force alignment of flash_read argument
2020-06-04 21:01:56 +10:00
Angus Gratton
a5b4fda207
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:53:46 +10:00
KonstantinKondrashov
7070fea6e4
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-06-04 16:31:05 +08:00
Angus Gratton
d35226c656
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.1' into 'release/v4.1'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.1)
See merge request espressif/esp-idf!9013
2020-06-04 16:22:14 +08:00
aleks
4be2170250
freemodbus: add comments for limitation in current version of freemodbus
2020-06-04 09:46:04 +02:00
Alexander Borsuk
29d3c40a25
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 11:49:40 +08:00
baohongde
7cdc2f2b81
Backport MR for baidu proj
2020-06-04 11:07:30 +08:00
Angus Gratton
50319bb03c
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-03 15:11:21 +10:00
Ivan Grokhotkov
1e12199832
esp32: use ccomp_timer in SHA test
2020-06-02 13:15:14 +07:00
Ivan Grokhotkov
36a66a7243
newlib: use --specs=nano.specs to enable "nano" version of C library
...
esp2020r1 toolchain includes a nano.specs file, which instructs GCC to
substitute libc.a with libc_nano.a.
In the build system, this simplifies handling of the nano formatting
option, eliminating LIBC and LIBM global variables.
2020-06-02 13:15:08 +07:00
Jeroen Domburg
4eec4fbc99
Add fixes for gcc8 psram fix improvement
2020-06-02 13:14:29 +07:00
Angus Gratton
b00f38f91c
secure boot v2: Add anti-FI check that secure boot not enabled yet
...
Prevent a fault from causing bootloader to trust the provided signature incorrectly.
2020-06-02 16:14:01 +10:00
Angus Gratton
3c6b1b4c0a
secure boot v2: Don't check efuse BLK2 if only boot-time signature verification is enabled
2020-06-02 16:14:01 +10:00
Angus Gratton
2c531d5bb3
secure boot v2: Don't log warnings when BLK2 is empty as expected
...
If BLK2 is empty then it's OK to continue with a warning (otherwise it may spook users into thinking
something this is wrong, but this is the expected workflow.)
If BLK2 is not empty and doesn't match then we need to fail because it won't be possible to
trust the signature.
2020-06-02 16:14:01 +10:00
lly
1bd7944316
ble_mesh: Rework prov pdu length check
2020-06-02 10:13:51 +08:00
Armando
75dd9835f6
esp_flash: fix cache exception when CS pin is through IOMUX
2020-06-01 15:29:30 +08:00
Armando
bda0c84552
esp_flash: fix the cleanup when add device fails
2020-06-01 15:29:30 +08:00
Armando
eacefba1c6
esp_flash: fix the regression of non-quad mode by default chip driver
2020-06-01 15:29:30 +08:00
Jiang Jiang Jian
10f3d92f6c
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_4.1' into 'release/v4.1'
...
lw-ip:add LINGER to menuconfig for 4.1(backport4.1)
See merge request espressif/esp-idf!8758
2020-05-29 11:13:52 +08:00
Jiang Jiang Jian
5fb93a14ae
Merge branch 'bufix/fix_v4.1_bluedroid_bugs_mr' into 'release/v4.1'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 4.1)
See merge request espressif/esp-idf!8756
2020-05-29 11:13:20 +08:00
Jiang Jiang Jian
63592b667c
Merge branch 'nimble/config_option_sdkconfig_rename_v4.1' into 'release/v4.1'
...
Add NimBLE config options in sdkconfig.rename (v4.1)
See merge request espressif/esp-idf!8735
2020-05-29 11:12:44 +08:00
ronghulin
ba06ecf96d
bugfix: fix some wifi bugs
...
1. optimization esp_wifi_set_max_tx_power description
2. Add API esp_wifi_ap_get_sta_aid
3. Fix the timeout issue of EAPOL four-way handshake
4. esp_wifi:Add softap example channel configuration
2020-05-29 11:04:26 +08:00
zhiweijian
8793aab0e3
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-28 12:07:58 +00:00
wangcheng
d32ee233af
fix bta_dm_deinit_cb crash
2020-05-28 12:07:58 +00:00
wangcheng
049402ae8d
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-28 12:07:58 +00:00
Jiang Jiang Jian
977d98cb6d
Merge branch 'bugfix/ble_mesh_check_timer_init_v4.1' into 'release/v4.1'
...
ble_mesh: Check the result of creating timer (v4.1)
See merge request espressif/esp-idf!8958
2020-05-28 15:27:42 +08:00
Jiang Jiang Jian
983a4be42e
Merge branch 'nimble/update_nimble_submodule_v4.1' into 'release/v4.1'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.1)
See merge request espressif/esp-idf!8794
2020-05-28 15:25:12 +08:00
lly
0c87b1c12d
ble_mesh: Check the result of creating timer
2020-05-28 10:27:06 +08:00
Island
5ea193115b
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh sync zephyr fixes (v4.1)
See merge request espressif/esp-idf!8948
2020-05-28 10:15:53 +08:00
Island
6971cdbad5
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v4.1' into 'release/v4.1'
...
ble_mesh: Not using pre-initialized private key (v4.1)
See merge request espressif/esp-idf!8945
2020-05-28 10:14:21 +08:00
Island
0af793f6ef
Merge branch 'bugfix/ble_mesh_comp_data_store_restore_v4.1' into 'release/v4.1'
...
ble_mesh: Same func for storing/restoring comp data (v4.1)
See merge request espressif/esp-idf!8942
2020-05-28 10:12:12 +08:00
David Čermák
e1ce31483d
Merge branch 'bugfix/ws_client_fragmented_send_v4.1' into 'release/v4.1'
...
ws_client: fix fragmented send setting proper opcodes (v4.1)
See merge request espressif/esp-idf!8690
2020-05-28 01:27:41 +08:00
Piyush Shah
492cece316
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-27 10:56:22 +00:00
Mahavir Jain
55b56a1557
Merge branch 'bugfix/coap_component_build_issue_v4.1' into 'release/v4.1'
...
coap: move mbedTLS config options from component to examples (v4.1)
See merge request espressif/esp-idf!8929
2020-05-27 18:41:53 +08:00
lly
2f73d76768
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-27 17:46:29 +08:00
lly
63c8dd2981
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-27 17:46:23 +08:00
Krzysztof Budzynski
a02a782ee9
Merge branch 'doc/add_types_api_ref_v4.1' into 'release/v4.1'
...
doc: add peripheral_types.h as API reference for peripheral docs (v4.1)
See merge request espressif/esp-idf!8895
2020-05-27 17:44:30 +08:00
lly
0c06be9bcd
ble_mesh: Not using pre-initialized private key
2020-05-27 17:39:50 +08:00
lly
d3921346a9
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:30:31 +08:00
Michael (XIAO Xufeng)
d2666545d1
spi: simplify the caps header
2020-05-27 15:09:50 +08:00
Michael (XIAO Xufeng)
6f410cb7c4
spi_flash: add unit test for read/write performance
2020-05-27 15:09:49 +08:00
Michael (XIAO Xufeng)
8df1369d0a
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-05-27 15:09:49 +08:00
Marius Vikhammer
7d3d56ff9a
doc: add peripheral_types.h as API reference for peripheral docs
...
Closes DOC-136
Closes IDF-1673
2020-05-27 12:38:38 +08:00
Mahavir Jain
edb84c19dd
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-26 20:05:33 +05:30
lly
3b89497b39
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:53:30 +08:00
xueyunfei
841aba8948
add LINGER to menuconfig
2020-05-25 11:36:05 +08:00
Jiang Jiang Jian
84b51781c8
Merge branch 'bugfix/espnow_fetch_peer_crash_v4.1' into 'release/v4.1'
...
wifi: fix the crash issue when fetch peer after delete cur_peer (backport v4.1)
See merge request espressif/esp-idf!8824
2020-05-22 23:10:48 +08:00
Jiang Jiang Jian
58f0a94cdf
Merge branch 'bugfix/fix_memleak_in_wpa3_feature_v4.1' into 'release/v4.1'
...
fix(wpa_supplicant): fix memleak in wpa3 feature(backport v4.1)
See merge request espressif/esp-idf!8656
2020-05-22 21:23:43 +08:00
lly
eeff638c97
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:47:40 +08:00
David Cermak
ca01e8698f
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-05-22 06:14:48 +00:00
zhangyanjiao
80412dfbb8
wifi: fix the crash issue when fetch peer after delete cur_peer
2020-05-22 11:04:46 +08:00
Island
502a2aed2a
Merge branch 'bugfix/ble_mesh_friend_init_flag_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh friend init flag (v4.1)
See merge request espressif/esp-idf!8848
2020-05-22 10:51:13 +08:00
Island
e789d85e69
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v4.1' into 'release/v4.1'
...
ble_mesh: Fix mesh node device role restore (v4.1)
See merge request espressif/esp-idf!8724
2020-05-21 15:10:48 +08:00
Island
eb8f6f942a
Merge branch 'bugfix/ble_mesh_fix_typos_v4.1' into 'release/v4.1'
...
ble_mesh: Fix typos (v4.1)
See merge request espressif/esp-idf!8726
2020-05-21 15:10:10 +08:00
lly
715cb64288
ble_mesh: Clear two more vars during proxy server deinit
2020-05-21 14:26:05 +08:00
lly
52fa4c7f96
ble_mesh: Add missing sdkconfig.h
2020-05-21 14:26:05 +08:00
lly
f02d095ff1
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-21 14:26:04 +08:00
lly
ab73b3fd8e
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-21 14:26:04 +08:00
Island
dc4cd3ae7c
Merge branch 'bugfix/ble_mesh_remove_patch_v4.1' into 'release/v4.1'
...
ble_mesh: Remove patch for the bug of an App (v4.1)
See merge request espressif/esp-idf!8779
2020-05-21 11:47:06 +08:00
Prasad Alatkar
3db186d5d1
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.1)
...
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-20 16:09:02 +05:30
Nachiket Kukade
276cbb69f3
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 theis
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-18 15:46:32 +05:30
Nachiket Kukade
c973bea7d1
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-18 15:45:34 +05:30
Michael (XIAO Xufeng)
e9d4659175
Merge branch 'bugfix/erase_with_vtaskdelay_v4.1' into 'release/v4.1'
...
spi_flash: Add vTaskDelay while a long erasing (v4.1)
See merge request espressif/esp-idf!8598
2020-05-18 11:01:50 +08:00
Jiang Jiang Jian
0266ad95d7
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v4.1' into 'release/v4.1'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v4.1)
See merge request espressif/esp-idf!8723
2020-05-17 15:01:23 +08:00
David Čermák
19163393a9
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user_v4.1' into 'release/v4.1'
...
Bugfix/stop mac can be controlled by user v4.1
See merge request espressif/esp-idf!8761
2020-05-16 03:28:33 +08:00
lly
9d587eb8fd
ble_mesh: Remove patch for the bug of an App
2020-05-15 20:23:48 +08:00
Jiang Jiang Jian
1cfeb8be7f
Merge branch 'feature/enable_wpa3_pmf_by_default_v4.1' into 'release/v4.1'
...
Enable WPA3 & PMF by default (backport v4.1)
See merge request espressif/esp-idf!8601
2020-05-15 11:46:20 +08:00
morris
222ac1dd60
ethernet: fix potential task watch dog timeout
2020-05-14 22:07:06 +08:00
morris
63dae58176
ethernet: better control start/stop/uninstall/install
2020-05-14 22:07:00 +08:00
morris
e07023b9c7
ethernet: esp_eth_stop API should stop emac hardware
2020-05-14 22:06:54 +08:00
xiehang
ddae67f50f
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-14 03:55:09 +00:00
Hrishikesh Dhayagude
c595429db0
Add NimBLE config options in sdkconfig.rename
2020-05-14 11:30:35 +10:00
lly
b929611d5d
ble_mesh: Fix typos
2020-05-13 18:30:52 +08:00
lly
e9f64eb1c3
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-13 18:25:53 +08:00
Island
56c1646e2a
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v4.1' into 'release/v4.1'
...
Bugfix/sync zephyr bt mesh bugfix (v4.1)
See merge request espressif/esp-idf!8688
2020-05-13 18:15:37 +08:00
fuzhibo
260d6f83b7
driver(adc): fix adc io init bug
2020-05-13 11:48:55 +08:00
lly
31b164ccb1
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-13 10:09:04 +08:00
Jiang Jiang Jian
c96ce01d87
Merge branch 'bugfix/supplicant_general_fixes_41' into 'release/v4.1'
...
wpa_supplicant: Fix some memleaks and invalid memory access (backport v4.1)
See merge request espressif/esp-idf!8555
2020-05-12 20:28:45 +08:00
Shubham Kulkarni
3e93b8fed9
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
2020-05-12 10:35:27 +05:30
lly
295a9eea82
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 15:42:58 +08:00
lly
06d445759a
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 15:42:57 +08:00
lly
b1efdd5eb1
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 15:42:57 +08:00
lly
42ccb7277f
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 15:42:57 +08:00
lly
cffbc32253
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 15:42:56 +08:00
lly
8f5564af84
ble_mesh: Optimize some mesh log output
2020-05-11 15:42:56 +08:00
lly
6a6bac2c62
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-11 15:42:55 +08:00
lly
526f253b2e
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 15:42:55 +08:00
lly
2f40c4449f
ble_mesh: Split mesh os related into a separate file
2020-05-11 15:42:54 +08:00
lly
8ab29292ab
ble_mesh: Split mesh mutex into a separate file
2020-05-11 15:42:54 +08:00
lly
9af8947e55
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-11 15:42:53 +08:00
lly
800cb0fff8
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-11 15:42:53 +08:00
lly
362e8e0a1f
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-11 15:42:52 +08:00
lly
de648753b0
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-11 15:42:52 +08:00
lly
aed5dc63b7
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-11 15:42:51 +08:00
lly
21c5be311c
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-11 15:42:51 +08:00
lly
0a41241e10
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-11 15:42:50 +08:00
lly
e3472c1c99
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-11 15:42:50 +08:00
lly
175109d196
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-11 15:42:49 +08:00
lly
61d376109c
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-11 15:42:49 +08:00
lly
fd4b6fd47e
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-11 15:42:48 +08:00
lly
b348b55d1e
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-11 15:42:48 +08:00
lly
82a5b05948
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-11 15:42:46 +08:00
lly
95718d9ef9
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-11 15:42:46 +08:00
lly
33c0ddce40
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-11 15:42:45 +08:00
lly
bf4b513e83
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-11 15:42:45 +08:00
lly
91fff8c897
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-11 15:42:45 +08:00
lly
7ea60199a6
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-11 15:42:44 +08:00
lly
2b84b673bf
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-11 15:42:44 +08:00
lly
c2e24e306f
ble_mesh: Check device uuid when init provisioning
2020-05-11 15:42:43 +08:00
lly
a85459e245
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-11 15:42:43 +08:00
lly
a0434371b0
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-11 15:42:42 +08:00
lly
1717c2face
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-11 15:42:42 +08:00
Zhang Jun Hao
949e7c6f85
fix(wpa_supplicant): fix memleak in wpa3 feature
2020-05-08 16:30:16 +08:00
Michael (XIAO Xufeng)
f14cdd5d3a
Merge branch 'bugfix/timer_group_intr_enable_v4.1' into 'release/v4.1'
...
fix timer group intr enable (backport v4.1)
See merge request espressif/esp-idf!8529
2020-05-08 14:57:20 +08:00
Mahavir Jain
15daee9a0f
Merge branch 'bugfix/wifi_prov_not_stopping_v4.1' into 'release/v4.1'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v4.1)
See merge request espressif/esp-idf!8607
2020-05-06 22:28:06 +08:00
kapil.gupta
de85de7c51
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-06 11:05:30 +00:00
Island
27ae9d3e2c
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v4.1' into 'release/v4.1'
...
ble_mesh: Check if appkey exist before deleting it (v4.1)
See merge request espressif/esp-idf!8621
2020-05-06 18:17:02 +08:00
Island
7db21de3b3
Merge branch 'bugfix/ble_mesh_compile_error_o2_v4.1' into 'release/v4.1'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v4.1)
See merge request espressif/esp-idf!8616
2020-05-06 18:15:53 +08:00
Island
cec0f25484
Merge branch 'bugfix/ble_mesh_node_reset_erase_v4.1' into 'release/v4.1'
...
ble_mesh: Fix node not erase info completely (v4.1)
See merge request espressif/esp-idf!8622
2020-05-06 18:14:41 +08:00
David Čermák
f232b07e4e
Merge branch 'feature/config_mqtt_task_prio_v4.1' into 'release/v4.1'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v4.1)
See merge request espressif/esp-idf!8472
2020-05-06 16:23:19 +08:00
lly
78b13034ef
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-06 11:43:43 +08:00
lly
099bf88b2e
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:40:20 +08:00
lly
466d450b4b
ble_mesh: Add length check for some mesh operations
2020-05-06 11:26:33 +08:00
lly
a742255f8e
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-06 11:26:25 +08:00
Island
dd89b2dc0d
Merge branch 'bugfix/ble_mesh_rpl_list_size_v4.1' into 'release/v4.1'
...
ble_mesh: Associate replay protection list size with nodes count (v4.1)
See merge request espressif/esp-idf!8493
2020-05-06 11:15:21 +08:00
Island
fefa9b7fe9
Merge branch 'doc/ble_mesh_fixes_v4.1' into 'release/v4.1'
...
doc: Fix some ble mesh description (v4.1)
See merge request espressif/esp-idf!8502
2020-05-06 11:13:16 +08:00
Island
547fd926a9
Merge branch 'bugfix/ble_mesh_add_missing_cpp_v4.1' into 'release/v4.1'
...
ble_mesh: Add missing #ifdef __cplusplus (v4.1)
See merge request espressif/esp-idf!8505
2020-05-06 11:12:13 +08:00
Island
d6cbfc7f19
Merge branch 'feat/ble_mesh_sensor_model_example_v4.1' into 'release/v4.1'
...
ble_mesh: Add ble mesh sensor model examples (v4.1)
See merge request espressif/esp-idf!8507
2020-05-06 11:11:59 +08:00
Island
61405472e4
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v4.1' into 'release/v4.1'
...
ble_mesh: Fix time scene wrong macro name (v4.1)
See merge request espressif/esp-idf!8510
2020-05-06 11:11:24 +08:00
Piyush Shah
3fa198b8a2
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-05 22:09:18 +05:30
Angus Gratton
9778b163b1
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v4.1' into 'release/v4.1'
...
flash: fix spi flash clock config error (backport v4.1)
See merge request espressif/esp-idf!8513
2020-05-05 11:31:11 +08:00
Nachiket Kukade
e006d21419
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 17:37:56 +05:30
KonstantinKondrashov
4214179de1
spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-04 17:16:33 +08:00
KonstantinKondrashov
5c98ff015e
spi_flash(LEGACY_IMPL): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-04 17:16:33 +08:00
KonstantinKondrashov
b56c7d9066
spi_flash: Add into sim/stubs the esp_timer
2020-05-04 17:16:33 +08:00
KonstantinKondrashov
d67e764ef6
spi_flash(new driver): Add vTaskDelay while a long erasing
2020-05-04 17:16:33 +08:00
KonstantinKondrashov
1554fd3d8a
spi_flash(LEGACY_IMPL): Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: https://github.com/espressif/esp-idf/issues/4916
Closes: IDFGH-261
2020-05-04 15:48:22 +08:00
David Cermak
0cd5e28bce
mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
2020-05-04 07:48:20 +02:00
Simon Brélivet
c1cd396b95
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-04 07:45:24 +02:00
lly
4b1cbe87b3
ble_mesh: Fix client local parameters not initialized
2020-04-30 11:50:15 +00:00
lly
8b2291a718
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-30 11:50:15 +00:00
lly
fca4124f70
ble_mesh: Remove some redundant functions
2020-04-30 11:50:15 +00:00
lly
d35d765395
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-30 11:50:15 +00:00
lly
94092a148c
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-30 11:50:15 +00:00
lly
68e8a7e0ba
ble_mesh: Update next alloc address when node info is added
2020-04-30 11:50:15 +00:00
lly
62ac50f9d7
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-30 11:50:15 +00:00
lly
fefd52f093
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-30 11:50:15 +00:00
lly
7c379f8a65
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-30 11:50:15 +00:00
lly
c28828d255
doc: Fix some ble mesh description
2020-04-30 11:43:26 +00:00
lly
67eef52822
ble_mesh: Add some common macros for sensor model
2020-04-30 11:35:11 +00:00
lly
6f7acf6a21
ble_mesh: Allow empty sensor series column value
2020-04-30 11:35:11 +00:00
lly
df96c73471
ble_mesh: Check if same sensor (settings) property id exists
2020-04-30 11:35:11 +00:00
lly
3ceb5b3718
ble_mesh: Allow empty sensor settings exist
2020-04-30 11:35:11 +00:00
lly
d51bd36142
ble_mesh: Add missing #ifdef __cplusplus
2020-04-30 08:45:55 +00:00
Angus Gratton
bd01c359bd
Merge branch 'bugfix/heap_psram_fill_v4.1' into 'release/v4.1'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v4.1)
See merge request espressif/esp-idf!8490
2020-04-30 13:45:07 +08:00
zhangyanjiao
43d8950682
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
2020-04-29 17:27:00 +08:00
baohongde
ddaa9d4523
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-04-29 13:57:59 +08:00
dowster
58044063dd
Fix typo with sigmadelta.h #ifdef
2020-04-29 12:20:46 +08:00
morris
67f9448e71
fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS
2020-04-29 12:19:25 +08:00
morris
5b516b107a
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-29 12:19:25 +08:00
Nachiket Kukade
27ec86cd8e
esp_wifi: Update wifi lib
...
Backports PMF Certification fixes -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
Closes WIFI-2251
2020-04-29 01:47:32 +00:00
Nachiket Kukade
6254bf443e
wpa_supplicant: Disable TLSv1.2 by default
...
Some Enterprise Authentication Servers do not support TLS v1.2.
Move this option to Menuconfig and disable by default.
2020-04-28 10:46:59 +05:30
Jiang Jiang Jian
198953df8f
Merge branch 'fixbug/tcp_kill_state_assert_for_v4.1' into 'release/v4.1'
...
lw-ip:fixbug for tcp kill state assert(backport 4.1)
See merge request espressif/esp-idf!8452
2020-04-28 11:43:37 +08:00
Jiang Jiang Jian
87fa7af6b7
Merge branch 'bugfix/pm_dump_locks_v4.1' into 'release/v4.1'
...
esp_pm: esp_pm_dump_locks: don't print from a critical section (backport v4.1)
See merge request espressif/esp-idf!8353
2020-04-28 11:41:21 +08:00
Michael (XIAO Xufeng)
e558b2237d
Merge branch 'bugfix/mcpwm_period_error_v4.1' into 'release/v4.1'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.1)
See merge request espressif/esp-idf!7735
2020-04-27 18:06:15 +08:00
chenjianqiang
eb5bafeb65
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 16:56:58 +08:00
lly
e6fc2a7bc8
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:24:13 +08:00
Angus Gratton
13ef9cf4bc
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:32:24 +10:00
espressif
7d934dafb8
mcpwm: fix the issue of wrong period (backport v4.1)
2020-04-24 21:10:14 +08:00
xueyunfei
c50952ebaf
fixbug for tcp kill state assert
2020-04-23 15:58:29 +08:00
xueyunfei
0c92ca5175
fixbug for set dhcp time fail for 4.1
2020-04-22 11:13:01 +08:00
Angus Gratton
a41bcacf31
Merge branch 'bugfix/ppp_enable_ipv6_v4.1' into 'release/v4.1'
...
esp-netif: make the IPv6 configurable for PPP netifs (v4.1)
See merge request espressif/esp-idf!8200
2020-04-21 12:36:00 +08:00
Angus Gratton
e9c6f119de
Merge branch 'bugfix/make_system_using_rom_time_funcs_v4.1' into 'release/v4.1'
...
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data (v4.1)
See merge request espressif/esp-idf!8365
2020-04-17 14:14:13 +08:00
Angus Gratton
1ea008d22e
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v4.1' into 'release/v4.1'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v4.1)
See merge request espressif/esp-idf!7931
2020-04-16 15:25:03 +08:00
Jiang Jiang Jian
585d53dfa8
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled. (v4.1)
See merge request espressif/esp-idf!8356
2020-04-16 14:59:35 +08:00
Jiang Jiang Jian
1f480f4570
Merge branch 'bugfix/fix_API_esp_wifi_stop_crash_issue_v4.1' into 'release/v4.1'
...
bugfix: fix esp_wifi_stop crash issue (backport v4.1)
See merge request espressif/esp-idf!8329
2020-04-16 14:58:00 +08:00
Angus Gratton
d10ad9a4b1
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v4.1' into 'release/v4.1'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v4.1)
See merge request espressif/esp-idf!8366
2020-04-16 14:32:21 +08:00
Marius Vikhammer
0c4e55e3bd
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f
updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:09:57 +08:00
KonstantinKondrashov
a2a71fc68f
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:05:58 +08:00
KonstantinKondrashov
ae063d96c2
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
...
- Added UT
Closes: https://github.com/espressif/esp-idf/issues/4925
2020-04-15 20:59:24 +08:00
KonstantinKondrashov
3948065c24
efuse: Using IDF_ENV_FPGA in UTs
2020-04-15 19:43:07 +08:00
KonstantinKondrashov
33eab40f2a
efuse/esp32s2: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
2020-04-15 19:36:47 +08:00
KonstantinKondrashov
f59ef5e6ef
efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 19:36:45 +08:00
Sagar Bijwe
b7ae3ff9bd
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-15 15:33:59 +05:30
KonstantinKondrashov
a2a89fb95d
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-04-15 16:34:57 +08:00
Ivan Grokhotkov
ffe0cca423
esp_pm: esp_pm_dump_locks: don't print from a critical section
...
Closes https://github.com/espressif/esp-idf/issues/1917
2020-04-15 08:47:37 +02:00
Jiang Jiang Jian
b3410b9210
Merge branch 'bugfix/coredump_no_ext_stacks_v4.1' into 'release/v4.1'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.1)
See merge request espressif/esp-idf!8228
2020-04-15 13:25:26 +08:00
Jiang Jiang Jian
b08b0f0949
Merge branch 'bugfix/psram_single_bit_error_v4.1' into 'release/v4.1'
...
psram: support psram 2T mode to fix single bit error (backport v4.1)
See merge request espressif/esp-idf!8327
2020-04-15 13:24:21 +08:00
Jiang Jiang Jian
f646cdd6a8
Merge branch 'nimble/fix_ble_hs_reset_v4.1' into 'release/v4.1'
...
NimBLE: Reset master and slave states on host reset and few minor fixes (backport v4.1)
See merge request espressif/esp-idf!8216
2020-04-15 13:23:59 +08:00
Jiang Jiang Jian
445f727e7a
Merge branch 'bugfix/fix_supplicant_tlsv12_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues (v4.1)
See merge request espressif/esp-idf!8202
2020-04-15 13:06:42 +08:00
Angus Gratton
e1562311bf
Merge branch 'bugfix/logging_compilation_fix_anti_rollback_v4.1' into 'release/v4.1'
...
Minor fix logging issue hindering compilation on anti rollback. (v4.1)
See merge request espressif/esp-idf!8302
2020-04-14 16:36:29 +08:00
Sagar Bijwe
afc1362ea6
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-04-13 16:39:59 +00:00
ronghulin
d880672076
bugfix: fix esp_wifi_stop crash issue
2020-04-13 16:05:48 +08:00
chenjianqiang
90a8945930
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 14:26:45 +08:00
lly
1ac44aa202
ble_mesh: Support BLE advertising simultaneously
2020-04-10 17:34:06 +08:00
Prasad Alatkar
acb92c225f
NimBLE: Minor fix in esp_nimble_cfg
and bleprph
README (backport v4.1)
2020-04-09 16:05:14 +05:30
Prasad Alatkar
072d01da2f
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.1)
2020-04-09 16:05:04 +05:30
Supreet Deshpande
87d68ebb98
Fixes logging issue hindering compilation on anti rollback.
2020-04-09 12:04:20 +05:30
lly
89f7e62011
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-04-09 06:03:59 +00:00
Ivan Grokhotkov
4fe18a9258
Merge branch 'bugfix/IDFGH-2910_v4.1' into 'release/v4.1'
...
NVS: bugfix - iterator skipping version 1 blobs (v4.1)
See merge request espressif/esp-idf!8191
2020-04-09 05:45:49 +08:00
Shubham Kulkarni
4573688862
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:39:01 +05:30
Ivan Grokhotkov
cd301cc324
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-04-02 23:43:20 +02:00
Jiang Jiang Jian
9a1c5a903f
Merge branch 'bugfix/btdm_backports_v4.1_0328' into 'release/v4.1'
...
Bugfix/btdm backports v4.1 0328
See merge request espressif/esp-idf!8150
2020-04-02 22:47:49 +08:00
Jiang Jiang Jian
5e09d473c7
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v4.1' into 'release/v4.1'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v4.1)
See merge request espressif/esp-idf!8181
2020-04-01 19:06:55 +08:00
David Cermak
4b59f7e2c7
mdns: limit the GOT_IP6_EVENT to only known network interfaces
2020-04-01 08:52:54 +02:00
David Cermak
716298f8e3
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-04-01 08:52:54 +02:00
Francesco Giancane
3c01f68a78
lwip: make IPV6 link-local support over PPP configurable
...
Make the link local negotiation for IPV6 in PPP optional and
configurable.
This is because some modems do not support the IPV6 negotiation and
sending IPV6CP frames would in some cases break the network
configuration phase, resulting in a timeout during the Phase Network.
Please note that this does not disable the IPV6 support for the outgoing
communication (IPV6 is still enabled even if this option is not
selected) but just for the local link between lwIP and modem.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4782
Closes https://github.com/espressif/esp-idf/issues/1065
2020-04-01 08:52:54 +02:00
Angus Gratton
a5bf353e3f
Merge branch 'backport/malloc_zero_return_null_v4.1' into 'release/v4.1'
...
backport/malloc_zero_return_null_v4.1
See merge request espressif/esp-idf!8146
2020-04-01 14:41:33 +08:00
Jakob Hasse
26379f7d3e
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-04-01 11:16:28 +08:00
xiewenxiang
79590d2e21
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 16:27:08 +08:00
Angus Gratton
c17d55eb9b
esp32: Enable flash encryption by setting FLASH_CRYPT_CNT to max
...
Previous method was to write-protect this efuse, however on ECO3
the write protect field also covers the UART_DOWNLOAD_DIS efuse.
Doing it this way keeps the possibility of disabling UART download
mode, later.
2020-03-31 17:31:59 +11:00
Angus Gratton
cf8dd62fc4
secure boot v2: esp32: Prevent read disabling additional efuses
...
Also reduce the number of eFuse write cycles during first boot when
Secure Boot and/or Flash Encryption are enabled.
2020-03-31 17:31:56 +11:00
Angus Gratton
f96d28172b
Merge branch 'bugfix/monitor_encrypted_target_v4.1' into 'release/v4.1'
...
tools: Fix flashing encrypted binaries from IDF Monitor (v4.1)
See merge request espressif/esp-idf!8126
2020-03-31 13:09:55 +08:00
Jiang Jiang Jian
f538b63458
Merge branch 'bugfix/fix_airkiss_bug_v4.1' into 'release/v4.1'
...
fix the bug for Airkiss (backport v4.1)
See merge request espressif/esp-idf!8121
2020-03-31 00:07:51 +08:00
baohongde
a8494b68e1
components/coex: Fix wakeup delay with DFS
2020-03-28 20:12:21 +08:00
liu zhifu
8367bc4571
esp_wifi: backport some WiFi bugs
...
1. Fix WiFi log print level
2. Optimize WiFi/BT coexist sleep
- If any data tx/rx in WiFi slice, fore wakeup next TBTT
- Increase active timeout time to coex TBTT interval to avoid sleep in WiFi slice
2020-03-28 18:13:31 +08:00
gengyuchao
374e9b32d4
bugfix/fix_controller_disable_re_enable_crash
2020-03-28 17:14:37 +08:00
Felipe Neves
7fdc9571ba
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:27:45 -03:00
Mahavir Jain
f9f42a9d90
Merge branch 'fix/wifi_provisioning_uuid_v4.1' into 'release/v4.1'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v4.1)
See merge request espressif/esp-idf!8081
2020-03-27 22:54:10 +08:00
Roland Dobai
820ed5c7f1
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-27 09:43:26 +01:00
zhangyanjiao
88f8f91d40
fix the bug for Airkiss
...
Closes https://github.com/espressif/esp-idf/issues/3362
2020-03-26 21:12:52 +08:00
Angus Gratton
06337f1034
Merge branch 'bugfix/cmake_bugfixes_v4.1' into 'release/v4.1'
...
CMake-related bugfixes (v4.1)
See merge request espressif/esp-idf!8067
2020-03-26 16:29:55 +08:00
Prasad Alatkar
db1111ef79
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-26 05:04:52 +00:00
Jiang Jiang Jian
dbaf0f1e93
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v4.1' into 'release/v4.1'
...
esp_wifi: Backport some wifi bugs 0323 (backport v4.1)
See merge request espressif/esp-idf!8086
2020-03-25 15:11:32 +08:00
Jiang Jiang Jian
906280e767
Merge branch 'optimization/TCPv6_connect_for_v4.1' into 'release/v4.1'
...
lw-ip:optimization TCPv6 connect for 4.1
See merge request espressif/esp-idf!8048
2020-03-24 15:25:27 +08:00
xiehang
55abe2eba8
esp_wifi: Fix ESP32S2 wifi log not printing
2020-03-24 15:05:05 +08:00
xiehang
fbe215f3c0
esp_wifi: backport some wifi bugs 0323
...
1.Reduce wifi bin size
2.Add TX packets size check
3.Fix scan get rssi error
4.Return fail when setting AP's channel out of range
2020-03-24 15:05:00 +08:00
Mahavir Jain
b8fe1fdf27
bootloader_support: initialize mbedtls_ctr_drbg_context per mbedtls v2.16.5 requirement
...
In commit 02d2903e39
, mbedtls was
updated to release v2.16.5, where it was made mandatory to initialize
mbedtls_ctr_drbg_context before using same. It was fixed in wpa supplicant
but missed out in secure boot v2 verification code. This commit
fixes that.
2020-03-23 11:22:20 +05:30
Mahavir Jain
355a210a38
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-23 11:22:02 +05:30
Sagar Bijwe
5c4f7948d4
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-03-23 11:22:02 +05:30
Renz Bagaporo
bc81db3676
cmake: show error message on encrypted flash targets without proper config
2020-03-22 20:44:23 +08:00
Renz Bagaporo
cc95d14d80
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-22 20:00:21 +08:00
Renz Christian Bagaporo
1717232f11
ulp: use quotes when specifying files for embedding ulp binaries
2020-03-22 19:59:50 +08:00
Renz Christian Bagaporo
2aba19e00d
partition_table: output partition table info for partition_table target
2020-03-22 19:58:48 +08:00
Jiang Jiang Jian
bac92d579f
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.1' into 'release/v4.1'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.1
See merge request espressif/esp-idf!8025
2020-03-21 15:15:49 +08:00
Jiang Jiang Jian
b445b59c5e
Merge branch 'bugfix/wep40_key_parsing_bug_v4.1' into 'release/v4.1'
...
Bugfix/wep40 key parsing bug v4.1
See merge request espressif/esp-idf!7990
2020-03-20 17:33:50 +08:00
xueyunfei
9b31a2e7f9
optimization TCPv6 connect for 4.1
2020-03-20 15:04:31 +08:00
Jiang Jiang Jian
71ffae5d6e
Merge branch 'bugfix/hfp_github_issues_v4.1' into 'release/v4.1'
...
Bugfix for HFP and some Github issue. v4.1
See merge request espressif/esp-idf!7975
2020-03-20 13:21:33 +08:00
xueyunfei
c092f9b881
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:14:13 +08:00
kapil.gupta
582a493739
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-03-18 13:40:05 +00:00
Angus Gratton
4414e829de
Merge branch 'backport/feat/secure_boot_v2_v41' into 'release/v4.1'
...
Backport/feat/secure boot v2 v41
See merge request espressif/esp-idf!7854
2020-03-18 15:35:53 +08:00
weitianhua
f5fc735711
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-03-18 04:06:24 +00:00
lly
7815cd9ff4
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 16:18:50 +08:00
Jiang Jiang Jian
1cdea40bba
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh miscellaneous fix (v4.1)
See merge request espressif/esp-idf!7969
2020-03-17 15:34:19 +08:00
weitianhua
aa6347339c
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-14 14:41:16 +08:00
weitianhua
8488f292c2
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:41:06 +08:00
lly
6431a5e185
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:24:49 +08:00
lly
27b28c0249
ble_mesh: Use the right netkey during iv update
2020-03-13 19:24:45 +08:00
lly
b29bc240a7
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:24:37 +08:00
lly
940e87c0da
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:24:32 +08:00
lly
60eaca9637
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:24:27 +08:00
lly
e01333514d
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:24:23 +08:00
lly
f0519c674f
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:24:18 +08:00
lly
de9186b908
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:24:12 +08:00
Angus Gratton
5cd45a6d80
secure boot: Fix anti-fault value if hash is shorter than curve
...
(Not actually a problem with SBV1 anti-fault as hash size == curve size in this case.)
2020-03-13 14:01:45 +05:30
Ivan Grokhotkov
7f84669054
Merge branch 'bugfix/from_github_v4.1' into 'release/v4.1'
...
Fixes from Github (backport v4.1)
See merge request espressif/esp-idf!7920
2020-03-11 21:49:19 +08:00
xueyunfei
47f9c0e301
fix bug for after udp close select_waiting assert for v4.1
2020-03-11 10:06:43 +00:00
Mahavir Jain
d09a43fc1e
Merge branch 'bugfix/ota_with_redirection_v4.1' into 'release/v4.1'
...
esp_https_ota in sync with master (v4.1)
See merge request espressif/esp-idf!7914
2020-03-11 14:46:25 +08:00
Michael (XIAO Xufeng)
492065463d
Merge branch 'bugfix/put_spihost_handle_in_sram_v4.1' into 'release/v4.1'
...
spi: always put spihost handle in SRAM (backport v4.1)
See merge request espressif/esp-idf!7901
2020-03-10 14:22:32 +08:00
Alexander Borsuk
ba43902fb8
Fixes compilation error on verbose level (IDFGH-2439)
...
Closes #4552
Merges https://github.com/espressif/esp-idf/pull/4786
2020-03-09 11:25:54 +01:00
Jiang Jiang Jian
fefd64fa83
Merge branch 'Bugfix/netconn_marked_close_crash_for_v4.1' into 'release/v4.1'
...
lw-ip:fix bug for netconn marked close crash for v4.1
See merge request espressif/esp-idf!7896
2020-03-09 16:36:39 +08:00
Shubham Kulkarni
70b1ab76e8
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-09 13:26:36 +05:30
Shubham Kulkarni
6bc77d79a6
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-03-09 13:26:36 +05:30
Shubham Kulkarni
4c09dc6270
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-03-09 13:26:36 +05:30
Angus Gratton
2241dda536
Merge branch 'feature/netif_ppp_authtype_none_v4.1' into 'release/v4.1'
...
esp-netif: PPPoS fixes (v4.1)
See merge request espressif/esp-idf!7849
2020-03-09 13:34:16 +08:00
Michael (XIAO Xufeng)
a559d55379
Merge branch 'bugfix/spiflash_read_psram_v4.1' into 'release/v4.1'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers (v4.1)
See merge request espressif/esp-idf!7877
2020-03-09 11:13:29 +08:00
xueyunfei
a1764ec5b0
fix bug for netconn marked close crash for v4.1
2020-03-09 02:54:20 +00:00
Felipe Neves
5ce7ec848c
heap: pushed down all the aligned_alloc / free implementation
2020-03-08 23:17:05 +00:00
Felipe Neves
15cdd2859a
heap: added aligned alloc implementation on multi_heap layer
2020-03-08 23:17:05 +00:00
morris
1af819d19b
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:36:44 +08:00
Michael (XIAO Xufeng)
a251485359
Merge branch 'bugfix/clean_pcnt_i2s_public_header_v4.1' into 'release/v4.1'
...
driver: clean pcnt.h i2s.h (backport v4.1)
See merge request espressif/esp-idf!7839
2020-03-06 14:05:33 +08:00
Jiang Jiang Jian
ee86ee0094
Merge branch 'feature/wpa3_testcases_support_v4.1' into 'release/v4.1'
...
esp_wifi: Support for additional WPA3 testcases (Backport v4.1)
See merge request espressif/esp-idf!7880
2020-03-06 12:23:43 +08:00
Prasad Alatkar
48fe9dfce7
NimBLE: Add Host based privacy (RPA) feature support (v4.1)
...
- This feature removes dependency on controller to use privacy (RPA)
Closes BT-519
2020-03-06 11:02:22 +08:00
Angus Gratton
5f2d918437
bootloader: Set the bootloader optimization level separately to the app
...
Change the default bootloader config to -Os to save size.
This is a useful feature because it allows switching between debug
and release configs in the app without also needing to account for a
size change in the bootloader.
2020-03-06 01:16:04 +05:30
Angus Gratton
32756b165e
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-03-06 01:16:04 +05:30
Angus Gratton
74b299c4c7
secure boot: Encrypt the bootloader signature when enabling flash encryption + secure boot v2
2020-03-06 01:16:04 +05:30
Supreet Deshpande
60fed38c0f
feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3
2020-03-06 01:16:04 +05:30
Prasad Alatkar
e36b3e0d04
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v4.1)
...
Closes BT-522 & BT-523
2020-03-05 18:00:27 +08:00
Mahavir Jain
e7c8a36d46
Merge branch 'bugfix/esp_tls_blocking_timeout_v4.1' into 'release/v4.1'
...
esp-tls: add timeout for blocking connection (v4.1)
See merge request espressif/esp-idf!7395
2020-03-05 16:06:35 +08:00
Island
0e21d1e372
Merge branch 'nimble/misc_host_flow_ctrl_changes_v4.1' into 'release/v4.1'
...
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt, memory management & example (backport v4.1)
See merge request espressif/esp-idf!7857
2020-03-05 14:54:39 +08:00
Jiang Jiang Jian
96cd373265
Merge branch 'bugfix/btdm_assert_when_create_connection_cancel_v4.1' into 'release/v4.1'
...
components/bt: Fix assert when create conntion cancel
See merge request espressif/esp-idf!7817
2020-03-05 14:53:18 +08:00
Nachiket Kukade
00f0cdcc92
esp_wifi: Support for additional WPA3 testcases
...
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
2020-03-05 12:15:03 +05:30
Angus Gratton
425486223e
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-05 17:10:22 +11:00
Angus Gratton
d6026823fa
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-05 17:10:22 +11:00
David Cermak
233d4b94bd
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-03-04 15:15:40 +00:00
David Cermak
d19c1c4b3c
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-03-04 15:15:40 +00:00
Jiang Jiang Jian
e7a33878bb
Merge branch 'bugfix/backport_some_wifi_issues_0302' into 'release/v4.1'
...
esp_wifi: backport some wifi issues 0302 (backport v4.1)
See merge request espressif/esp-idf!7826
2020-03-04 15:36:31 +08:00
Hrishikesh Dhayagude
74c528d836
NimBLE: Use dynamic buffers instead of static memory.
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-04 12:01:53 +05:30
Prasad Alatkar
c55689ca18
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v4.1)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-03-04 11:35:47 +05:30
David Cermak
23c5770156
esp_netif_lwip_ppp: fix posting ip-event data
...
Closes https://github.com/espressif/esp-idf/issues/4634
2020-03-03 15:00:37 +01:00
Axel Lin
4c668ff3d3
esp_netif_lwip_ppp: Allow esp_netif_ppp_set_auth set auth_type with NETIF_PPP_AUTHTYPE_NONE
...
The ppp_set_auth() is guard by #if PPP_AUTH_SUPPORT in lwIP, so
make it consistent. This also simplify the code a bit because the code
in #if PAP_SUPPORT guard and #if CHAP_SUPPORT guard are exactly the same.
Once NETIF_PPP_AUTHTYPE_NONE added to esp_netif_auth_type_t, it also allows
setting NETIF_PPP_AUTHTYPE_NONE with this change.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4639
2020-03-03 15:00:37 +01:00
Axel Lin
4a623798f1
esp_netif_ppp: Add NETIF_PPP_AUTHTYPE_NONE to esp_netif_auth_type_t
...
To allow setting auth_type to PPPAUTHTYPE_NONE, add NETIF_PPP_AUTHTYPE_NONE
to esp_netif_auth_type_t.
So even PAP/CHAP are enabled in lwIP, the application still can set
auth_type to PPPAUTHTYPE_NONE.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-03-03 15:00:37 +01:00
morris
077d68c752
driver: clean pcnt.h i2s.h
2020-03-03 18:12:11 +08:00
xiehang
4d10eb20db
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix crashing during shared WEP connection
2. Remove log "age_bss: null bss
3. Add WiFi stop checking at the beginning of wifi deinit api
4. Fix espnow crash
5. Fix the bug for setting channel when WiFi is no NULL mode
6. Adjust scheme percent when BT is in connected status
7. Fix WiFi stop leads to memory leak
8. Place the Vendor Specific Element at the end of WiFi packet
2020-03-03 14:49:36 +08:00
xueyunfei
94327c10ed
add host name in discover packet for v4.1
2020-03-03 14:25:47 +08:00
lly
8e34adb94c
ble_mesh: Calc incomplete timeout based on msg info
2020-03-02 02:08:13 +00:00
lly
7d41eb6f52
ble_mesh: Start the timer when starting to send the client message
2020-03-02 02:08:13 +00:00
lly
2a014db549
ble_mesh: No timeout for client message to non-unicast address
2020-03-02 02:08:13 +00:00
lly
6c207ea6d2
ble_mesh: Unify client application and lower transport layer timeout
2020-03-02 02:08:13 +00:00
lly
2611e23bd2
ble_mesh: Allow maximum 377 octets payload
2020-03-02 02:08:13 +00:00
lly
4b2ef7303e
ble_mesh: Reset transport info when node is removed
2020-03-02 02:08:13 +00:00
lly
21af266a11
ble_mesh: Provisioner ignores msg from removed node
2020-03-02 02:08:13 +00:00
lly
711c8472fc
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-03-02 02:08:13 +00:00
Jiang Jiang Jian
a280f0a9ba
Merge branch 'bugfix/IPV6_multicast_adress_error_for_v4.1' into 'release/v4.1'
...
lw-ip:fix ipv6 bug when input the wrong broadcast for v4.1
See merge request espressif/esp-idf!7804
2020-02-29 17:06:56 +08:00
Michael (XIAO Xufeng)
4045dc8508
Merge branch 'bugfix/nec_example_v4.1' into 'release/v4.1'
...
bugfix in NEC example and low level function (v4.1)
See merge request espressif/esp-idf!7635
2020-02-29 02:56:12 +08:00
baohongde
dbc0a9b3f4
components/bt: Fix assert when create conntion cancel
2020-02-28 20:23:39 +08:00
wangmengyang
6fad6eb9f1
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-28 14:08:47 +08:00
xueyunfei
9c5067a998
fix ipv6 bug when input the wrong broadcast for v4.1
2020-02-27 17:13:03 +08:00
Michael (XIAO Xufeng)
c4654298ce
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.1' into 'release/v4.1'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.1)
See merge request espressif/esp-idf!7372
2020-02-26 15:20:40 +08:00
Jiang Jiang Jian
9c8c6b5cd5
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v4.1' into 'release/v4.1'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v4.1)
See merge request espressif/esp-idf!7756
2020-02-26 11:30:09 +08:00
KonstantinKondrashov
5487700bf1
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-02-24 15:48:27 +08:00
wangmengyang
cd492747e1
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-24 12:22:35 +08:00
Jiang Jiang Jian
9cdbda325a
Merge branch 'bugfix/btdm_backports_v4.1_0220' into 'release/v4.1'
...
components/bt: backports to release/v4.1
See merge request espressif/esp-idf!7716
2020-02-21 14:57:16 +08:00
Jiang Jiang Jian
9bf147515c
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch_v4.1' into 'release/v4.1'
...
Fix sniffer bug caused by mode switch (backport v4.1)
See merge request espressif/esp-idf!7690
2020-02-21 14:53:56 +08:00
Jiang Jiang Jian
3a9750746f
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v4.1' into 'release/v4.1'
...
lw-ip: Add option to ipv6 stateless address configuration (backport v4.1)
See merge request espressif/esp-idf!7699
2020-02-21 14:53:32 +08:00
Shubham Kulkarni
124b735ac5
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 15:38:08 +05:30
baohongde
a74d85945a
components/bt: backports to release/v4.1
...
Fix bugs about role switch
Fix watchdog timeout when sleep enabled and crash without enabling sw coex
Fix ble crash issue triggered by ble event irq miss(0x20000)
Future events scheduling error in case of wifi and bluetooth.
2020-02-20 17:53:40 +08:00
xiehang
ce4334f4bf
lwip: Enable IPv6 stateless address autoconfiguration
2020-02-20 14:44:49 +08:00
Jiang Jiang Jian
5c217d8bb6
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_another_connection_v4.1' into 'release/v4.1'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7662
2020-02-20 14:16:53 +08:00
xiehang
0350ea5744
esp_wifi: Small refactor for ic_set_vif
2020-02-20 12:22:52 +08:00
baohongde
1e54e5ddef
components/coex: Fix misspell in Kconfig
2020-02-19 11:43:53 +08:00
Jiang Jiang Jian
8609b3730d
Merge branch 'bugfix/unified_prov_bluedroid_v4.1' into 'release/v4.1'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v4.1)
See merge request espressif/esp-idf!7652
2020-02-18 20:57:22 +08:00
Jiang Jiang Jian
e8d33e4faf
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_4.1' into 'release/v4.1'
...
ble_mesh: Fix compile error with c++ files (v4.1)
See merge request espressif/esp-idf!7583
2020-02-18 20:43:51 +08:00
baohongde
8908d52efa
components/coex: Fix a2dp stuck after creating another connection
2020-02-18 20:13:41 +08:00
Hrishikesh Dhayagude
5a244bc935
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 15:11:51 +05:30
Jiang Jiang Jian
3b86e7e099
Merge branch 'bugfix/change_hci_task_size_back_v4.1' into 'release/v4.1'
...
components/bt: change HCI task size back
See merge request espressif/esp-idf!7568
2020-02-18 12:52:10 +08:00
morris
bd8baba0dc
rmt: fix missing 0x in rmt_ll.h
...
Closes https://github.com/espressif/esp-idf/issues/4760
2020-02-18 10:54:03 +08:00
Jiang Jiang Jian
73fd009d40
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd_v4.1' into 'release/v4.1'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
See merge request espressif/esp-idf!7405
2020-02-14 19:46:49 +08:00
Jiang Jiang Jian
cbd24259b2
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt_v4.1' into 'release/v4.1'
...
components/bt: Fix error EIR type in config eir event
See merge request espressif/esp-idf!7406
2020-02-14 16:38:25 +08:00
Xia Xiaotian
317f0d496a
soc: clear PHY status when cpu start
2020-02-13 14:25:32 +08:00
Jiang Jiang Jian
ca735340f9
Merge branch 'bugfix/ble_mesh_utf_8_comma_4.1' into 'release/v4.1'
...
ble_mesh: Kconfig included a UTF-8 comma (v4.1)
See merge request espressif/esp-idf!7575
2020-02-13 11:12:17 +08:00
lly
45af9bf3ec
ble_mesh: Fix compile error with c++ files
2020-02-13 09:46:54 +08:00
lly
7acdc2f7fc
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:25:43 +08:00
KonstantinKondrashov
c6c18ef2e8
spiffs: Fix for case when CONFIG_SPIFFS_USE_MTIME is not defined
...
Closes: 2c793cef06
2020-02-12 18:12:58 +08:00
blueMoods
9ebdcf5b37
components/bt: change HCI task size back
2020-02-12 16:32:56 +08:00
june
21c1682a7a
backport code optimize, mr !7409
2020-02-12 11:50:52 +08:00
Angus Gratton
33069f3133
Merge branch 'bugfix/part_gen_subtype_fix_v4.1' into 'release/v4.1'
...
partition_table: Fix subtype in gen_esp32part.py (v4.1)
See merge request espressif/esp-idf!7535
2020-02-11 12:06:41 +08:00
Angus Gratton
04f589b1c7
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build_v4.1' into 'release/v4.1'
...
cJSON: include only source file objects for cmake build (v4.1)
See merge request espressif/esp-idf!7545
2020-02-11 11:57:26 +08:00
Angus Gratton
901ae4d11c
Merge branch 'bugfix/newlib_nano_lib_linking_v4.1' into 'release/v4.1'
...
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled (v4.1)
See merge request espressif/esp-idf!7544
2020-02-11 11:56:11 +08:00
Mahavir Jain
d41f3cc759
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-10 17:32:14 +05:30
Mahavir Jain
1ae9541176
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled
2020-02-10 17:30:25 +05:30
Supreet Deshpande
546cf10c5d
Fixes accessing some files from 2nd part of the bootloader.
2020-02-10 16:33:02 +05:30
boarchuz
994e632a59
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 08:37:10 +01:00
KonstantinKondrashov
12353ff3d8
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-02-06 14:43:40 +08:00
Hrudaynath Dhabe
7d30c6d799
WPS_CONFIG_INIT_DEFAULT(type) error
2020-02-06 14:07:14 +08:00
Angus Gratton
aedf89237f
Merge branch 'bugfix/select_driver_not_installed_v4.1' into 'release/v4.1'
...
VFS: Check in select() if the UART driver is installed or not (v4.1)
See merge request espressif/esp-idf!7416
2020-01-22 11:55:09 +08:00
morris
1a3bb06916
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-21 21:45:24 +08:00
morris
274b0b8d8a
ethernet: work with cache disabled
...
add ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE flag, make ethenret driver
possible to work when cache disabled
Closes https://github.com/espressif/esp-idf/issues/4406
2020-01-21 21:45:04 +08:00
Roland Dobai
c2a4dd0c68
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-21 10:04:38 +01:00
Jiang Jiang Jian
3733c9f8e5
Merge branch 'bugfix/btdm_hci_timeout_v4.1' into 'release/v4.1'
...
Bugfix/btdm hci timeout v4.1
See merge request espressif/esp-idf!7339
2020-01-21 10:33:46 +08:00
baohongde
38ff669727
components/bt: Fix error EIR type in config eir event
2020-01-20 21:47:23 +08:00
baohongde
c324e7a435
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 21:43:23 +08:00
Tian Hao
3e4e538087
fix bug sleep may cause HCI timeout
...
When Host run different cpu and sleep enable, it may cause hci
timeout about 10s.
2020-01-20 17:41:28 +08:00
xiehang
b99a39535b
lwip: Enable IPv6 stateless address autoconfiguration
2020-01-20 08:26:00 +00:00
Tian Hao
f6523748fc
fix Kconfig use mistake cause some config not effect
...
1. Fix bluedroid task pinned_to_core un-effected
2. other minor sdkconfig bugs
2020-01-20 15:24:41 +08:00
Jiang Jiang Jian
09b4bb5eba
Merge branch 'bugfix/backport_some_wifi_bugs_0120_v4.1' into 'release/v4.1'
...
Bugfix/backport some wifi bugs 0120 v4.1
See merge request espressif/esp-idf!7390
2020-01-20 13:56:00 +08:00
June
c0e1f83a91
esp32 5p0 new features support
2020-01-20 12:18:55 +08:00
weitianhua
fd61f75db9
hfp disconn issue for bridgera
2020-01-20 12:18:26 +08:00
xiehang
abe0225ef5
esp_wifi:Fix double recycle bar crash issue
2020-01-20 12:10:48 +08:00
Hrudaynath Dhabe
b530b26e1b
esp_wifi: esp_wifi_sta_get_ap_info function returns actual values of group cipher and pairwise cipher
2020-01-20 12:10:06 +08:00
Paul Abbott
c014d32193
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:19:15 +08:00
zhiweijian
86bebae4fb
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 03:24:29 +00:00
Angus Gratton
ee269ed687
Merge branch 'bugfix/fatfs_corrupted_assert' into 'master'
...
fatfs: handle FR_INT_ERR as "filesystem corrupted"
Closes IDF-894
See merge request espressif/esp-idf!5912
2020-01-14 08:37:07 +08:00
houwenxiang
4c065c217e
driver(rmt): Fix the rmt err interrupt crash bug when sending 63 items
2020-01-13 08:30:20 +00:00
Jiang Jiang Jian
0a6e61ae6d
Merge branch 'bugfix/btdm_fix_blufi_prepare_buf_len_invalid' into 'master'
...
component/bt: fix blufi prepare write buf len invalid
See merge request espressif/esp-idf!7048
2020-01-13 15:59:14 +08:00
Jiang Jiang Jian
f8e3bf4a7a
Merge branch 'bugfix/mesh_ie_issues' into 'master'
...
mesh: fix mesh ie issues
See merge request espressif/esp-idf!7214
2020-01-13 15:58:00 +08:00
Angus Gratton
28d64e7f82
Merge branch 'bugfix/cmake_failure_on_spiffsgen_clean_project' into 'master'
...
spiffs: fix build issue on clean project
See merge request espressif/esp-idf!6596
2020-01-13 12:14:04 +08:00
Angus Gratton
a5a5c318f9
Merge branch 'bugfix/mmap_fail_on_esp32s2beta' into 'master'
...
spi_flash: reenable mmap tests on esp32s2beta
See merge request espressif/esp-idf!6595
2020-01-13 12:02:55 +08:00
Angus Gratton
ec20cf01b5
Merge branch 'feature/wider_alignment_range_malloc' into 'master'
...
feature/wider alignment range malloc
Closes IDF-648
See merge request espressif/esp-idf!6691
2020-01-13 12:02:35 +08:00
Angus Gratton
42d7b1d641
Merge branch 'bugfix/mbedtls_esp_bignum' into 'master'
...
mbedtls: esp bignum fix for 4096 keys
See merge request espressif/esp-idf!7211
2020-01-13 12:01:23 +08:00
chenyudong
79f0d460f5
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
Fix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-01-13 10:58:18 +08:00
Jiang Jiang Jian
a27dfe6993
Merge branch 'bugfix/fix_ble_config_error_log_in_first_use_nvs' into 'master'
...
bugfix: remove the error code when there is no file in the nvs in config.c
See merge request espressif/esp-idf!7296
2020-01-13 10:24:43 +08:00
Ivan Grokhotkov
216dac8721
Merge branch 'test/add_esp32s2beta_ssc_build_job' into 'master'
...
test: add build ssc job for esp32s2beta
See merge request espressif/esp-idf!7068
2020-01-13 10:19:48 +08:00
Jiang Jiang Jian
7a7c4a5486
Merge branch 'bugfix/coex_schm' into 'master'
...
Bugfix/coex schm
See merge request espressif/esp-idf!7176
2020-01-12 20:37:42 +08:00
Jiang Jiang Jian
a9cf334f0a
Merge branch 'feature/Add_tcp_sack' into 'master'
...
feature for add tcp sack
Closes WIFI-1600
See merge request espressif/esp-idf!7241
2020-01-12 20:28:21 +08:00
Jiang Jiang Jian
3634192ded
Merge branch 'bugfix/ble_throughput_heap_size_too_large_fix' into 'master'
...
bugfix:Fixed throughput wasting memory and packet loss issues.
Closes BT-437 and BCI-141
See merge request espressif/esp-idf!7063
2020-01-12 20:25:02 +08:00
Jiang Jiang Jian
8ec233dfd0
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes' into 'master'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes
Closes BLEMESH-56
See merge request espressif/esp-idf!6892
2020-01-12 20:23:57 +08:00
Felipe Neves
6a307ee70f
heap: removed ptr check in diram area since aligned allocator does not support data allocated from IRAM
2020-01-10 10:15:32 -03:00
Felipe Neves
0d8a5ebec7
heap: added aligned calloc function plus tests
2020-01-10 10:05:28 -03:00
Felipe Neves
8e5ea171d3
newlib: reverted support of memalign function
2020-01-10 10:05:28 -03:00
Felipe Neves
45766daa4f
test_multi_heap_host/test_multi_heap: fix undefined reference error when testing aligned_alloc with no heap poisoning
2020-01-10 10:05:28 -03:00
Felipe Neves
aa100d2dfe
newlib: added heap_caps_aligned_alloc on bottom of memalign
2020-01-10 10:05:28 -03:00
Felipe Neves
a2db437c46
heap/heap_caps: Added tests for align allocation on both internal and external ram
2020-01-10 10:05:28 -03:00
Felipe Neves
7fbf4c74d7
heap/heap_caps: added initial, top level heap_caps_aligned_alloc and heap_caps_aligned_free
2020-01-10 10:05:27 -03:00
Felipe Neves
f31b8a8ab8
heap/multi_heap_poisoning: aligned alloc now working togheter with heap poisining code
2020-01-10 10:05:27 -03:00
Felipe Neves
8bd09429d3
heap/test_multi_heap_host: added initial tests for heap aligned alloc
2020-01-10 10:05:27 -03:00
Felipe Neves
d26ddaa644
heap/multi_heap: added initial implementation of aligned alloc function
2020-01-10 10:05:27 -03:00
gengyuchao
3366467980
ble:set a esp api to get size of controller send packets buffer.
2020-01-10 20:32:07 +08:00
gengyuchao
189cd21660
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-10 20:32:07 +08:00
gengyuchao
8e1a28940c
ble:config.c remove the error code when there is no file in the nvs because it is not an error.
2020-01-10 20:04:10 +08:00
Angus Gratton
a05c00c2b3
Merge branch 'bugfix/esp_netif_get_dns' into 'master'
...
esp_netif: fix esp_netif_get_dns_info() to copy the entire ip_addr_t
Closes IDFGH-2472
See merge request espressif/esp-idf!7266
2020-01-10 17:51:29 +08:00
baohongde
a2398f0dcc
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-01-10 16:00:12 +08:00
Angus Gratton
c7738f24fc
Merge branch 'bugfix/ledc_driver_enums' into 'master'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
See merge request espressif/esp-idf!7021
2020-01-10 15:34:43 +08:00
Jiang Jiang Jian
0f9ab61619
Merge branch 'bugfix/fix_wifi_buffer_reload_issue' into 'master'
...
esp_wifi: fix WiFi buffer reload issue
Closes WIFI-1634
See merge request espressif/esp-idf!7230
2020-01-10 15:08:19 +08:00
Jiang Jiang Jian
2f23fa8ab7
Merge branch 'bugfix/bt_osi_config_snprintf_add_length_check' into 'master'
...
bugfix:Fix length check for snprintf in osi config
See merge request espressif/esp-idf!7155
2020-01-10 15:06:37 +08:00
Jiang Jiang Jian
8cf4d02720
Merge branch 'bugfix/ble_mesh_update_lightness_last' into 'master'
...
ble_mesh: Update lightness last state when actual state is changed
See merge request espressif/esp-idf!7206
2020-01-10 14:47:29 +08:00
Angus Gratton
782fc0df5f
Merge branch 'refactor/can_driver' into 'master'
...
Refactor CAN to use HAL and LowLevel layers
Closes IDF-617
See merge request espressif/esp-idf!7019
2020-01-10 14:22:02 +08:00
He Yin Ling
21a7580dc1
test: update SSC bin path of nvs compatible test
2020-01-10 14:14:51 +08:00
Angus Gratton
bdf6c00154
Merge branch 'feature/likely_unlikely' into 'master'
...
Adding likely unlikely macros to hot code paths
Closes IDF-284
See merge request espressif/esp-idf!6368
2020-01-10 14:05:07 +08:00
Renz Christian Bagaporo
fb1dec37d8
spi_flash: reenable mmap tests on esp32s2beta
2020-01-10 16:17:01 +11:00
Angus Gratton
5ee92c259b
Merge branch 'bugfix/mdns_fix_typos' into 'master'
...
mdns: fixed typos in the variable names and the comments
See merge request espressif/esp-idf!7060
2020-01-10 13:13:07 +08:00
Konstantin Kondrashov
2c793cef06
idf: Support a custom toolchain with time_t wide 64-bits
...
Allows resolving the Y2K38 problem.
Closes: IDF-350
Closes: https://github.com/espressif/esp-idf/issues/584
2020-01-10 12:58:54 +08:00
Angus Gratton
a39e8e5de9
Merge branch 'feature/asio_update' into 'master'
...
asio: updated ASIO port to use latest asio and esp-idf features
See merge request espressif/esp-idf!6623
2020-01-10 12:57:25 +08:00
Angus Gratton
426319c123
Merge branch 'feature/nvs_cxx_new' into 'master'
...
NVS: exposing C++ functionality via C++ handle
See merge request espressif/esp-idf!6926
2020-01-10 12:32:17 +08:00
Angus Gratton
880cc02ef2
Merge branch 'bugfix/mqtt_submodule_ref_update' into 'master'
...
MQTT: update submodule to point to latest commit.
Closes IDF-1162, IDF-1126, IDFGH-2197, IDFGH-2235, IDFGH-2293, FCS-254, and FCS-267
See merge request espressif/esp-idf!7216
2020-01-10 12:32:03 +08:00