negativekelvin
553725df84
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-05-07 05:53:19 +00:00
Jiang Jiang Jian
038f51ffa6
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.2' into 'release/v3.2'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.2)
See merge request idf/esp-idf!4913
2019-05-06 11:39:31 +08:00
zhangyanjiao
4e78900fbf
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-05-05 11:53:33 +08:00
Jiang Jiang Jian
f6bfe13eb3
Merge branch 'bugfix/erase_with_vtaskdelay_v3.2' into 'release/v3.2'
...
spi_flash: Add vTaskDelay while a long erasing (v3.2)
See merge request idf/esp-idf!4875
2019-04-28 22:14:41 +08:00
Jiang Jiang Jian
294a051538
Merge branch 'bugfix/ci_submodule_paths_v3.2' into 'release/v3.2'
...
CI - Fix the parsing of submodule paths (backport v3.2)
See merge request idf/esp-idf!4575
2019-04-28 22:13:29 +08:00
Jiang Jiang Jian
4aa1058e8a
Merge branch 'feature/himem_readme_backport_v3.2' into 'release/v3.2'
...
Proper README.md for himem example (backport v3.2)
See merge request idf/esp-idf!4304
2019-04-28 22:13:16 +08:00
Jiang Jiang Jian
a08c77ae96
Merge branch 'bugfix/fix_iperf_exit_error_v3.2' into 'release/v3.2'
...
examples: fix iperf exit error
See merge request idf/esp-idf!4842
2019-04-28 12:00:48 +08:00
Jiang Jiang Jian
df874cd070
Merge branch 'bugfix/httpd_accept_conn_v3.2' into 'release/v3.2'
...
esp_http_server : Only accept new connections if server has capacity to handle more (backport v3.2)
See merge request idf/esp-idf!4722
2019-04-28 11:47:14 +08:00
Anton Maklakov
36fff1d751
ci: Fix the parsing of submodule paths
2019-04-28 03:46:29 +00:00
Konstantin Kondrashov
fe0d45d549
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase.
By default disable.
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-28 02:42:31 +00:00
Jiang Jiang Jian
6f19193de6
Merge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'
...
newlib: Fix adjtime (v3.2)
See merge request idf/esp-idf!4871
2019-04-28 10:36:55 +08:00
Jiang Jiang Jian
8f4e7d2456
Merge branch 'backport/bugfix_url_redirect_v32' into 'release/v3.2'
...
Fix url redirection issue. (backport v3.2)
See merge request idf/esp-idf!4852
2019-04-28 10:36:09 +08:00
Jiang Jiang Jian
4156c6ddec
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.2' into 'release/v3.2'
...
bugfix(psram): improve spi cs timing settings for psram (backport v3.2)
See merge request idf/esp-idf!4846
2019-04-28 10:35:41 +08:00
Jeroen Domburg
cb20ba50b1
Proper README.md for himem example
2019-04-28 02:34:48 +00:00
Jiang Jiang Jian
131979e517
Merge branch 'bugfix/doc_ubuntu_packages_v3.2' into 'release/v3.2'
...
docs: Update package dependencies (backport v3.2)
See merge request idf/esp-idf!4458
2019-04-28 10:27:19 +08:00
Jiang Jiang Jian
9d6cace1fd
Merge branch 'test/detect_exception_in_idf_dut_v3.2' into 'release/v3.2'
...
tiny-test-fw: support detect exception in IDFDUT (backport v3.2)
See merge request idf/esp-idf!4543
2019-04-28 10:26:48 +08:00
Jiang Jiang Jian
a5b007f6bb
Merge branch 'bugfix/msys_cancel_idfpy_v3.2' into 'release/v3.2'
...
tools: re-run idf.py in MSYS with winpty (backport v3.2)
See merge request idf/esp-idf!4456
2019-04-28 10:26:10 +08:00
Jiang Jiang Jian
0beb60e8fc
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.2' into 'release/v3.2'
...
test: fix CI UT job pass even ut app bootup fail (backport v3.2)
See merge request idf/esp-idf!4388
2019-04-28 10:25:53 +08:00
Jiang Jiang Jian
9294e4d08d
Merge branch 'feature/poll_v3.2' into 'release/v3.2'
...
VFS: Implement poll() based on select() (backport v3.2)
See merge request idf/esp-idf!4350
2019-04-28 10:24:41 +08:00
Jiang Jiang Jian
193b8e93a8
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4862
2019-04-26 21:01:35 +08:00
Angus Gratton
8da392aa1d
Merge branch 'feature/esp_http_client_global_ca_store_v3.2' into 'release/v3.2'
...
esp_http_client: add support for using certs from global ca store (backport_v3.2)
See merge request idf/esp-idf!4868
2019-04-26 10:08:23 +08:00
Angus Gratton
c3cee5e3de
Merge branch 'backport/feature_set_redirect_function_v32' into 'release/v3.2'
...
Add a `esp_http_client_set_redirection` function. (backport v3.2)
See merge request idf/esp-idf!4867
2019-04-26 10:07:04 +08:00
Jiang Jiang Jian
0c13ae6b45
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.2)
See merge request idf/esp-idf!4826
2019-04-25 20:05:19 +08:00
Jiang Jiang Jian
306a1173af
Merge branch 'feature/wifi_refactor_softap_power_save_v3.2' into 'release/v3.2'
...
refactor softap power save (backport v3.2)
See merge request idf/esp-idf!4823
2019-04-25 17:05:49 +08:00
Konstantin Kondrashov
592a4295be
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 17:42:38 +08:00
Mahavir Jain
2549951498
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
(cherry picked from commit 27e00cf7aa
)
2019-04-24 14:06:33 +05:30
Vikram Dattu
b2384dc9ee
Add a esp_http_client_set_redirection
function When using direct operations instead of esp_http_client_perform
, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call esp_http_client_set_redirection
function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-24 13:54:22 +05:30
baohongde
f95826144e
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:34:06 +08:00
Vikram Dattu
344cb99d34
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 14:28:21 +05:30
Wangjialin
464df4b788
bugfix: fix bug in flash 80M + sram 40M mode
2019-04-23 02:18:15 +00:00
Wangjialin
8ff0d986b6
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-23 02:18:15 +00:00
Angus Gratton
225bc0f80a
Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.2)
See merge request idf/esp-idf!4780
2019-04-23 07:38:00 +08:00
zhiweijian
96c8343e46
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:55:06 +08:00
xiehang
d9cdbcdc8b
examples: fix iperf exit error
2019-04-22 13:02:42 +08:00
XiaXiaotian
3ee11bcafc
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing
when the associated stations enable IEEE80211 legacy power
save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power
save.
2019-04-19 14:14:33 +08:00
Jiang Jiang Jian
bcb543eb10
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist_v3.2' into 'release/v3.2'
...
Decouple WiFi and BT with coexist to reduce bin size (backport v3.2)
See merge request idf/esp-idf!4811
2019-04-19 13:31:06 +08:00
He Yin Ling
bb73659c9c
Merge branch 'test/modify_mesh_ci_v3.2' into 'release/v3.2'
...
test: update mesh test cases for ci (backport v3.2)
See merge request idf/esp-idf!4650
2019-04-18 11:29:43 +08:00
chenyudong
58bc6be4c0
test:update mesh test cases for ci test(v3.2)
...
add mesh test case in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
add job form IT_02 to IT_08
2019-04-17 17:25:17 +08:00
XiaXiaotian
5059c7fac3
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-04-17 16:59:24 +08:00
Jiang Jiang Jian
cf866f23f2
Merge branch 'bugfix/fix_some_wifi_and_coexist_bugs_0416_v3.2' into 'release/v3.2'
...
esp32: fix some WiFi and coexist bugs (backport v3.2)
See merge request idf/esp-idf!4803
2019-04-17 14:24:32 +08:00
liu zhifu
faec3211bd
esp32: fix some WiFi and coexist bugs
...
Fix following WiFi and coexist bugs:
1. Fix BT disconnecting due to too many reset BB
2. Fix the bug that no TBTT is generated after rx wrong beacon when WiFi/BT coexist
3. Fix a DelBA bug
4. Add out of memory check
5. Fix the bug that STA incorrectly receives packets when scanning in connected status
6. PHY4008: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi mode
2019-04-17 10:02:51 +08:00
Jiang Jiang Jian
c7d0df5451
Merge branch 'bugfix/fix_scan_and_connect_bugs_0415_v3.2' into 'release/v3.2'
...
fix wifi scan and connect bugs (backport v3.2)
See merge request idf/esp-idf!4772
2019-04-16 21:09:15 +08:00
Jiang Jiang Jian
7097cb9c9d
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.2' into 'release/v3.2'
...
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option (v3.2)
See merge request idf/esp-idf!4791
2019-04-16 20:30:09 +08:00
Mahavir Jain
1fcef31195
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-16 11:21:26 +05:30
Jiang Jiang Jian
acc882f4dd
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
...
Some bugs backport 3.2
See merge request idf/esp-idf!4773
2019-04-16 10:45:04 +08:00
Angus Gratton
e4c1bcddc5
Merge branch 'bugfix/freemodbus_fix_critical_sections' into 'release/v3.2'
...
freemodbus: fix critical sections to semaphore mutex (backport v3.2)
See merge request idf/esp-idf!4435
2019-04-16 08:53:23 +08:00
Konstantin Kondrashov
b2455219cc
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-15 21:14:38 +08:00
zhangyanjiao
de6b7d6520
fix wifi scan and connect bugs:
...
1. fix the bug block scan tiemout before scan finish
2. make menuconfig can set the WiFi mgmt short buffer num
3. modify wifi reason code
4. fix the bug PMK recal too long
2019-04-15 18:59:52 +08:00
Jiang Jiang Jian
fa40e43c8d
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4620
2019-04-15 18:52:09 +08:00
Jiang Jiang Jian
9f29dbf656
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into 'release/v3.2'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.2)
See merge request idf/esp-idf!4566
2019-04-15 18:50:58 +08:00