Commit Graph

15390 Commits

Author SHA1 Message Date
Mahavir Jain
0a933f66e3 Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
Fix/https server mem leak for error ret

Closes IDFGH-4300

See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
Ivan Grokhotkov
a8983a72a1 Merge branch 'feature/idfpy_crtl_c_processing_4_win' into 'master'
tools: idf_exe: add Ctrl+C processing

See merge request espressif/esp-idf!11357
2020-11-25 21:24:00 +08:00
Dmitry Yakovlev
976cb8fd61 tools: idf_exe: add Ctrl+C processing 2020-11-25 21:23:55 +08:00
Angus Gratton
893a42e72c Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
CI: remove fake binary size check in example test

Closes IDFCI-255, IDFCI-256, and IDFCI-257

See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
Island
af45d6d6ea Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
bugfix: Delete local variables to avoid null global variables

See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
Island
1eb36bc348 Merge branch 'example/aligenie' into 'master'
ble_mesh: add aligenie ble mesh example

See merge request espressif/esp-idf!9591
2020-11-25 20:26:15 +08:00
Anton Maklakov
bf10c537e4 Merge branch 'bugfix/ci_espcoredump' into 'master'
tools: Fix non-existing key in espcoredump's GDMI payload and increase internal GDB delay for CI tests

Closes IDFCI-74 and IDFCI-226

See merge request espressif/esp-idf!11221
2020-11-25 19:16:24 +08:00
Anton Maklakov
59394f631a Merge branch 'ci/sonarqube_exclude_list_example_more_clear' into 'master'
CI: clarify file patterns in sonar_exclude_list.txt

See merge request espressif/esp-idf!11350
2020-11-25 18:47:53 +08:00
Michael (XIAO Xufeng)
5b97f4ab5b Merge branch 'feature/esp_flash_32b_addr_doc' into 'master'
spi_flash: add a block of flash chip supports in the document

See merge request espressif/esp-idf!9895
2020-11-25 17:01:12 +08:00
Aditya Patwardhan
df0b016cfd Fixed typo in configure_ds.py script commmand. 2020-11-25 13:47:48 +05:30
Aditya Patwardhan
c707d0d323 Fixed ssl_ctx not being freed at the time of error.
Closes https://github.com/espressif/esp-idf/issues/6143
2020-11-25 13:47:38 +05:30
InfiniteYuan
b6c86dfa00 bugfix: Delete local variables to avoid null global variables 2020-11-25 15:41:31 +08:00
Krzysztof Budzynski
82161dbdb5 Merge branch 'doc/update_Chinese_translation_for_index_in_get-started_folder' into 'master'
update CN translation for index & establish-serial-connection and add CN translation for VScode-setup to get EN and CN in sync

See merge request espressif/esp-idf!10903
2020-11-25 14:45:31 +08:00
Dai Zi Yan
c2818e775c Updated CN translation for index.rst and establish-serial-connection.rst and add CN translation for VScode-setup.rst in get-started folder to get EN and CN translation in sync 2020-11-25 14:45:26 +08:00
InfiniteYuan
7e182bb808 ble mesh: add aligenie ble mesh example 2020-11-25 14:33:33 +08:00
He Yin Ling
a908174c06 test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Michael (XIAO Xufeng)
af992c26bc Merge branch 'bugfix/fix_x32k_startup_slow_bug' into 'master'
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32

See merge request espressif/esp-idf!10519
2020-11-24 17:37:29 +08:00
Cao Sen Miao
a610b3ac42 spi_flash: add a block of flash chip supports in the document 2020-11-24 15:46:53 +08:00
Angus Gratton
7446988959 Merge branch 'bugfix/secure_boot_v2_manual_enablement' into 'master'
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.

See merge request espressif/esp-idf!11161
2020-11-24 15:39:00 +08:00
Fu Hanxi
10df5b3a7c CI: clarify file patterns in sonar_exclude_list.txt 2020-11-24 13:39:18 +08:00
Michael (XIAO Xufeng)
10fd0c26d4 Merge branch 'bugfix/spi_fix_spi_ll_func_name' into 'master'
spi: fix rx_eof and out_eof related function names in spi_ll.h

