Commit Graph

9813 Commits

Author SHA1 Message Date
Mahavir Jain
b18d8f1863 Merge branch 'bugfix/http_client_empty_headers' into 'master'
esp_http_client: Fix issue when response headers have empty value

Closes IDFGH-3613, IDFGH-3921, and IDFGH-3959

See merge request espressif/esp-idf!10035
2020-09-11 23:47:32 +08:00
Mahavir Jain
ac7f7084bc Merge branch 'bugfix/returns_correct_flash_encryption_mode' into 'master'
bootloader: Fix esp_get_flash_encryption_mode()

Closes IDFGH-3841

See merge request espressif/esp-idf!10142
2020-09-11 18:37:33 +08:00
boarchuz
bf942a60f3 esp_http_client: add flush response
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges: https://github.com/espressif/esp-idf/pull/5845
Closes: https://github.com/espressif/esp-idf/issues/5814
2020-09-11 15:25:24 +05:30
Mahavir Jain
34d5b64a34 Merge branch 'task/nvs_util_file_handling' into 'master'
nvs_util: Update file I/O handling for error handling across various OS

See merge request espressif/esp-idf!10051
2020-09-11 17:52:02 +08:00
Ivan Grokhotkov
00072fe2e2 Merge branch 'ci/standalone_unit_test_app' into 'master'
CI: add standalone unit test app for esp_netif

See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
Shivani Tipnis
d1f00e7c36 nvs_util: Update file I/O handling for error handling across various OS 2020-09-11 06:35:01 +00:00
Shubham Kulkarni
bb8981903e esp_http_client: Fix issue when response headers have empty value
Closes: https://github.com/espressif/esp-idf/issues/5553
2020-09-11 11:48:36 +05:30
KonstantinKondrashov
09af4a9fad bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.

Closes: https://github.com/espressif/esp-idf/issues/5747
2020-09-11 04:20:23 +00:00
Island
9ac8b8739b Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
ble_mesh: stack: Using the latest iv_index for provisioning

See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
lly
1037736300 ble_mesh: stack: Using the latest iv_index for provisioning
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 00:47:43 +00:00
suren.gabrielyan
a43c06a592 mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
5a8e2c1f52 Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
sleep: fix esp32 light sleep duration

See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
esp_flash: decrease performance threshold of ESP32-S2

See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
Michael (XIAO Xufeng)
37e3f20252 Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
esp_flash: fix write issue using buffer on stack out of lifetime

See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
components/bt: Fix SPP using NULL point with dynamic memory

Closes BT-1024

See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9 Merge branch 'feature/cmock_component' into 'master'
cmock as component replacing unity

See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Michael (XIAO Xufeng)
baab55e230 esp_flash: decrease performance threshold of ESP32-S2
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4 esp_flash: fix write issue using buffer on stack out of lifetime 2020-09-10 03:17:39 +00:00
Ivan Grokhotkov
77afbd51ae sleep: fix esp32 light sleep duration
Commit aa43ed8 was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.

Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3 Merge branch 'bugfix/ulp_as_version' into 'master'
ulp: fix ULP assembler version detection for localized systems

See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Ivan Grokhotkov
287bfeb7fd Merge branch 'bugfix/parttool_example_test_fail' into 'master'
fix multiple example test failures

Closes IDFCI-39 and IDFCI-124

See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee ulp: fix ULP assembler version detection for localized systems 2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448 Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
https_server: Added WSS server example and some http(s)+ws updates

Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444

See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3 Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
Set default AP handlers in wifi_create_and_start_ap()

See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Jiang Jiang Jian
b5e9047e47 Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
Fix reboot or crash when enable lightsleep on esp32s2

Closes WIFI-2248

See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
Ivan Grokhotkov
26016534d8 bootloader: move rtc_retain_mem functions back into .iram_loader.text
Introduced 66a32c17 when bootloader_common was moved out of the loader
section.

Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863 http_server: Simplified httpd_get_client_list() to return clients in int array 2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9 http_server: Add a flag to enable using control frames in user handlers 2020-09-09 08:00:20 +02:00
David Cermak
fe862f413f https_server: Fix use of open_fn from application level
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427 esp_http_server: Add Websocket API to return list of active clients
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512 Merge branch 'bugfix/cxx_flag_operators' into 'master'
esp_eth: moved extern "C" after includes

See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fa8e0438b4 Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
esp32s2/soc: Fix periph_ll_periph_enabled

See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Jakob Hasse
f7f46905ec esp_eth: moved extern "C" after includes 2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc Set default AP handlers in wifi_create_and_start_ap() 2020-09-08 11:36:07 +05:30
lly
8a3ccd855f ble_mesh: nimble: Fix updating ccc handle with wrong value 2020-09-08 00:47:42 +00:00
Ivan Grokhotkov
3a51584fbb Merge branch 'bugfix/uart_read_o2' into 'master'
hal: workaround for UART FIFO read on ESP32 with -O2 optimization

Closes IDFCI-97

See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Island
122874bf86 Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
ble_mesh: stack: Avoid unnecessary assert in mesh stack

See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00
Anton Maklakov
2b7e02c9ed Merge branch 'revert-983220e2' into 'master'
ci: enable RS485 related tests again

See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
KonstantinKondrashov
0319eb5984 esp32s2/soc: Fix periph_ll_periph_enabled
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
baohongde
898baf20f8 components/bt: Fix SPP using NULL point with dynamic memory 2020-09-07 15:41:30 +08:00
ninh
aa43ed8bb8 fix reboot or crash when enable lightsleep on esp32s2 2020-09-07 15:38:00 +08:00
David Čermák
8ff8a05334 Merge branch 'bugfix/switch_icmp_unit_test_from_baidu_to_taobao' into 'master'
unit_test: increase icmp unit test timeout configuration

See merge request espressif/esp-idf!10284
2020-09-07 14:54:01 +08:00
Jiang Jiang Jian
472c40f84e Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
Bugfix/l2cap link timeout llcp prog btu wtd

Closes BT-941 and BT-973

See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
Fu Hanxi
edc7cc9c00 add component_ut in assign-test and target-test stage.
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
morris
31aa16bbe6 unit_test: switch icmp test server to taobao 2020-09-06 09:42:44 +08:00
Jiang Jiang Jian
b89d1a47f0 Merge branch 'bugfix/change_pcm_config_position' into 'master'
bugfix/ Change PCM config to the right position

See merge request espressif/esp-idf!10185
2020-09-05 13:48:04 +08:00
Mahavir Jain
228adfa6b1 Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
Feature/ota incremental erase during write

See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
David Čermák
ddd8ca6671 Merge branch 'bugfix/fix_transport_ssl_blocking' into 'master'
transport: fix transport ssl blocking

See merge request espressif/esp-idf!10120
2020-09-04 17:47:14 +08:00
Jakob Hasse
40d80b981a Fixed unity fixture for ESP32/S2
* Created compile switch for UNITY_MAIN
  since it was using exit() syscall leading to
  abort() on ESP
2020-09-04 17:37:47 +08:00
Ivan Grokhotkov
f789380e19 WIP/PoC: esp_netif UT as a test app 2020-09-04 17:37:47 +08:00