Commit graph

9355 commits

Author SHA1 Message Date
Michael Balzer b501d31d97 FreeRTOS: add mutex hold count to task status info 2020-08-02 11:13:10 +02:00
Island cf056a7d0b Merge branch 'bugfix/ble_mesh_update_send_ttl' into 'master'
Bugfix/ble mesh update send ttl

Closes BMCI-79

See merge request espressif/esp-idf!9446
2020-07-09 23:05:28 +08:00
Roland Dobai ee5e3f8b93 CI: Fix timeout in the espcoredump test 2020-07-08 11:10:43 +02:00
lly 8005d07e07 ble_mesh: stack: Add two application macros for TTL 2020-07-08 08:30:54 +00:00
lly edb088e5db ble_mesh: stack: Update send_ttl in btc when recv a msg
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.

Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-08 08:30:54 +00:00
Jiang Jiang Jian 5da526a0cb Merge branch 'bugfix/bt_acl_tx_handler_skip' into 'master'
Fixes ACL TX handler functioning.

Closes BCI-204

See merge request espressif/esp-idf!9459
2020-07-08 16:02:53 +08:00
Shubham Kulkarni 3c7991813d esp_http_client.h: Add error codes in HttpStatus_Code
esp_https_ota.c: Add checks for HTTP error codes

Closes: https://github.com/espressif/esp-idf/issues/5537
2020-07-08 04:03:26 +00:00
Ivan Grokhotkov 8cd1f99ace Merge branch 'refactor/common_rom_gpio_apis' into 'master'
esp_rom: extract common GPIO apis into esp_rom_gpio.h

See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
Ivan Grokhotkov adf86bd95e Merge branch 'feature/console_repl_on_uart' into 'master'
console_repl: move UART specific configuration into single config structure

See merge request espressif/esp-idf!8964
2020-07-07 16:27:47 +08:00
Ivan Grokhotkov 46e43511cc Merge branch 'bugfix/rs485_test_temp_disable' into 'master'
ci: temporarily disable RS485 related tests

See merge request espressif/esp-idf!9374
2020-07-07 16:06:14 +08:00
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
morris a4d0033c03 esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
Ivan Grokhotkov 983220e216 ci: temporarily disable RS485 related tests 2020-07-06 20:12:43 +00: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
Chinmay Chhajed 9bac16fcec Fixes ACL TX handler functioning.
ACL TX handler was never being called. Changed it's caller function so
that it is called properly.
2020-07-02 17:11:29 +05:30
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
morris 29f8aecfc0 console_repl: change config structure to support different devices 2020-07-02 07:39:46 +00: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