See merge request espressif/esp-idf!11007
2020-11-24 12:25:04 +08:00
Island
58f11c0c33 Merge branch 'feat/ble_mesh_provisioner_recv_hb_support' into 'master'
ble_mesh: stack: Provisioner supports receiving heartbeat

Closes BLEMESH-259

See merge request espressif/esp-idf!11244
2020-11-23 20:02:33 +08:00
Jiang Jiang Jian
e130d27fb7 Merge branch 'bugfix/control_wpa3_code_with_flag' into 'master'
Use WPA3 flag to reduce code size

Closes WIFI-2910 and IDFGH-4103

See merge request espressif/esp-idf!10963
2020-11-23 19:52:38 +08:00
chaijie
a48b5246cc ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2020-11-23 19:38:11 +08:00
Angus Gratton
d6bdd1cb32 Merge branch 'bugfix/small_cleanups' into 'master'
Small cleanups

See merge request espressif/esp-idf!11141
2020-11-23 17:23:53 +08:00
Supreet Deshpande
73d1be4281 Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.
Fixes https://github.com/espressif/esp-idf/issues/6050
2020-11-23 06:52:44 +00:00
Angus Gratton
403fdf8e9c Merge branch 'bugfix/fix_ttfw_idf_performance_check_not_work' into 'master'
ttfw: fix ttfw_idf performance check not work

See merge request espressif/esp-idf!10001
2020-11-23 14:50:18 +08:00
Michael (XIAO Xufeng)
698ccb7604 Merge branch 'bugfix/remove_log_from_adc_set_init_code' into 'master'
Driver(ADC): remove ESP_LOGD from adc_set_init_code

Closes IDFGH-4233

See merge request espressif/esp-idf!11306
2020-11-23 14:46:16 +08:00
Angus Gratton
17fea25f45 Merge branch 'ci/fix_annotated_tag_check' into 'master'
ci: Fix annotated tag check

See merge request espressif/esp-idf!11324
2020-11-23 14:35:31 +08:00
zhangyanjiao
c0f4fdfd4d wpa_supplicant: Use WPA3 flag to reduce code size
Flag ESP32_WIFI_ENABLE_WPA3_SAE from Menuconfig is used to
control the stack size required by WPA3. Use the same flag
to compile out the WPA3 code and control the code size.
With this flag disabled code footprint reduces by about 7.7kB
in libwpa_supplicant.a
Update WiFi libs with added checks to cleanly handle disabling
of WPA3 callbacks.

Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-23 14:28:12 +08:00
lly
ad52ba97e1 ble_mesh: ci: Add enabling hb recv sdkconfig file 2020-11-23 01:28:28 +00:00
lly
db4b87a771 ble_mesh: stack: Provisioner supports receiving heartbeat 2020-11-23 01:28:28 +00:00
Angus Gratton
a47e207a7e ci: Fix annotated tag check
Regression in 1612f84
2020-11-23 10:23:24 +11:00
Jiang Jiang Jian
0e42b856af Merge branch 'bugfix/initialize_SO_REUSEADDR_value' into 'master'
[WiFi] fixed iperf example parameter opt isn't initialized bug

See merge request espressif/esp-idf!10913
2020-11-22 16:08:21 +08:00
David Čermák
57bf32e218 Merge branch 'bugfix/esp_netif_dangling_hostname' into 'master'
esp_netif: Fixed possible use of hostname pointer after its freed

Closes IDFGH-4189

See merge request espressif/esp-idf!11085
2020-11-21 03:55:51 +08:00
David Cermak
916d2f6f4c esp_netif: Added test for failing to set hostname 2020-11-20 10:06:53 +00:00
David Cermak
7c4d3fbf8b esp_netif: Fixed possible use of hostname pointer after its freed
When setting hostname using esp_netif_set_hostname_api() failed for some reason, the netif pointer might be freed while lwip pointer stil point to that location and could be used. Fixed by moving the freeing and string duplication to the block where lwip hostname is set.

