Commit Graph

11408 Commits

Author SHA1 Message Date
fuzhibo
6b361ed70f fix: reduce the consumption of touch sensor during deep sleep 2021-03-15 03:59:54 +00:00
David Čermák
c49d03b8eb Merge branch 'bugfix/tcp_transport_ws_netif_test' into 'master'
tcp_transport:  Fix misuse of ws-transport in set-interface in Tests

Closes IDFCI-492

See merge request espressif/esp-idf!12707
2021-03-12 13:13:40 +00:00
Angus Gratton
ac8d5fb552 Merge branch 'bugfix/fix_ld_relinking_on_modification' into 'master'
build: fix linker scripts edition not triggering a rebuild

Closes IDF-1562

See merge request espressif/esp-idf!12561
2021-03-12 11:16:58 +00:00
Michael (XIAO Xufeng)
23eff08638 Merge branch 'feature/gpio_esp32c3_add_deprecated_header' into 'master'
Added missing ESP32-S3 target for /rom/gpio.h include

Closes IDFGH-4870

See merge request espressif/esp-idf!12648
2021-03-12 07:49:30 +00:00
Omar Chebib
5371231935 build: fix linker scripts edition not triggering a rebuild
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-03-12 07:48:32 +00:00
Jiang Jiang Jian
c4fa75e62c Merge branch 'feature/wifi_support_sta_sleep_at_disconnected' into 'master'
esp_wifi: support to sleep for station at disconnected status

Closes WIFI-3022, FC-82, and FC3-119

See merge request espressif/esp-idf!12693
2021-03-12 07:35:13 +00:00
zwj
b3a2fedfde fix ble connection event report remote address error 2021-03-12 11:49:52 +08:00
David Cermak
70361fc35d tcp_transport/test: Fix wrong use of transport in set-interface 2021-03-11 19:21:00 +00:00
ninh
deb94f4768 esp_wifi: support sta to sleep at disconnected status 2021-03-12 00:20:09 +08:00
David Čermák
bcb5e72552 Merge branch 'fix/fuzzer_host_test_eth' into 'master'
mdns: removed freeRTOS headers dependencies from fuzzer tests

See merge request espressif/esp-idf!12284
2021-03-11 16:14:22 +00:00
suren.gabrielyan
55716945a9 mdns: Removed freeRTOS dependancies from fuzzer tests 2021-03-11 08:57:36 +00:00
xiehang
4d8a1aefbd esp_wifi: Fix the second distribution network failure of ESPTouch v2
Closes https://github.com/espressif/esp-idf/issues/6679
2021-03-11 07:49:06 +00:00
Mahavir Jain
636c4ec158 Merge branch 'feature/support_ws_user_ctx' into 'master'
httpd: Support user_ctx in websocket handler callback request

Closes IDFGH-4732

See merge request espressif/esp-idf!12635
2021-03-11 04:55:29 +00:00
Jiang Jiang Jian
ae65cffff0 Merge branch 'bugfix/esp32c3_light_sleep_default_params_optimize' into 'master'
light sleep: some default parameters optimization

See merge request espressif/esp-idf!12461
2021-03-11 03:33:46 +00:00
Angus Gratton
fd164b82b6 Merge branch 'refactor/move_from_xtensa' into 'master'
Movements from xtensa

Closes IDF-2164

See merge request espressif/esp-idf!10556
2021-03-11 00:24:25 +00:00
Li Shuai
92ddbcda05 deep sleep: power down wifi and bt during deep sleep 2021-03-10 18:22:41 +00:00
Li Shuai
1595973fe8 light sleep: some default parameters optimization 2021-03-10 18:22:41 +00:00
David Čermák
5b51cc6123 Merge branch 'bugfix/mdns_check_local_postfix' into 'master'
mDNS: Updated APIs description and added a warning when hostname

Closes IDFGH-4787

See merge request espressif/esp-idf!12548
2021-03-10 18:06:44 +00:00
Jiang Jiang Jian
a8f6a7a28e Merge branch 'bugfix/c2h_fc_param_fix_ble' into 'master'
Fix for C2H flow control param check when only BLE mode is configured.

See merge request espressif/esp-idf!12672
2021-03-10 17:22:03 +00:00
suren.gabrielyan
9f8d2b944d mDNS: Updated APIs description and shows the warning when hostname contains domain name during the query
Closes https://github.com/espressif/esp-idf/issues/6590
2021-03-10 13:38:13 +00:00
yuanjm
382fe8807d httpd: Support user_ctx in websocket handler callback request
Closes https://github.com/espressif/esp-idf/issues/6538
2021-03-10 12:31:38 +00:00
Jiang Jiang Jian
9e4ba9a4db Merge branch 'bugfix/fix_err_code_issue' into 'master'
esp_wifi: Fix set config return value error

Closes IDFGH-4877, TCI-556, WIFI-3375, and IDFGH-4829

See merge request espressif/esp-idf!12657
2021-03-10 10:12:01 +00:00
Chinmay Chhajed
1d54d9ac13 Fix for C2H flow control param check when only BLE mode is configured. 2021-03-10 15:06:49 +05:30
Angus Gratton
c8ec2edc0f Merge branch 'feature/skip_validate' into 'master'
bootloader: Add config options to skip validation of app for minimum boot time

Closes IDF-2916

See merge request espressif/esp-idf!12659
2021-03-10 08:07:07 +00:00
Mahavir Jain
b8cd8cc2df Merge branch 'feature/transport_support_dev_bind' into 'master'
transport: Support bind socket to specified interface

Closes IDFGH-4232

See merge request espressif/esp-idf!11961
2021-03-10 06:34:39 +00:00
Michael (XIAO Xufeng)
1bfc57b94f Merge branch 'bugfix/uart_baud_c3_s3' into 'master'
uart: fixed incorrect baudrate on C3 and S3 when target is too slow

