Commit graph

9341 commits

Author SHA1 Message Date
Jiang Jiang Jian
31aa7e09fa Merge branch 'bugfix/add_api_to_get_internal_heap' into 'master'
esp_wifi: Add API to get available internal heap size

Closes WIFI-1340

See merge request espressif/esp-idf!9047
2020-07-07 14:50:10 +08:00
Jiang Jiang Jian
ae6b037f2b Merge branch 'bugfix/fix_wifi_storage_nvs_some_issue' into 'master'
bugfix: fix wifi storage nvs some issue

Closes WIFI-2434 and WIFI-2191

See merge request espressif/esp-idf!9322
2020-07-07 14:49:32 +08:00
Michael (XIAO Xufeng)
4e8ae0343b Merge branch 'bugfix/add_api_adc2_vref_to_gpio_for_esp32s2' into 'master'
driver(adc): esp32s2 support API `adc2_vref_to_gpio`

Closes IDF-1356

See merge request espressif/esp-idf!9051
2020-07-06 13:00:00 +08:00
Michael (XIAO Xufeng)
c58fd3df29 Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo' into 'master'
MCPWM: Fix PWM-fault init function that read config incorrectly

Closes IDFGH-3473 and IDFGH-3539

See merge request espressif/esp-idf!9315
2020-07-06 12:35:45 +08:00
Angus Gratton
dafe5df3ac Merge branch 'bugfix/cleanup_bt_reference_from_esp32s2_ld' into 'master'
esp32s2: cleanup bt reference from esp32s2 ld

See merge request espressif/esp-idf!9419
2020-07-06 08:32:33 +08:00
Mahavir Jain
e2e94a0bd2 Merge branch 'bugfix/enable_mbedtls_renegotiation' into 'master'
esp-tls: enable TLS renegotiation using explicit API call

See merge request espressif/esp-idf!9456
2020-07-03 16:31:21 +08:00
ronghulin
0e962d754e bugfix: fix wifi storage nvs some issue
1. Configure bandwidth and phy mode to store NVS.
2. API esp_wifi_get_config add acquisition sta.listen_interva.
2020-07-03 15:49:34 +08:00
Wielebny666
77e5aa9aed 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-03 06:32:16 +00:00
Mahavir Jain
52469c8505 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-03 05:52:22 +00:00
zhangyanjiao
b9b82659dd esp_wifi:
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
Jiang Jiang Jian
0dba932933 Merge branch 'bugfix/beacon_security_downgrade' into 'master'
Avoid parsing RSN/WPA IE's after connection

See merge request espressif/esp-idf!9181
2020-07-02 16:45:27 +08:00
Mahavir Jain
e62cb2be68 esp32s2: remove bt references from esp32s2 ld script 2020-07-02 03:45:05 +00:00
Island
0d5b983f61 Merge branch 'bugfix/ble_mesh_fast_prov_misc_update' into 'master'
Bugfix/ble mesh fast prov misc update

See merge request espressif/esp-idf!9413
2020-07-02 11:30:19 +08:00
Michael (XIAO Xufeng)
370a1fa6df Merge branch 'bugfix/fix_ci_about_touch_sensor_denoise_ut' into 'master'
driver(touch): fix touch sensor denoise unit test case

Closes IDF-1834 and TIDF-13311

See merge request espressif/esp-idf!9150
2020-07-02 11:22:42 +08:00
lly
6ca4ea1a1f ble_mesh: stack: Update some fast prov functions 2020-07-01 13:26:06 +00:00
lly
64e76ee019 ble_mesh: stack: Move fast prov functions to a single file 2020-07-01 13:26:06 +00:00
Jiang Jiang Jian
664bf79379 Merge branch 'feature/esp_tls_for_supplicant' into 'master'
wpa_supplicant: Support for mbedtls tls handshake

See merge request espressif/esp-idf!8318
2020-07-01 17:23:31 +08:00
fuzhibo
8d922847af driver(adc): esp32s2 support API adc2_vref_to_gpio 2020-07-01 06:21:45 +00:00
Krzysztof Budzynski
6078fcebff Merge branch 'bugfix/esp_timer_docs' into 'master'
docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332

Closes IDFGH-3575

See merge request espressif/esp-idf!9427
2020-07-01 13:30:13 +08:00
Island
a97a16202e Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
bugfix: ble mesh proxy compile error

See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
Island
b91f05ba74 Merge branch 'bugfix/ble_mesh_set_recv_rssi' into 'master'
Bugfix/ble mesh set recv rssi

Closes IDFGH-3556 and BMCI-96

See merge request espressif/esp-idf!9381
2020-07-01 11:13:25 +08:00
Krzysztof
f925da9179 docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332 2020-06-30 17:56:03 +02:00
xiehang
8b523efc6f esp_wifi: Add API to get available internal heap size. 2020-06-30 21:51:00 +08:00
Nachiket Kukade
fc5d7239ea esp_wifi: Update wifi lib
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-30 18:35:46 +05:30
Jiang Jiang Jian
abef43bf09 Merge branch 'mesh/bugfix_coexist_warning' into 'master'
mesh: remove coexist warnings in ESP_WIFI_MESH