Closes https://github.com/espressif/esp-idf/issues/6048
2020-11-20 10:06:53 +00:00
David Čermák
ae30617810 Merge branch 'feature/mqtt_submodule_update_23c8e1ec' into 'master'
MQTT: Update submodule reference to da850b (config, error flags, minor fixes)

Closes IDFGH-4033

See merge request espressif/esp-idf!11225
2020-11-20 17:21:02 +08:00
Chen Yi Qun
579b842fd6 Driver(ADC): remove ESP_LOGD from adc_set_init_code
ESP_LOGD is called from adc_set_init_code, which is invoked from a critical section.

Closes: https://github.com/espressif/esp-idf/issues/6091
2020-11-20 07:10:09 +00:00
Anton Maklakov
c82799c9c8 Merge branch 'feature/support_python3_ci' into 'master'
ci: All jobs use python3 by default

See merge request espressif/esp-idf!11154
2020-11-20 15:01:01 +08:00
Krzysztof Budzynski
fb06ebe8a8 Merge branch 'doc/add_chinese_translation_to_wifi_driver_in_api_guides_directory' into 'master'
docs: add a Chinese translation for wifi driver

See merge request espressif/esp-idf!10534
2020-11-20 10:33:05 +08:00
Hao Ning
720e228dde add a chinese translation for wifi driver
add the first part translated by joy

add the last part translated by huizi

solved some formatting issues and typos in en text

add updated cn translation based on peer review comments

updated based on technical review comments

add links to api functions

solve pipeline errors

convert line endings in cn file

solve some build errors

reedit a table
2020-11-20 10:33:04 +08:00
David Cermak
c31cd77d43 examples: make mqtt tcp example to report tcp-transport errno 2020-11-19 17:25:04 +01:00
David Cermak
467e4d997b MQTT: Update submodule reference: config, error handle, minor fixes
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
  outbox-size)
* extended error handle to include socket's errno

Closes https://github.com/espressif/esp-idf/issues/5906

Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179

Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178

mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a

config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96

Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174

Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5

Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166

Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-19 17:17:40 +01:00
Mahavir Jain
a1c2141f82 Merge branch 'bugfix/fix_mbedtls_dynamic_resource_memory_leak' into 'master'
fix(mbedtls): fix mbedtls dynamic resource memory leaks

Closes IDFGH-4251

See merge request espressif/esp-idf!9874
2020-11-19 22:18:54 +08:00
David Čermák
9741d43cdd Merge branch 'bugfix/ipv6_address_value_issue' into 'master'
lw-ip:bugfix for ipv6_address_value_issue

Closes WIFI-2636

See merge request espressif/esp-idf!10038
2020-11-19 21:13:12 +08:00
Armando
9c507982aa spi: fix spi_ll.h func name
On esp32 and esp32s2:
``spi_ll_dma_set_out_eof_generation`` is modified to
``spi_ll_dma_set_rx_eof_generation``.

``spi_dma_ll_set_rx_eof_generation`` is modified to
``spi_dma_ll_set_out_eof_generation``.

Because on ESP32S3, this bit ``out_eof_mode`` is moved to DMA related
registers.
2020-11-19 19:33:02 +08:00
Mahavir Jain
30bc5dec1a Merge branch 'bugfix/redirection' into 'master'
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string.

Closes IDFGH-4009 and IDFGH-4184

See merge request espressif/esp-idf!10707
2020-11-19 19:09:48 +08:00
Scott Shell
8c09fbf6f1 Make the UserAgent string in esp-http-client configurable
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6044
2020-11-19 14:43:14 +05:30
Shubham Kulkarni
aceb38c326 http_auth.c: Fix crash when opaque field is not present in challenge string
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-11-19 14:43:14 +05:30