See merge request espressif/esp-idf!12664
2021-03-10 03:48:12 +00:00
Angus Gratton
6f362b9383 bootloader: Add config options to skip validation of app for minimum boot time 2021-03-10 14:00:46 +11:00
yuanjm
f68e55edb3 esp-tls: Separate timeout_ms conditional judgement from keep alive 2021-03-10 02:19:29 +00:00
yuanjm
a412eb867c tcp_transport: Add bind device function to unit test 2021-03-10 02:19:29 +00:00
yuanjm
c79a907e4f components: Remove repeated keep alive function by ssl layer function
In esp_http_client and esp_websocket_client components, esp_transport_tcp_set_keep_alive has been called and keep-alive config has been saved in ssl->cfg.keep_alive_cfg,
So no need to call esp_transport_ssl_set_keep_alive again.
2021-03-10 02:19:29 +00:00
yuanjm
bead3599ab components: Support bind socket to specified interface in esp_http_client and esp_websocket_client component 2021-03-10 02:19:29 +00:00
yuanjm
c62cbd1254 transport: Support bind socket to specified interface in transport and esp-tls 2021-03-10 02:19:29 +00:00
Angus Gratton
e39b475af1 Merge branch 'feature/crypto_reserve_gdma_ch' into 'master'
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA

Closes IDF-2856

See merge request espressif/esp-idf!12507
2021-03-09 23:44:26 +00:00
Angus Gratton
39a2d531f0 Merge branch 'feature/ldgen_mapping_extensions' into 'master'
ldgen: mapping flags extensions

Closes IDFGH-2524

See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
xiehang
0e10c7e198 esp_wifi: Fix some Wi-Fi bugs
1, Fixed issue of reason code change from 15 to 204 when provide wrong password
2, Fix set config return value error
3, Fix ampdu age timer memory leak

Closes https://github.com/espressif/esp-idf/issues/6673
2021-03-09 20:14:13 +08:00
aleks
bd7cdf8f7c driver: esp32s3 fix UART driver
Fix set UART2 instance to correct base address (esp32s3 has non standard base periph address)
2021-03-09 20:09:42 +08:00
Michael (XIAO Xufeng)
fc61e60948 uart: fixed incorrect baudrate on C3 and S3 when target is too slow
The integer part of the divider is only 12-bit now. We used prescaler to get low frequency instead.
2021-03-09 20:09:42 +08:00
Jiang Jiang Jian
8b75cbf99f Merge branch 'bugfix/btdm_issues_when_light_sleep_and_dfs' into 'master'
Fix issues during light sleep and DFS

Closes BT-1439 and FC3-128

See merge request espressif/esp-idf!12577
2021-03-09 09:51:10 +00:00
Jiang Jiang Jian
b3612b73d6 Merge branch 'bugfix/fix_connected_scan_hidden_ap_issue' into 'master'
Fixed issue with hidden AP scans after connecting AP

Closes IDFGH-4827

See merge request espressif/esp-idf!12587
2021-03-09 07:11:18 +00:00
Angus Gratton
4f406d7a35 Merge branch 'bugfix/read_ota_partition_required_output_arg' into 'master'
otatool: Fixes read_ota_partition cmd, required output arg

Closes IDFGH-4756

See merge request espressif/esp-idf!12601
2021-03-09 06:29:34 +00:00
Angus Gratton
32ea7dc812 Merge branch 'feature/bootloader_disable_logs_unnecessary_warnings' into 'master'
bootloader: Disables unnecessary warning logs when invalid magic byte

Closes IDF-1900

See merge request espressif/esp-idf!12514
2021-03-09 06:28:46 +00:00
baohongde
33df1358ef Fix issues during light sleep and DFS 2021-03-09 13:49:59 +08:00
Marius Vikhammer
fe71a8e340 aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.

Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Angus Gratton
d6112c12b7 Merge branch 'bugfix/extern_c_decl' into 'master'
[cxx]: bugfixed extern c decl

See merge request espressif/esp-idf!12554
2021-03-09 00:01:56 +00:00
ronghulin
1982f4a2fb esp_wifi: fix some wifi bugs
1.Fixed issue with hidden AP scans after connecting AP.
2.Fix watchdog issue when receiving action frame.

Closes https://github.com/espressif/esp-idf/issues/6626
2021-03-08 21:02:47 +08:00
Seon Rozenblum
dd2a8e330b Added missing ESP32-S3 target for /rom/gpio.h include
I know this is being depreciated in 5, but we need it working for S3 in 4.x :)

Closes https://github.com/espressif/esp-idf/pull/6666
2021-03-08 17:54:16 +08:00
Mahavir Jain
907ea44ee9 Merge branch 'feature/http_server_optimizations' into 'master'
esp_http_server optimisations

Closes IDFGH-4484 and IDFGH-4741

See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Angus Gratton
f7d7954bf4 Merge branch 'bugfix/dport_init_min_stack_size' into 'master'
freertos: Increase minimum task stack size when stack smashing checker is enabled

Closes IDFGH-4586 and IDFCI-482

See merge request espressif/esp-idf!12369
2021-03-08 07:33:47 +00:00
Jiang Jiang Jian
ffe5e45c77 Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test' into 'master'
Fix controller task watchdog in Wi-Fi test

Closes WIFI-3391

See merge request espressif/esp-idf!12628
2021-03-08 07:02:16 +00:00
William Ferguson
13bc5feb0a [cxx]: fixed extern "C" declarations
* Moving #includes above
  #ifdef __cplusplus extern "C" { #endif
  So that we can compile with CPP.

Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6634
2021-03-08 14:11:33 +08:00