Closes WIFI-2458, IDFGH-3385, IDFGH-3211, and IDFGH-3481

See merge request espressif/esp-idf!9218
2020-06-30 19:34:36 +08:00
Michael (XIAO Xufeng)
a21d3441cc Merge branch 'feature/twai_support_esp32s2' into 'master'
TWAI: Add ESP32-S2 support

Closes IDF-1455

See merge request espressif/esp-idf!8973
2020-06-30 19:19:47 +08:00
Darian Leung
97721d469c TWAI: Add ESP32-S2 support
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:

- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
Angus Gratton
8912462d95 Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set' into 'master'
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment

Closes IDFGH-3192 and IDFGH-3187

See merge request espressif/esp-idf!9105
2020-06-30 13:15:23 +08:00
Jiang Jiang Jian
f84ddd983d Merge branch 'feature/bt_secure_conn_downgrade_check' into 'master'
Bluedroid: Authentication fixes in Legacy and Secure Connection.

Closes BLE-60

See merge request espressif/esp-idf!8541
2020-06-30 11:24:55 +08:00
Jiang Jiang Jian
ce1f1ea000 Merge branch 'bugfix/fix_ping_specify_length_issue' into 'master'
bugfix: fix ICMP specify length issue

Closes WIFI-2497

See merge request espressif/esp-idf!9280
2020-06-29 21:12:12 +08:00
lly
6aef6c5f1c ble_mesh: stack: Copy recv_rssi for other received messages
Follow the commit: 2b80cb6883,
copy the recv_rssi for other mesh messages.
2020-06-29 20:07:42 +08:00
mbroek
2b80cb6883 When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
ctx values to cb_params for the mesh stack.

recv_rssi was not copied.

This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-29 19:54:23 +08:00
Ivan Grokhotkov
84833bf0df Merge branch 'feature/light_sleep_reject' into 'master'
sleep: enable sleep reject when entering light sleep

Closes IDF-1678 and WIFI-1185

See merge request espressif/esp-idf!9242
2020-06-29 15:57:49 +08:00
chenyudong
f67f9d5b4e 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!!!!!!

Closes: https://github.com/espressif/esp-idf/issues/5357
Closes: https://github.com/espressif/esp-idf/issues/5440
Closes: https://github.com/espressif/esp-idf/issues/5210
2020-06-29 11:28:16 +08:00
lly
c8112454c3 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-06-28 23:09:47 +00:00
Ivan Grokhotkov
45fff86e05 Merge branch 'feature/usb_console_ig' into 'master'
add USB CDC as a console option

Closes IDF-1620

See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
ronghulin
9230e0d26d bugfix: fix ICMP specify length issue 2020-06-28 10:46:43 +08:00
Ivan Grokhotkov
f07a7805a6 esptool: update for CDC stub support 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
e94848556b esp32, esp32s2: update console initialization 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
fc8cd4048d vfs: add vfs_cdcacm driver (aka USB CDC) 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
34f441249b esp32s2: add internal usb_console API 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
6dfb2d83a7 bootloader: combine console code for ESP32 and S2, add USB support 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
5ee75165f2 esp_common: add "USB CDC" option for console output 2020-06-26 15:38:49 +02:00
kapil.gupta
bd2815db10 wpa_supplicant: Support for mbedtls tls handshake
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-06-26 17:20:22 +05:30
Mahavir Jain
7c5a5617a8 Merge branch 'bugfix/http_server_lru' into 'master'
esp_http_server: Update LRU counter on accepting a new connection

Closes IDFGH-1594

See merge request espressif/esp-idf!9345
2020-06-26 14:48:04 +08:00
Angus Gratton
d02edc2bd1 Merge branch 'bugfix/esp32_encrypted_flash_write' into 'master'
spi_flash: esp32: fix regression in encrypted flash write

See merge request espressif/esp-idf!9286
2020-06-26 14:35:43 +08:00
Shubham Kulkarni
0ec5096742 esp_http_server: Update LRU counter on accepting a new connection
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 05:29:00 +00:00
Chinmay Chhajed
e3350e7861 Bluedroid: Authentication fixes in Legacy and Secure Connection.
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:

- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.

- Doing a mutual authentication during Legacy Authentication.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
Ivan Grokhotkov
ebe62ee6d0 Merge branch 'bugfix/exception_crash_workaround' into 'master'
toolchain: C++ exception workarounds

Closes IDF-1128, IDF-1301, and IDF-1804

See merge request espressif/esp-idf!8967
2020-06-25 17:39:20 +08:00
Angus Gratton
22d9ff5b05 Merge branch 'feature/block_sha_fallback' into 'master'
esp32s2 SHA: fallback to hashing block by block for non DMA memory

Closes IDF-1529

See merge request espressif/esp-idf!8293
2020-06-25 09:30:39 +08:00