He Yin Ling
03fc307e21
versions: Update version to 4.0.3
2021-06-24 17:35:06 +08:00
Island
ee8c27e5e3
Merge branch 'bugfix/AuthValue_leak_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.0)
See merge request espressif/esp-idf!14005
2021-06-18 03:47:47 +00:00
wangjialiang
6ba3ae339b
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 16:53:07 +08:00
Island
3ea9deff82
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.0)
See merge request espressif/esp-idf!13924
2021-06-17 07:38:45 +00:00
wangjialiang
f9b2bba5a4
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 21:28:52 +08:00
Island
577aef29ad
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.0' into 'release/v4.0'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13916
2021-06-10 02:56:25 +00:00
Island
8ca5068f20
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.0' into 'release/v4.0'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.0)
See merge request espressif/esp-idf!13898
2021-06-09 06:32:42 +00:00
Chinmay Chhajed
e42479e129
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-06-08 10:09:21 +05:30
xiewenxiang
3892a92d80
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 18:03:19 +08:00
Angus Gratton
bdbfdcdf5c
Merge branch 'bugfix/partition_table_integrity_check_v4.0' into 'release/v4.0'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.0)
See merge request espressif/esp-idf!13586
2021-06-03 02:14:28 +00:00
Angus Gratton
c572e0bf5f
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:30:02 +10:00
He Yin Ling
b23f8e21cd
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.0' into 'release/v4.0'
...
ttfw: fix DUT exception not added to junit report (v4.0)
See merge request espressif/esp-idf!13614
2021-05-26 03:12:41 +00:00
Jiang Jiang Jian
1a415f3e31
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.0' into 'release/v4.0'
...
NimBLE: Fix MITM vulnerability and free AES context (v4.0)
See merge request espressif/esp-idf!13599
2021-05-25 14:27:33 +00:00
Prasad Alatkar
fc9f2e8782
NimBLE: Fix MITM vulnerability and free AES context (v4.0)
2021-05-25 14:57:37 +05:30
He Yin Ling
091681faec
ttfw: fix DUT exception not added to junit report
2021-05-20 16:57:06 +08:00
Island
532d0a72c3
Merge branch 'nimble/fix_host_flow_ctrl_v4.0' into 'release/v4.0'
...
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v4.0)
See merge request espressif/esp-idf!13577
2021-05-19 09:50:27 +00:00
Angus Gratton
51623fd4ce
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
Feature/oocd ver backport v4.0
See merge request espressif/esp-idf!11378
2021-05-19 07:57:38 +00:00
Angus Gratton
0242438e9d
Merge branch 'bugfix/setjmp_longjmp_4.0' into 'release/v4.0'
...
[system]: Made longjmp save for context switch (backport v4.0)
See merge request espressif/esp-idf!13503
2021-05-19 01:39:51 +00:00
Prasad Alatkar
e123d89625
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 19:01:28 +05:30
Prasad Alatkar
b57b6f1adb
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:01:17 +05:30
He Yin Ling
4ba4b5780e
Merge branch 'bugfix/python3_target_test_4.0' into 'release/v4.0'
...
ci: using python3 to tun target test (4.0)
See merge request espressif/esp-idf!13241
2021-05-11 09:15:18 +00:00
Alexey Gerenkov
0d99d2a1a1
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:23:48 +00:00
Jakob Hasse
19eab31660
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-05-10 19:21:56 +08:00
Jiang Jiang Jian
fa1f7e112c
Merge branch 'feature/twdt_prints_backtrace_v4.0' into 'release/v4.0'
...
Add Task Watchdog backtrace printing (v4.0)
See merge request espressif/esp-idf!12618
2021-05-10 09:47:28 +00:00
Jiang Jiang Jian
f5c4e5e7d2
Merge branch 'bugfix/gtk_reinstallation_fix_v4.0' into 'release/v4.0'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.0)
See merge request espressif/esp-idf!13184
2021-05-10 08:33:46 +00:00
Jiang Jiang Jian
ce99b662c2
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy_backport40' into 'release/v4.0'
...
freemodbus: fix event processing failure after destroy (backport v4.0)
See merge request espressif/esp-idf!9323
2021-05-10 08:30:45 +00:00
aleks
940e108c4b
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2021-05-10 08:43:42 +02:00
Kapil Gupta
39a3d1df8e
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-10 11:22:01 +05:30
Kapil Gupta
c5f0a609c8
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-05-10 11:22:01 +05:30
Jiang Jiang Jian
1ce0d7bcf4
Merge branch 'bugfix/scheduler_start_iram_v4.0' into 'release/v4.0'
...
freertos: move some of the initialization functions out of IRAM (v4.0)
See merge request espressif/esp-idf!11222
2021-05-10 04:36:16 +00:00
Jiang Jiang Jian
dba7cab2d9
Merge branch 'bugfix/spi_fix_duplex_switch_v4.0' into 'release/v4.0'
...
spi_master: fix duplex mode switch issue for multi devices (4.0)
See merge request espressif/esp-idf!11235
2021-05-10 04:13:28 +00:00
Jiang Jiang Jian
6b294bac4c
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.0' into 'release/v4.0'
...
esp_wifi: Fix setting channel error after WiFi stop ( backport v4.0)
See merge request espressif/esp-idf!13452
2021-05-10 03:18:32 +00:00
Jiang Jiang Jian
66b2b5f45c
Merge branch 'feature/nvs_allow_custom_part_4.0' into 'release/v4.0'
...
Feature/nvs allow custom part 4.0
See merge request espressif/esp-idf!9519
2021-05-10 03:13:47 +00:00
Darian Leung
29d6823d2f
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-05-10 03:09:20 +00:00
Jiang Jiang Jian
676905709a
Merge branch 'bugfix/fix_uart_module_enable_issue_4.0' into 'release/v4.0'
...
driver(uart): fix uart module reset issue (release V4.0)
See merge request espressif/esp-idf!11971
2021-05-10 03:07:41 +00:00
Jiang Jiang Jian
b89b1ec022
Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.0' into 'release/v4.0'
...
Fix the issue that the controller do not report the timeout disconnect event
See merge request espressif/esp-idf!13468
2021-05-10 03:03:58 +00:00
Jiang Jiang Jian
763aa66036
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.0)
See merge request espressif/esp-idf!13482
2021-05-08 12:54:53 +00:00
ChenJianxing
4a24cb7d8f
esp_wifi: fix some wifi bugs
...
1. Fix setting channel error after WiFi stop
2. Fixed issue of reason code change from 15 to 204 when provide wrong password
3. Fix set config return value error
4. Fix ampdu age timer memory leak
5. Add beacon timeout event
6. Ignore dirtyBuf check when buffer size is larger than 4092
7. Fix SoftAP not initiating 4-way handshake if max length passphrase is set
8. Fix esptouch find hidden AP fail
9. Clear AP Bss when auth timeout happens.
10.Fix not connect to open AP when WPA3 auth fail.
11.Fix esp_wifi_80211_tx when out of memory unlock mutex issue.
12.Fix esp_wifi_80211_tx can't be used in ap mode
13.Fix hidden AP scans after connecting AP
14.Fix watchdog happens when receiving action frame
2021-05-08 19:55:00 +08:00
Jiang Jiang Jian
9ee19a35b8
Merge branch 'bugfix/spp_data_send_delay_v4.0' into 'release/v4.0'
...
Bugfix/spp data send delay v4.0
See merge request espressif/esp-idf!11774
2021-05-08 09:47:23 +00:00
Jiang Jiang Jian
3907e8a067
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.0' into 'release/v4.0'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.0]
See merge request espressif/esp-idf!12558
2021-05-08 07:28:38 +00:00
Jiang Jiang Jian
5c0b14e167
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.0' into 'release/v4.0'
...
fix multi con pair failed and cancel con state error (backport v4.0)
See merge request espressif/esp-idf!13477
2021-05-08 07:28:10 +00:00
Jiang Jiang Jian
970dc8cf80
Merge branch 'mesh/esp_mesh_send_block_time_v4.0' into 'release/v4.0'
...
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v4.0)
See merge request espressif/esp-idf!13411
2021-05-08 07:05:53 +00:00
baohongde
09e665770f
components/bt: Add API to config QoS
2021-05-08 06:05:50 +00:00
baohongde
e1c9aafd46
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2021-05-08 06:05:50 +00:00
wangjialiang
6826f9dbba
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 13:13:58 +08:00
zwj
eb9841e769
update con state when getting connection cancle complete
2021-05-08 03:42:02 +00:00
zwj
84df41cdf0
fix multi-connection pair failed
2021-05-08 03:42:02 +00:00
Jiang Jiang Jian
d4970113af
Merge branch 'example/aligenie_v4.0' into 'release/v4.0'
...
ble_mesh: add aligenie ble mesh example (backport V4.0)
See merge request espressif/esp-idf!11402
2021-05-08 03:17:31 +00:00
InfiniteYuan
89bff63443
ble mesh: add aligenie ble mesh example
2021-05-08 01:57:48 +00:00
liaowenhao
acbcf13ee5
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-05-07 23:23:38 +00:00
Wang Meng Yang
522103b43a
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.0)
See merge request espressif/esp-idf!13257
2021-05-07 23:03:35 +00:00
wangjialiang
c0a397e0a2
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 13:32:20 +00:00
Yang Zhao
269e903f8c
Fix the issue that the controller do not report the timeout disconnect event.
...
This issue is caused by modem sleep.The sleep interrupt will come the second
time before the CLKN interrupt. If we disable the sleep interrupt when it
comes in the first time, the CLKN will never come.
2021-05-07 20:29:32 +08:00
Wang Meng Yang
755ae308d1
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.0' into 'release/v4.0'
...
component/bt: fix Spelling mistakes (release v4.0)
See merge request espressif/esp-idf!12818
2021-05-07 09:35:00 +00:00
Jiang Jiang Jian
1fa03e6b25
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.0' into 'release/v4.0'
...
lw-ip:backport bugfix lwip for v4.0(backport v4.0)
See merge request espressif/esp-idf!13376
2021-05-07 09:16:59 +00:00
XieWenxiang
1d1368858c
component/bt: Modify some ambiguous descriptions (release v4.0)
2021-05-07 08:08:39 +00:00
David Čermák
29b8bf0221
Merge branch 'bugfix/mqtt_examples_certificates_update_v4.0' into 'release/v4.0'
...
bugfix/mqtt examples: Updates the CA certificates used. (v4.0)
See merge request espressif/esp-idf!13128
2021-05-07 06:45:45 +00:00
Ivan Grokhotkov
6c6e4ca637
freertos: move some of the initialization functions out of IRAM
2021-05-07 04:32:49 +00:00
shenjun
ebf59642c2
esp_wifi_mesh: update wifi mesh libs
...
1. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2. Fix the issue that tx beacon interval become 1 minute
2021-05-07 11:56:03 +08:00
Armando
9e9ebed861
spi: fix duplex mode switch issue for multi devices
...
Closes https://github.com/espressif/esp-idf/issues/1080
2021-05-06 15:56:33 +08:00
Angus Gratton
5ba7202cc1
Merge branch 'bugfix/freertos_addition_overflow_v4.0' into 'release/v4.0'
...
freertos: Fix addition overflow (v4.0)
See merge request espressif/esp-idf!13425
2021-05-05 23:23:01 +00:00
Angus Gratton
728f0807f4
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:51 +10:00
Angus Gratton
beed6820f2
Merge branch 'bugfix/espsecure_args_v4.0' into 'release/v4.0'
...
esptool: Update to fix espsecure.py sign_data default version argument (v4.0)
See merge request espressif/esp-idf!13320
2021-05-03 05:57:27 +00:00
Angus Gratton
d106141032
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 04:19:31 +00:00
Euripedes Rocha
d12f023a32
bugfix/mqtt examples: Updates the CA certificates used.
...
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
the examples.
Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-30 12:20:10 +00:00
Jiang Jiang Jian
14c7c49515
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.0' into 'release/v4.0'
...
[system]: Remove redundant othercore cache disable (backport v4.0)
See merge request espressif/esp-idf!13359
2021-04-30 06:00:35 +00:00
Jiang Jiang Jian
dd26a96a29
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.0' into 'release/v4.0'
...
backport v4.0: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13397
2021-04-30 02:50:23 +00:00
xueyunfei
bc6a98c12c
backport bugfix lwip for v4.0
2021-04-29 13:03:39 +00:00
Li Shuai
16546a89e5
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 15:13:47 +08:00
Mahavir Jain
b6b44f4b4c
Merge branch 'bugfix/esp_http_client_read_v4.0' into 'release/v4.0'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.0)
See merge request espressif/esp-idf!13308
2021-04-29 06:07:56 +00:00
Shubham Kulkarni
69e1d0d2d6
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-29 05:13:52 +00:00
Michael (XIAO Xufeng)
173e8eb18c
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v40' into 'release/v4.0'
...
Bugfix/freemodbus fix mbm event processing v40 (backport v4.0)
See merge request espressif/esp-idf!12827
2021-04-28 15:48:57 +00:00
Chen Yudong
ef1f74174a
ci: run target test with python3
2021-04-28 19:32:59 +08:00
Michael (XIAO Xufeng)
c891be655c
Merge branch 'bugfix/put_uart_isr_in_iram_v4.0' into 'release/v4.0'
...
uart: add option to put ISR in IRAM (v4.0)
See merge request espressif/esp-idf!13143
2021-04-28 07:03:22 +00:00
Hou Wen Xiang
4740d8e42c
driver(uart): fix uart module reset issue (release V4.0)
2021-04-27 10:12:13 +00:00
wuzhenghui
4be9f15803
remove othercore cache disable
2021-04-27 14:36:23 +08:00
Jiang Jiang Jian
d61d8a6756
Merge branch 'feature/installed_tool_failed_v4.0' into 'release/v4.0'
...
tools: Warning about tool being installed but failed to run. (v4.0)
See merge request espressif/esp-idf!13233
2021-04-26 14:18:08 +00:00
Jiang Jiang Jian
b0d6b95fc1
Merge branch 'feature/IDF-2612_human_readable_error_v4.0' into 'release/v4.0'
...
export.bat/install.bat: print human-readable error message if Git or Python are not in PATH (v4.0)
See merge request espressif/esp-idf!13229
2021-04-26 14:17:40 +00:00
Marek Fiala
d2b0cfc7e4
Human-readable error if Git or Python are missing.
...
When user forgot to add git.exe or python to the PATH, there was a not
very helpful error message.
This improves the error with which tool is misssing and shows a link to
the espressif installer tool.
2021-04-26 14:08:37 +02:00
Marek Fiala
ebbe25ec73
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-26 13:48:56 +02:00
Michael (XIAO Xufeng)
9a6f507091
Merge branch 'bugfix/fix_i2s_channals_issue_v4.0' into 'release/v4.0'
...
i2s: fix i2s left/right channels swapped issue(backport v4.0)
See merge request espressif/esp-idf!12943
2021-04-26 03:39:28 +00:00
Angus Gratton
28a42ff170
Merge branch 'bugfix/extern_c_decl_4.0' into 'release/v4.0'
...
[cxx]: fixed extern "C" declarations (backport 4.0)
See merge request espressif/esp-idf!12744
2021-04-23 08:43:21 +00:00
Krzysztof Budzynski
179d20dbc4
Merge branch 'docs/update_CN_tran_build-system_v4.0' into 'release/v4.0'
...
Backport CN translation for api-guides for v4.0
See merge request espressif/esp-idf!13180
2021-04-23 07:53:07 +00:00
Dai Zi Yan
e1a6d45e83
Backport CN translation for api-guides for v4.0
2021-04-23 15:52:58 +08:00
Angus Gratton
8fcf311e7f
Merge branch 'bugfix/calc_8m_freq_test_v4.0' into 'release/v4.0'
...
rtc: increase CI acceptance range for calc 8M test (v4.0)
See merge request espressif/esp-idf!13088
2021-04-23 07:31:55 +00:00
William Ferguson
da3e3b5e28
[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-04-23 07:22:09 +00:00
Jiang Jiang Jian
b2bcb609ad
Merge branch 'nimble/add_error_prints_acl_buf_v4.0' into 'release/v4.0'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.0)
See merge request espressif/esp-idf!12971
2021-04-22 06:04:33 +00:00
Jiang Jiang Jian
59fecb2f8f
Merge branch 'bugfix/correct_cod_check_v4.0' into 'release/v4.0'
...
esp-idf: Corrected check of Class of Device for discovered devices (v4.0)
See merge request espressif/esp-idf!13022
2021-04-22 06:03:44 +00:00
Jiang Jiang Jian
48cb46af55
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.0' into 'release/v4.0'
...
Bugfix/btdm backport ble bugs v4.0
See merge request espressif/esp-idf!12434
2021-04-21 15:17:12 +00:00
zwj
911ce08722
add connection parameter check
2021-04-21 12:21:57 +00:00
zwj
f637a0792d
fix ble connection maximum latency is 499
2021-04-21 12:21:57 +00:00
zwj
d0b8d53410
disable bluedroid congest error log print
2021-04-21 12:21:57 +00:00
zhiweijian
722035b846
fix read multi char failed(GATT_27001)
2021-04-21 12:21:57 +00:00
zhiweijian
fcf36466cd
fix add white list failed
2021-04-21 12:21:57 +00:00
zwj
47e5793c73
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-04-21 12:21:57 +00:00
zwj
d321ee69d5
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-04-21 12:21:57 +00:00
zwj
e0362061a5
fix ble read multi char err when the number of handles is more than 10
2021-04-21 12:21:57 +00:00
zwj
0776318c56
fix scan rsp length err
2021-04-21 12:21:57 +00:00
zwj
712feb1e81
fix vendor hci memory leak
2021-04-21 12:21:57 +00:00
Ivan Grokhotkov
33c4e7f953
Merge branch 'bugfix/broken_virtualenv_v4.0' into 'release/v4.0'
...
tools: Reinstall virtualenv if it is broken (v4.0)
See merge request espressif/esp-idf!12954
2021-04-20 23:34:19 +00:00
Ivan Grokhotkov
4ff13dfd7e
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.0' into 'release/v4.0'
...
tools: handle exception in case of logging Unicode characters (v4.0)
See merge request espressif/esp-idf!13044
2021-04-20 23:34:02 +00:00
Anton Maklakov
5f2a5c1f93
Merge branch 'bugfix/ci/ci_fetch_submodule_fully_match_return_first_v4.0' into 'release/v4.0'
...
fix(ci): ci_fetch_submodule return full match name first (v4.0)
See merge request espressif/esp-idf!13213
2021-04-20 02:35:49 +00:00
Fu Hanxi
3636d44aa9
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:20 +08:00
morris
10a0d7b8cf
uart: add option to put ISR in IRAM
2021-04-14 17:57:32 +08:00
Krzysztof Budzynski
17500de409
Merge branch 'bugfix/doxygen_input_file_bug_v4.0' into 'release/v4.0'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.0)
See merge request espressif/esp-idf!13079
2021-04-12 00:44:08 +00:00
Marius Vikhammer
531cab5fc4
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:44:04 +08:00
Marius Vikhammer
915305fe61
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:46 +08:00
Cao Sen Miao
4e5805dec3
i2s: fix i2s left/right channels swapped issue, Closes https://github.com/espressif/esp-idf/issues/6625
2021-04-07 12:23:08 +08:00
Juraj Michálek
3d83ce6d7a
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:23 +02:00
Rahul Tank
5bcc93a213
esp-idf: Corrected check of Class of Device for discovered devices
...
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.
Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-05 15:29:50 +05:30
Prasad Alatkar
2045e8c701
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-31 10:43:52 +05:30
Roland Dobai
5ca77d9d2c
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 19:28:29 +02:00
Angus Gratton
acddb8fca2
Merge branch 'bugfix/dport_init_min_stack_size_v4.0' into 'release/v4.0'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (v4.0)
See merge request espressif/esp-idf!12801
2021-03-29 06:42:42 +00:00
Krzysztof Budzynski
4d5dba250d
Merge branch 'bugfix/remove_readdocs_badge_v4.0' into 'release/v4.0'
...
docs: remove the read the docs CI badge (v.4.0)
See merge request espressif/esp-idf!12844
2021-03-26 08:31:42 +00:00
Krzysztof Budzynski
36383b0648
Merge branch 'bugfix/translation_link_v4.0' into 'release/v4.0'
...
docs: fix "link to translation" being broken (v4.0)
See merge request espressif/esp-idf!12828
2021-03-24 11:00:09 +00:00
Jiang Jiang Jian
8d22544abf
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v4.0' into 'release/v4.0'
...
components/bt: Shutdown Bluetooth before esp_restart.(V4.0)
See merge request espressif/esp-idf!11757
2021-03-24 06:09:04 +00:00
Jiang Jiang Jian
e46a106a89
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v4.0' into 'release/v4.0'
...
Bugfix/wpa supplicant coverity issue fixes v4.0
See merge request espressif/esp-idf!12850
2021-03-24 04:18:28 +00:00
Jiang Jiang Jian
a5effa6bf3
Merge branch 'bugfix/revert_refactor_wifi_interface_v4.0' into 'release/v4.0'
...
Revert "Refactor wifi_interface_t" (v4.0)
See merge request espressif/esp-idf!12504
2021-03-23 16:19:51 +00:00
aditi_lonkar
8719683deb
esp_local_ctrl: Fix some memory leak issues by coverity static analyzer.
2021-03-23 12:00:29 +05:30
aditi_lonkar
426e0f3948
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-03-23 12:00:01 +05:30
aditi_lonkar
53f5b64887
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:59:34 +05:30
aditi_lonkar
903f7bb99f
wpa_supplicant: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:59:09 +05:30
aditi_lonkar
a6e44ac881
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:58:32 +05:30
aditi_lonkar
3a40b3b349
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-03-23 11:57:50 +05:30
Marius Vikhammer
87e56f132b
docs: remove the read the docs CI badge
...
Docs are built and hosted on our server, so this badge is
no longer needed.
2021-03-23 12:25:17 +08:00
Jiang Jiang Jian
d3fa4c3749
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.0' into 'release/v4.0'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.0)
See merge request espressif/esp-idf!12493
2021-03-23 03:05:28 +00:00
Jiang Jiang Jian
33087e3f27
Merge branch 'component_bt/optimize_spp_stop_server_v4.0' into 'release/v4.0'
...
component_bt/Optimize SPP Stop Server API[backport v4.0]
See merge request espressif/esp-idf!12622
2021-03-22 12:59:10 +00:00
xiehang
48050c7c64
Revert "Refactor wifi_interface_t"
...
This reverts commit 9370b74ee0 .
2021-03-22 17:44:33 +08:00
Jiang Jiang Jian
0ab7751926
Merge branch 'bugfix/fix_wifi_interface_use_v4.0' into 'release/v4.0'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.0)
See merge request espressif/esp-idf!12168
2021-03-22 09:06:10 +00:00
Marius Vikhammer
6b251820d7
docs: fix "link to translation" being broken
...
The translation link would link a specifc commit hash instead of
the release name.
2021-03-22 13:55:21 +08:00
Jiang Jiang Jian
63fdd7a03c
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v4.0' into 'release/v4.0'
...
bugfix/fix_arp_buffer_error_in_smart_config_v4.0
See merge request espressif/esp-idf!12256
2021-03-22 04:29:10 +00:00
Jiang Jiang Jian
3ece767fb1
Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.0' into 'release/v4.0'
...
bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.0
See merge request espressif/esp-idf!12273
2021-03-22 04:28:54 +00:00
baohongde
b8b91f43f1
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-22 02:54:06 +00:00
baohongde
862f335f05
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-22 02:54:06 +00:00
aleks
e7c16f92d0
freemodbuss: fix event processing after merge
2021-03-19 23:00:03 +01:00
Angus Gratton
0e5d47836b
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-19 13:34:07 +08:00
Angus Gratton
f24e1f5601
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-19 13:33:48 +08:00
Michael (XIAO Xufeng)
41efdb0b34
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.0' into 'release/v4.0'
...
spi_master: correctly set cs polarity (4.0)
See merge request espressif/esp-idf!10403
2021-03-10 15:24:06 +00:00
Michael (XIAO Xufeng)
98c76d46bd
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue_v40' into 'release/v4.0'
...
Bugfix/freemodbus fix parity propagation issue (backport v4.0)
See merge request espressif/esp-idf!12387
2021-03-10 03:09:38 +00:00
Jiang Jiang Jian
b9ba76ac9f
Merge branch 'bugfix/fix_csa_channel_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix CSA and BAR crash issue(v4.0)
See merge request espressif/esp-idf!12551
2021-03-05 12:25:19 +00:00
Jiang Jiang Jian
05e3e58ebb
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_0' into 'release/v4.0'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.0]
See merge request espressif/esp-idf!12152
2021-03-05 12:20:11 +00:00
Jiang Jiang Jian
3118147dc7
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_0' into 'release/v4.0'
...
Fix A2DP Underrun Issue [backport v4.0]
See merge request espressif/esp-idf!12279
2021-03-05 12:17:53 +00:00
Mahavir Jain
772c48041d
Merge branch 'fix/esp_tls_typo_v4.0' into 'release/v4.0'
...
Fix/protocom_null_check(v4.0)
See merge request espressif/esp-idf!12633
2021-03-05 06:22:27 +00:00
Aditya Patwardhan
2803e6b111
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:21:24 +05:30
liqigan
75d4004ce6
add API esp_spp_stop_srv_scn to stop a specific server
2021-03-04 15:46:10 +08:00
Angus Gratton
a0efde0997
Merge branch 'bugfix/ci_stdout_encoding_v4.0' into 'release/v4.0'
...
ci: Fix missing sys.stdout.encoding in python2 runners (v4.0)
See merge request espressif/esp-idf!12598
2021-03-04 06:52:32 +00:00
Angus Gratton
570694761e
Merge branch 'bugfix/gpio_ci_fix_input_output_mode_v4.0' into 'release/v4.0'
...
test_gpio: Fix GPIO_MODE_INPUT_OUTPUT test case
See merge request espressif/esp-idf!12608
2021-03-04 06:17:27 +00:00
Angus Gratton
964bed5c1b
test_gpio: Fix GPIO_MODE_INPUT_OUTPUT test case
...
The case sets one pin as output and the other as INPUT_OUTPUT (so output buffer
is enabled in both), then only changes level of one pin - causing a conflict.
Probably this test should be deleted, as it's not good practice for two output
pins to drive each other, but this fix also seems to work.
2021-03-04 12:20:55 +11:00
Angus Gratton
f0b32f0b79
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in dad0230776
2021-03-04 09:28:02 +11:00
Mahavir Jain
781b7f21dc
Merge branch 'bugfix/esp_wifi_deinit_v4.0' into 'release/v4.0'
...
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped (v4.0)
See merge request espressif/esp-idf!12543
2021-03-01 05:31:44 +00:00
Shubham Kulkarni
8f7fb5f126
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-03-01 03:55:01 +00:00
Angus Gratton
4db922612a
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.0' into 'release/v4.0'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.0)
See merge request espressif/esp-idf!12383
2021-02-28 23:57:08 +00:00
ChenJianxing
08828b6fe8
esp_wifi: fix CSA and BAR crash issue
2021-02-27 16:55:20 +08:00
aditi_lonkar
c716d71089
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:09:28 +05:30
Michael (XIAO Xufeng)
756cb17ae0
Merge branch 'feat/spi_flash_override_size_v4.0' into 'release/v4.0'
...
spi_flash: add config option to override flash size in bootloader header (v4.0)
See merge request espressif/esp-idf!12462
2021-02-26 10:07:18 +00:00
Michael (XIAO Xufeng)
e65ed8c959
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2021-02-26 10:12:16 +08:00
Michael (XIAO Xufeng)
8b067e25e2
Merge branch 'revert-983220e2_v4.0' into 'release/v4.0'
...
ci: enable RS485 related tests again (v4.0)
See merge request espressif/esp-idf!12465
2021-02-25 10:07:43 +00:00
Michael (XIAO Xufeng)
b870f6f43c
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:06:33 +08:00
Ivan Grokhotkov
7987f7ccae
Merge branch 'bugfix/eclipse_make_decode_v4.0' into 'release/v4.0'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.0)
See merge request espressif/esp-idf!12360
2021-02-19 15:55:52 +00:00
Ivan Grokhotkov
37d3d920bb
Merge branch 'feature/prefer_python3_in_installer_v4.0' into 'release/v4.0'
...
tools: Prefer python3 during install and export (v4.0)
See merge request espressif/esp-idf!12379
2021-02-19 15:54:14 +00:00
Island
32383a6dfe
Merge branch 'bugfix/ignore_null_valued_comb_key_4_0' into 'release/v4.0'
...
Bugfix/ignore null valued comb key 4 0
See merge request espressif/esp-idf!12356
2021-02-18 11:00:21 +00:00
aleks
0a36f36016
freemodbus: fix mb controller parity propagation issues
2021-02-17 14:05:14 +01:00
Angus Gratton
dad0230776
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2021-02-15 10:48:44 +11:00
Angus Gratton
2f196cface
ci: Log failure to close any DUT
2021-02-15 10:48:44 +11:00
Roland Dobai
b086a41569
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-14 19:47:14 +01:00
Patryk Krzywdziński
b0f2091e63
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:52 +01:00
Chinmay Chhajed
3c7594f1ff
component/bt: Added check for NULL valued combination key.
2021-02-10 15:44:12 +05:30
Chinmay Chhajed
ce21340dc5
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 15:41:40 +05:30
Chinmay Chhajed
c98b72326e
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 15:41:31 +05:30
Mahavir Jain
857b34cfd8
Merge branch 'bugfix/softap_prov_cookies_v4.0' into 'release/v4.0'
...
protocomm_httpd: Use HTTP cookies to track session (v4.0)
See merge request espressif/esp-idf!12267
2021-02-09 16:59:24 +08:00
Island
d1c9216602
Merge branch 'bugfix/ble_mesh_server_model_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix deinit server models with no matching id (v4.0)
See merge request espressif/esp-idf!12315
2021-02-09 16:25:05 +08:00
Krzysztof Budzynski
498aebe38f
Merge branch 'feature/self_hosted_v4.0' into 'release/v4.0'
...
docs: self host docs (v4.0)
See merge request espressif/esp-idf!11595
2021-02-08 14:21:01 +08:00
Marius Vikhammer
8e7e0973db
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2021-02-08 11:54:11 +08:00
lly
dbe997ce1b
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:18:49 +08:00
Piyush Shah
f132cf2b8b
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-02-05 14:28:45 +05:30
Piyush Shah
7755d3955f
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-02-05 14:28:45 +05:30
Island
22688745f6
Merge branch 'bugfix/ble_mesh_mbedtls_aes_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh mbedtls aes fix (v4.0)
See merge request espressif/esp-idf!12271
2021-02-05 14:46:08 +08:00
lly
d94289c83a
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-05 03:26:49 +00:00
lly
574958367f
ble_mesh: stack: Fix mbedtls aes ctx not initialized
2021-02-05 03:26:49 +00:00
Ivan Grokhotkov
5dd22738d6
Merge branch 'bugfix/esp_pm_dump_critical_v4.0' into 'release/v4.0'
...
esp_pm: esp_pm_dump_locks: don't print from a critical section, and fix formatting (backport v4.0)
See merge request espressif/esp-idf!12019
2021-02-05 09:52:40 +08:00
Michael (XIAO Xufeng)
2a7aaacec6
Merge branch 'spi_dma_close_before_cpu_reset_v4.0' into 'release/v4.0'
...
spi: fix issue with closing DMA before CPU reset (4.0)
See merge request espressif/esp-idf!10840
2021-02-05 00:52:09 +08:00
Mahavir Jain
1b5d2bf66e
Merge branch 'bugfix/protocomm_http_print_v4.0' into 'release/v4.0'
...
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs (v4.0)
See merge request espressif/esp-idf!12263
2021-02-04 20:51:19 +08:00
weitianhua
ebe344f852
Fix A2DP Underrun Issue
2021-02-04 19:35:19 +08:00
dongyou
5d83b9c2b0
add exception handling for iperf example's scan when no ap was found
2021-02-04 17:52:37 +08:00
Piyush Shah
948ec32caf
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs
2021-02-04 15:05:22 +05:30
dongyou
509ff013bd
fix smartconfig issue when router reply arp late
2021-02-04 11:40:05 +08:00
Anton Maklakov
43127a5084
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path_v4.0' into 'release/v4.0'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one (v4.0)
See merge request espressif/esp-idf!12230
2021-02-03 11:34:30 +08:00
David Čermák
a6bddd68d2
Merge branch 'feature/support_transport_keepalive_v4.0' into 'release/v4.0'
...
Feature/support transport keepalive v4.0 [backport v4.0]
See merge request espressif/esp-idf!12155
2021-02-02 22:00:53 +08:00
Mahavir Jain
e454fdb8fc
Merge branch 'bugfix/reenable_encrypted_partition_write_v4.0' into 'release/v4.0'
...
Re-enable encrypted flash read/writes even if flash encryption is disabled (v4.0)
See merge request espressif/esp-idf!12192
2021-02-02 18:30:27 +08:00
Fu Hanxi
f39d69b592
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:28 +08:00
Mahavir Jain
7b60b944b1
Merge branch 'bugfix/update_howsmyssl_cert_v4.0' into 'release/v4.0'
...
examples/protocols: update www.howsmyssl.com certificate to fix test failures (v4.0)
See merge request espressif/esp-idf!12213
2021-02-01 18:18:29 +08:00
Mahavir Jain
ae1aef7b9e
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-02-01 11:10:38 +05:30
Mahavir Jain
544a2a4f4e
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-01-29 11:45:51 +05:30
Mahavir Jain
d82adb482b
spi_flash: add config option to enable encrypted partition read/write
...
This feature can be disabled to save some IRAM (approx 1KB) for cases
where flash encryption feature is not required.
2021-01-29 11:45:50 +05:30
Mahavir Jain
9c169a1812
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
...
This reverts commit bf35ef1ce7 .
It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.
This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.
2021-01-29 11:45:50 +05:30
xiehang
e9de533c81
esp_wifi: Modify WIFI_IF_AP to TCPIP_ADAPTER_IF_AP
2021-01-27 15:00:55 +08:00
xiehang
041ad04fdd
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-27 15:00:51 +08:00
xiehang
4c68212c8f
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-27 14:59:25 +08:00
weitianhua
1ae261dcdd
Add init & deinit event for a2dp
2021-01-26 10:54:15 +08:00
yuanjm
9ada8df5c0
Make OTA example support keepalive
2021-01-25 21:01:31 +08:00
Shubham Kulkarni
985de73e6d
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-25 21:01:30 +08:00
yuanjm
7201411f49
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-01-25 21:01:25 +08:00
Michael (XIAO Xufeng)
8e8e54737d
Merge branch 'bugfix/modbus_fix_slave_id_support_v40' into 'release/v4.0'
...
Bugfix/modbus fix slave id support v40
See merge request espressif/esp-idf!12096
2021-01-25 12:23:57 +08:00
Mahavir Jain
4b50c99957
Merge branch 'bugfix/httpd_session_close_lru_v4.0' into 'release/v4.0'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru (v4.0)
See merge request espressif/esp-idf!12114
2021-01-22 21:26:29 +08:00
Mahavir Jain
7d677373e1
Merge branch 'bugfix/http_client_buffer_overread_v4.0' into 'release/v4.0'
...
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1 (v4.0)
See merge request espressif/esp-idf!12110
2021-01-22 18:08:49 +08:00
Shubham Kulkarni
1c10469890
Enable lru_purge_enable in simple HTTP server example
2021-01-22 15:35:46 +05:30
Mahavir Jain
5d490dbc1e
Merge branch 'fix/esp_tls_fix_memory_leak_v4.0' into 'release/v4.0'
...
esp-tls: Fix mem leak when global_ca_store is freed
See merge request espressif/esp-idf!12087
2021-01-22 17:37:32 +08:00
Shubham Kulkarni
9951421910
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-01-22 11:17:17 +05:30
Shubham Kulkarni
d0a4d91838
esp_http_client.c: Clear raw_len for response buffer after dispatching HTTP_EVENT_ON_FINISH event
...
Closes: https://github.com/espressif/esp-idf/issues/6146
2021-01-22 11:04:11 +05:30
aleks
4f7f09a64f
freemodbus: fix compilation issue when slave id support is enabled
...
Closes https://github.com/espressif/esp-idf/issues/6003
2021-01-21 18:50:39 +01:00
Aditya Patwardhan
4df95abb22
esp-tls: Fix mem leak when global_ca_store is freed
2021-01-21 11:31:52 +05:30
Island
38ea44faaf
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Remove node set device name return status check (v4.0)
See merge request espressif/esp-idf!12082
2021-01-21 11:08:02 +08:00
Island
9f78bcc36d
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v4.0)
See merge request espressif/esp-idf!12080
2021-01-21 11:07:41 +08:00
Island
ffc0f59565
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Use different random for each provisioning (v4.0)
See merge request espressif/esp-idf!12078
2021-01-21 11:07:26 +08:00
lly
9d4abeb907
ble_mesh: stack: Remove node set device name return status check
2021-01-20 21:11:33 +08:00
lly
4c86bec0e9
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 21:10:30 +08:00
lly
8737392af0
ble_mesh: stack: Use different random for each provisioning
2021-01-20 21:09:28 +08:00
David Čermák
b1178d092e
Merge branch 'bugfix/mdns_txt_length_collision_v4.0' into 'release/v4.0'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v4.0)
See merge request espressif/esp-idf!12027
2021-01-19 22:16:08 +08:00
Jiang Jiang Jian
a61ec41740
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.0)
See merge request espressif/esp-idf!11849
2021-01-19 21:44:35 +08:00
Island
c23c45a12a
Merge branch 'bugfix/ble_mesh_log_macro_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add prefix for log macros (v4.0)
See merge request espressif/esp-idf!12053
2021-01-19 17:34:26 +08:00
Angus Gratton
c26e20770d
Merge branch 'bugfix/soc_cpu_signed_compare_v4_0_pr5687' into 'release/v4.0'
...
fix compiler warning: comparison of integer expressions of different...
See merge request espressif/esp-idf!12049
2021-01-19 15:46:30 +08:00
Angus Gratton
7c204c38dd
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.0' into 'release/v4.0'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.0)
See merge request espressif/esp-idf!10203
2021-01-19 14:21:50 +08:00
lly
421f044eea
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 14:05:25 +08:00
lly
3e5d2b9c41
ble_mesh: ci: Add disable log sdkconfig test files
2021-01-19 14:05:25 +08:00
lly
f9152550d2
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 14:05:25 +08:00
SiLeader
d7c8dd270f
fix compiler warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int'
...
Merges https://github.com/espressif/esp-idf/pull/5687
Equivalent fix to https://github.com/espressif/esp-idf/issues/6120 for v4.0 branch
2021-01-19 09:15:52 +11:00
Jiang Jiang Jian
a3cee22e7e
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v4.0' into 'release/v4.0'
...
Bugfix/fix some wifi bugs 0105 v4.0 (backport v4.0)
See merge request espressif/esp-idf!11906
2021-01-18 21:22:29 +08:00
Jiang Jiang Jian
822e64d312
Merge branch 'bugfix/fix_iperf_example_crash_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix iperf example crash issue v4.0 (backport v4.0)
See merge request espressif/esp-idf!12020
2021-01-18 19:18:07 +08:00
Island
ff7db0cdc4
Merge branch 'update/ble_mesh_set_hsl_states_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Enable updating lighting hsl state (v4.0)
See merge request espressif/esp-idf!12037
2021-01-18 19:10:26 +08:00
Island
173a5fc131
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh build error merge master (v4.0)
See merge request espressif/esp-idf!12039
2021-01-18 19:10:01 +08:00
lly
7134ef67cf
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 14:08:49 +08:00
lly
d42f39dcb4
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 14:08:12 +08:00
lly
5c1e3eabc1
ble_mesh: stack: Enable updating lighting hsl state
2021-01-18 14:02:01 +08:00
Island
3a56233a4d
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v4.0' into 'release/v4.0'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v4.0)
See merge request espressif/esp-idf!11992
2021-01-18 14:01:19 +08:00
suren.gabrielyan
52fa88b54e
mDNS: Fix of text length calculation when detecting a collision
2021-01-15 16:53:27 +04:00
suren.gabrielyan
0f80a4bd47
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2021-01-15 16:53:09 +04:00
xiehang
eb1a1620fe
example: Scan failure should not cause system crash
2021-01-15 20:03:25 +08:00
xiehang
7778034cba
example: do not check the return value of esp_wifi_connect()
2021-01-15 20:00:40 +08:00
Ivan Grokhotkov
9d9d30965f
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2021-01-15 12:42:34 +01:00
Ivan Grokhotkov
62da2362a8
esp_pm: esp_pm_dump_locks: don't print from a critical section
...
Reported in https://github.com/espressif/esp-idf/issues/1917
2021-01-15 12:40:17 +01:00
xiehang
9370b74ee0
esp_wifi: Update WiFi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
7. Refactor wifi_interface_t
8. Faster WiFi station connect improvement, avoid 100ms passive scan
9. Add FCS failed packets filter
10.Update esp32 phy lib to v4660
11.Fix csa timer issue
12.Fix country code last byte to space instead of NULL
13.Fix softap cannot forward A-MSDU
14.Fix max tx power to 20dBm
15.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-15 03:51:36 +00:00
xiehang
155a7f816d
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-01-15 03:51:36 +00:00
ChenJianxing
9eb34fd153
esp_wifi: optimize phy version log
2021-01-15 03:51:36 +00:00
ronghulin
70777a256a
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2021-01-15 03:51:36 +00:00
Island
5718652952
Merge branch 'bugfix/ble_mesh_macro_OR_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix using wrong | for OR between macros (v4.0)
See merge request espressif/esp-idf!11995
2021-01-14 19:01:15 +08:00
lly
4902b2745b
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-14 15:59:46 +08:00
Island
a47099b028
Merge branch 'feat/ble_mesh_support_ble_scan_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v4.0)
See merge request espressif/esp-idf!11965
2021-01-14 15:47:52 +08:00
Chinmay Chhajed
c4fe4dbf67
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:23:04 +05:30
Jiang Jiang Jian
f2038b959a
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.0' into 'release/v4.0'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.0]
See merge request espressif/esp-idf!11729
2021-01-14 11:19:34 +08:00
Mahavir Jain
5a64638848
Merge branch 'fix/esp_tls_add_warning_if_ca_chain_has_invalid_cert_v4.0' into 'release/v4.0'
...
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
See merge request espressif/esp-idf!11943
2021-01-12 23:26:55 +08:00
lly
024017e3f2
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-01-12 19:15:36 +08:00
lly
f9b53a909b
ble_mesh: stack: Support reporting normal ble adv packets
2021-01-12 19:15:36 +08:00
lly
34b5c1cf72
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-01-12 19:15:36 +08:00
lly
88b550ba75
ble_mesh: stack: Move ble scan funcitons to a single file
2021-01-12 19:15:35 +08:00
lly
d1553311a2
ble_mesh: stack: Optimize handling received mesh adv packets
2021-01-12 19:15:35 +08:00
Island
725f882897
Merge branch 'optimize/ble_mesh_miscellaneous_v4.0' into 'release/v4.0'
...
Optimize/ble mesh miscellaneous (v4.0)
See merge request espressif/esp-idf!11949
2021-01-12 19:13:10 +08:00
lly
73dee43e55
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-01-11 19:28:36 +08:00
lly
decd6956f3
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-01-11 19:28:31 +08:00
lly
93991bda4a
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-01-11 19:28:25 +08:00
lly
866b6b439c
ble_mesh: stack: Update ARRAY_SIZE definition
2021-01-11 19:27:55 +08:00
Island
9172fcaa77
Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v4.0)
See merge request espressif/esp-idf!11936
2021-01-11 18:55:37 +08:00
Aditya Patwardhan
238ac2293b
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
2021-01-11 12:41:07 +05:30
Mahavir Jain
0be9d54b90
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to v2.16.9 release (v4.0)
See merge request espressif/esp-idf!11901
2021-01-11 14:01:14 +08:00
lly
63adf8503f
ble_mesh: ci: Add settings sdkconfig test files
2021-01-11 10:08:33 +08:00
lly
8c883fd410
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-01-11 10:08:23 +08:00
Island
c97fc5ef8c
Merge branch 'feat/ble_mesh_provisioner_recv_hb_support_v4.0' into 'release/v4.0'
...
Feat/ble mesh provisioner recv hb support (v4.0)
See merge request espressif/esp-idf!11915
2021-01-08 18:30:28 +08:00
lly
f9f29b779c
ble_mesh: ci: Add enabling hb recv sdkconfig file
2021-01-08 09:33:04 +08:00
lly
f0af8858da
ble_mesh: stack: Provisioner supports receiving heartbeat
2021-01-08 09:33:04 +08:00
Mahavir Jain
2d7eb60491
mbedtls: upgrade to v2.16.9 release
...
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2021-01-07 11:20:30 +05:30
Island
b4261e53d9
Merge branch 'bugfix/ble_mesh_node_id_adv_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix Node ID adv with wrong timeout (v4.0)
See merge request espressif/esp-idf!11879
2021-01-06 17:08:51 +08:00
lly
726225c5f3
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-05 20:15:16 +08:00
Jiang Jiang Jian
d56cca3413
Merge branch 'bugfix/fix_ping_specify_length_issue_v4.0' into 'release/v4.0'
...
bugfix: fix ICMP specify length issue (backport v4.0)
See merge request espressif/esp-idf!11838
2021-01-05 10:45:16 +08:00
XieWenxiang
f81bdd933e
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:54:09 +08:00
Mahavir Jain
43c9d9c1cd
Merge branch 'fix/i2c_pm_lock_v4.0' into 'release/v4.0'
...
i2c: Acquire PM lock after acquiring mutex (v4.0)
See merge request espressif/esp-idf!11832
2020-12-31 12:33:50 +08:00
ronghulin
4985b77fff
bugfix: fix ICMP specify length issue
2020-12-30 18:01:01 +08:00
Sachin Parekh
e78721db05
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:21 +05:30
Jiang Jiang Jian
37317d1f2f
Merge branch 'bugfix/bt_bluedroid_same_public_key_attack_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes for some Bluetooth vulnerabilities. (v4.0)
See merge request espressif/esp-idf!11765
2020-12-28 11:41:14 +08:00
Chinmay Chhajed
b3d5ed3a03
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:01:47 +05:30
Jiang Jiang Jian
5a069ea324
Merge branch 'bugfix/fix_wps_examples_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix WPS examples issue (v4.0)
See merge request espressif/esp-idf!11730
2020-12-24 12:34:39 +08:00
zhangyanjiao
e4bd2bebb5
esp_wifi: Add WPS Reason code in all failures
2020-12-23 17:35:06 +08:00
xiehang
41a4da16d3
esp_wifi: Fix WPS examples issue
2020-12-23 15:43:19 +08:00
liqigan
d64a19b73c
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:26:58 +08:00
Jiang Jiang Jian
64dfa78eed
Merge branch 'bugfix/collection_bugfix_backport_for_4_0' into 'release/v4.0'
...
Bugfix/collection bugfix backport for 4 0
See merge request espressif/esp-idf!11710
2020-12-23 13:55:01 +08:00
baohongde
711184762b
components/bt: Fix waking up fail while sleeping
2020-12-22 21:28:44 +08:00
baohongde
998a1f9ebb
components/bt: Make sleep avaliable in hli(for future use)
2020-12-22 21:23:09 +08:00
wangcheng
b9f79249b8
components/bt: backport need commit to release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
0f4592eea0
components/bt: fixed memory damage caused by bluetooth memory release
2020-12-22 19:54:53 +08:00
gengyuchao
16ff064f68
btdm: Add comments to clarify the two different device names of GAP and ADV in the ble_spp_server_demo example, as the old example might confuse users.
2020-12-22 19:54:53 +08:00
weitianhua
ca66b50481
collection of bugfix backport for release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
e11820cd5b
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 19:54:53 +08:00
Jiang Jiang Jian
5a1a21ed2f
Merge branch 'bugfix/revert_wifi_iram_optimization_v4.0' into 'release/v4.0'
...
esp_wifi: revert wifi iram optimization(v4.0)
See merge request espressif/esp-idf!11514
2020-12-22 19:03:01 +08:00
Jiang Jiang Jian
90e4363f7a
Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.0' into 'release/v4.0'
...
lw-ip:fix bug for tcp recv assert(backport 4.0)
See merge request espressif/esp-idf!11603
2020-12-22 16:19:05 +08:00
Jiang Jiang Jian
ef7aca1a66
Merge branch 'nimble/fix_misc_coverity_issue_v4.0' into 'release/v4.0'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.0)
See merge request espressif/esp-idf!11392
2020-12-22 15:01:25 +08:00
xueyunfei
0859b2a63e
fix bug for tcp recv assert
2020-12-22 06:37:02 +00:00
Anton Maklakov
0b540809bc
Merge branch 'ci/disable_dev_push_pipelines_v4.0' into 'release/v4.0'
...
CI: Disable pipelines generated by push on dev branches (v4.0)
See merge request espressif/esp-idf!11594
2020-12-22 13:11:55 +08:00
Jiang Jiang Jian
e2cd3495a1
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.0' into 'release/v4.0'
...
Fix BT controller dead issue caused by clk overflow [backport v4.0]
See merge request espressif/esp-idf!10546
2020-12-22 12:47:44 +08:00
Jiang Jiang Jian
f030faa34c
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_0' into 'release/v4.0'
...
Fix crash cause by calling a2dp deinit when connected [backport v4.0]
See merge request espressif/esp-idf!11691
2020-12-21 11:49:00 +08:00
weitianhua
66be657233
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:27:04 +08:00
weitianhua
cd46129b49
Free ACL RX Buffer in EM when disconnecting
2020-12-17 20:35:57 +08:00
weitianhua
911b90eb21
Confirmed bugfix from Baidu Project
2020-12-17 20:35:57 +08:00
weitianhua
62f781553b
Enable PCM config in Host
2020-12-17 20:35:57 +08:00
Artem Godlevskyi
ce999fe02e
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5825
2020-12-17 07:19:59 +00:00
Prasad Alatkar
80ad3c1337
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-12-17 07:19:59 +00:00
Fu Hanxi
518c4372fa
CI: Disable pipelines generated by push on dev branches
2020-12-17 04:59:15 +00:00
Island
4891353122
Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Need uuid when adding device for provisioning (v4.0)
See merge request espressif/esp-idf!11579
2020-12-16 19:25:09 +08:00
Anton Maklakov
3259f7a964
Merge branch 'bugfix/cxx_exception_workarounds_4.0' into 'release/v4.0'
...
toolchain: C++ exception workarounds (backport 4.0)
See merge request espressif/esp-idf!10289
2020-12-16 16:14:58 +08:00
Jakob Hasse
8329d51fd0
toolchain: C++ exception workaround
...
* disable C++ exception FDE sorting (saves RAM)
Closes IDF-1128
2020-12-16 09:25:36 +07:00
Anton Maklakov
1797fa7716
Merge branch 'bugfix/docker_gdb_python_v4.0' into 'release/v4.0'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v4.0)
See merge request espressif/esp-idf!10309
2020-12-16 10:02:16 +08:00
Ivan Grokhotkov
f7dfee7dcd
Merge branch 'test/disable_twai_example_ci_v4.0' into 'release/v4.0'
...
Temporarily disable TWAI network example test (backport v4.0)
See merge request espressif/esp-idf!11563
2020-12-16 04:22:02 +08:00
Martin Stejskal
c9427ea613
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
...
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.
Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-12-15 20:09:08 +00:00
Michael (XIAO Xufeng)
65517844f7
Merge branch 'bugfix/phy_xpd_v4.0' into 'release/v4.0'
...
wifi: add set_xpd_sar override(backport v4.0)
See merge request espressif/esp-idf!11544
2020-12-16 01:04:53 +08:00
lly
b8827d45c6
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2020-12-15 11:59:11 +00:00
lly
85e3b86fd7
ble_mesh: stack: Need uuid when adding device for provisioning
2020-12-15 11:59:11 +00:00
Anton Maklakov
a987a8ade6
Merge branch 'bugfix/ci_py2_warnings_fix_v4.0' into 'release/v4.0'
...
ci: Python 2 warnings fix (v4.0)
See merge request espressif/esp-idf!11619
2020-12-15 19:06:33 +08:00
Anton Maklakov
9e780a5be9
Merge branch 'feature/ci_fix_docker_build_v4.0' into 'release/v4.0'
...
ci: Use git mirror for docker image (v4.0)
See merge request espressif/esp-idf!10447
2020-12-15 15:42:39 +08:00
Anton Maklakov
3fc9ab4eb3
tools: Redirect some warnings to stderr
2020-12-15 13:32:49 +07:00
Anton Maklakov
a10d115e84
ci: Ignore Python 2 deprecation warning
2020-12-15 13:32:30 +07:00
Mahavir Jain
db603854a9
Merge branch 'bugfix/redirection_v4.0' into 'release/v4.0'
...
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string. (v4.0)
See merge request espressif/esp-idf!11599
2020-12-14 20:20:40 +08:00
Scott Shell
52b069bd03
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-12-14 14:42:17 +05:30
Shubham Kulkarni
670144ed7c
http_auth.c: Fix crash when opaque field is not present in challenge string
...
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-12-14 14:42:08 +05:30
Shubham Kulkarni
3194bba14d
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-12-14 14:41:54 +05:30
Victor Lamoine
cad6eda381
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE
...
Merges https://github.com/espressif/esp-idf/pull/5753
2020-12-14 07:26:09 +00:00
Angus Gratton
047480058c
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-12-14 07:26:09 +00:00
Angus Gratton
7ae3bb3298
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.0' into 'release/v4.0'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.0)
See merge request espressif/esp-idf!9969
2020-12-14 15:24:40 +08:00
Angus Gratton
4f7eacee75
Merge branch 'bugfix/esptool_version_v4.0' into 'release/v4.0'
...
esptool: Update esptool to latest v2.x version (backport v4.0)
See merge request espressif/esp-idf!11584
2020-12-14 15:14:32 +08:00
radim.karnis
1592e29a71
Changed esptool version to latest v2.x
2020-12-11 13:08:47 +01:00
Krzysztof Budzynski
8822c94ef1
Merge branch 'feature/python2-deprecation-warn_v4.0' into 'release/v4.0'
...
Tools: Add Python 2 deprecation warning (v4.0)
See merge request espressif/esp-idf!11528
2020-12-11 11:37:47 +08:00
Darian Leung
51103377c6
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:34:05 +08:00
daiziyan
4c65e031ea
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 23:50:19 +01:00
Cao Sen Miao
c4f11f7138
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-09 22:41:49 +08:00
KonstantinKondrashov
b902d6be39
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-12-08 16:55:50 +00:00
martin.gano
c05fcc6a1d
Tools: add Python 2 deprecation warning
2020-12-08 15:46:41 +01:00
ChenJianxing
3cefb0ad8f
esp_wifi: revert wifi iram optimization
2020-12-08 14:23:09 +08:00
Krzysztof Budzynski
3467c44ff8
Merge branch 'doc/update_CN_translation_for_relase/v4.0' into 'release/v4.0'
...
update CN translation for index.rst in get-started folder (v4.0)
See merge request espressif/esp-idf!11457
2020-12-08 10:44:43 +08:00
Dai Zi Yan
14de2ba81a
update CN translation for index.rst in get-started folder (v4.0)
2020-12-08 10:44:40 +08:00
Michael (XIAO Xufeng)
31760789c3
Merge branch 'bugfix/can_backport_accumulated_fixes_v4.0' into 'release/v4.0'
...
CAN backport accumulated fixes (backport v4.0)
See merge request espressif/esp-idf!11461
2020-12-04 23:59:12 +08:00
Darian Leung
7c8208d903
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2020-12-04 19:03:19 +08:00
Jiang Jiang Jian
7428caeb06
Merge branch 'bugfix/fix_some_wifi_bugs_1117_v4.0' into 'release/v4.0'
...
Fix some wifi bugs 1117 (backport v4.0)
See merge request espressif/esp-idf!11263
2020-12-04 11:57:51 +08:00
Angus Gratton
3ca0b7a447
Merge branch 'bugfix/fix_partition_table_in_flash_encryption_example_v4.0' into 'release/v4.0'
...
example/flash_encryption: Fix partition table (v4.0)
See merge request espressif/esp-idf!10853
2020-12-04 11:25:09 +08:00
Island
0182e53431
Merge branch 'feature/btdm_support_some_ble_new_features_v4.0' into 'release/v4.0'
...
components/bt: backport some new features for Bluedroid BLE(release v4.0)
See merge request espressif/esp-idf!11453
2020-12-03 19:04:02 +08:00
xiehang
c088c19322
esp_wifi: Fix some wifi bugs 1117
...
1. Optimize WiFi debug log
2. WiFi IRAM optimization
3. Update WiFi toolchain to 1.22.0-97-gc752ad5
4. Optimize WiFi TX performance
2020-12-03 17:49:22 +08:00
xiewenxiang
f8581b40fc
component/bt: support BLE Read Attribute value by UUID
2020-12-03 16:47:13 +08:00
xiewenxiang
2505769c0b
component/bt: refactor ble random address setting
2020-12-03 16:47:04 +08:00
XieWenxiang
8db16a50ae
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 16:46:53 +08:00
XieWenxiang
069325a7ed
component/bt: support BLE Authorization
2020-12-03 16:44:45 +08:00
xiewenxiang
b585eccf36
component/bt: fix incorrect encryption flag setting
2020-12-03 16:36:19 +08:00
liu zhifu
c2b6a2d24f
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-12-03 16:04:11 +08:00
Darian Leung
bcc7d105ba
can: Fix critical section ESP_LOG functions
...
This commit removes any function calls within
the CAN driver that result in a call to ESP_LOG
whilst inside a critical section.
These function calls are either moved outside
critical sections (e.g., intr_alloc and gpio
functions), or substituted (e.g., assert()).
2020-12-02 21:47:35 +08:00
Darian Leung
05adedcc72
can: Fix semaphore take in critical section
...
This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.
2020-12-02 21:45:55 +08:00
Darian Leung
4741e6787d
CAN: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-12-02 21:35:07 +08:00
Jiang Jiang Jian
6823364442
Merge branch 'bugfix/blufi_config_potential_double_free_v4.0' into 'release/v4.0'
...
Bugfix/blufi config potential double free v4.0
See merge request espressif/esp-idf!11165
2020-12-02 17:03:27 +08:00
Angus Gratton
78bbde6b44
Merge branch 'bugfix/blecent_example_test_4.0' into 'release/v4.0'
...
Fix CI blecent example test (backport v4.0)
See merge request espressif/esp-idf!11321
2020-12-02 15:41:09 +08:00
Jiang Jiang Jian
b3b712c24e
Merge branch 'bugfix/fix_some_wifi_bugs_1127_v4.0' into 'release/v4.0'
...
esp_wifi: fix some wifi bugs 1127 (backport v4.0)
See merge request espressif/esp-idf!11416
2020-12-02 13:20:17 +08:00
zhangyanjiao
160e43a95b
esp_wifi: update wifi lib for bugfixs
2020-12-01 20:10:35 +08:00
aditi_lonkar
54c012905f
wifi: Fix esp_wifi log levels
2020-12-01 19:36:00 +08:00
Nachiket Kukade
2db6b1578e
esp_wifi: Update wifi lib
...
1. Use flag ESP32_WIFI_ENABLE_WPA3_SAE to control WPA3 code, disabling
it code footprint reduces by 7.7kB in libwpa_supplicant.a
2. Fix handling of multiple AP credentials in WPS, apps need update
to handle the new event for the fix to work
2020-12-01 19:28:56 +08:00
Ivan Grokhotkov
c15579fd85
examples: fix flash encryption example test
...
Commit 5e8795eebe has changed the partition table offset, which
has resulted in the ciphertext not matching the one expected in the
example test.
Fix by calculating the ciphertext using espsecure.py.
2020-12-01 18:32:54 +08:00
KonstantinKondrashov
5686cbb1d7
example/flash_encryption: Fix partition table and sdkconfig.defaults
...
When the flash encryption is enabled then we do not need to change the partition table.
The partition_example.csv should not have fixed offsets for partitions because we want to move the whole table.
The fixed offsets in the table were cleared.
2020-12-01 16:49:12 +08:00
Nachiket Kukade
b2dec946b6
esp_wifi: Update docs for wifi headers
2020-12-01 16:44:53 +08:00
ChenJianxing
2c85d3dd62
esp_wifi: remove wifi tx buffer limits
2020-12-01 16:36:59 +08:00
Xia Xiaotian
5616dd57da
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-12-01 16:35:38 +08:00
dongyou
2252c75588
esp_wifi: update description for WiFi APIs
...
1. Add description for esp_wifi_set_inactive_time()
2. Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
3. Remove description of unusable API esp_wifi_restart()
4. Update esp_now_fetch_peer discription
5. Update table format prblm for esp_wifi_set_max_tx_power()
6. Update description for ssid and password
2020-12-01 15:48:59 +08:00
kapil.gupta
280a342826
esp_wifi: Add support for 802.1x sha256 auth key mode
...
Closes https://github.com/espressif/esp-idf/issues/5805
2020-12-01 14:47:30 +08:00
Angus Gratton
52019fdd63
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.0' into 'release/v4.0'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.0)
See merge request espressif/esp-idf!11414
2020-12-01 13:54:19 +08:00
KonstantinKondrashov
80629a75a2
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-11-30 23:13:44 +08:00
Shivani Tipnis
70841722f1
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4 )
2020-11-30 16:29:54 +05:30
Hrudaynath Dhabe
7b4a2560a6
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-11-27 15:42:41 +08:00
Hrudaynath Dhabe
395fa980d8
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-11-27 15:41:55 +08:00
GOPTIONS\pfrost
e5b52ae423
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-11-27 15:41:34 +08:00
ronghulin
9a7ba5e6fc
bugfix: fix TCP timer interval
2020-11-27 15:35:10 +08:00
ronghulin
9253d41b1a
fix TCP retransmission interval
2020-11-27 15:33:07 +08:00
Jan-Hendrik Frintrop
d39fc7ca00
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com >
https://github.com/espressif/esp-idf/pull/5186
2020-11-27 15:27:44 +08:00
dongyou
7182a65419
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-11-27 15:25:09 +08:00
kapil.gupta
dae98ddff7
wpa_supplicant: Replace internal RSA APIs by mbedtls APIs
...
Curretly wpa_supplicant uses internal APIs for RSA operations
which internally uses lots of big num operations.
Big num operations are CPU expensive and can take a lot of time
which can cause watchdog timer to tigger.
This can be optimize by using mbedtls APIs which uses
hardware blocks for big num operations.
To fix this, write new crypto_mbedtls-rsa.c which has APIs
similar to crypto_internal-rsa.c but uses mbedtls APIs.
2020-11-27 15:22:51 +08:00
Island
5630b17e11
Merge branch 'feat/ble_mesh_node_local_data_func_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add node local netkey/appkey func (v4.0)
See merge request espressif/esp-idf!11364
2020-11-25 20:23:01 +08:00
lly
e3ddd91fb7
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-25 11:02:00 +08:00
lly
f151771bce
ble_mesh: stack: Add node local netkey/appkey func
2020-11-25 11:01:46 +08:00
Island
5220510152
Merge branch 'optimize/ble_mesh_reduce_code_size_v4.0' into 'release/v4.0'
...
Optimize/ble mesh reduce code size (v4.0)
See merge request espressif/esp-idf!11345
2020-11-25 10:49:46 +08:00
wangcheng
e7375c79b0
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:54:39 +08:00
wangcheng
3adfbaeb2f
component/bt: Fix a potential double free error.
2020-11-24 10:46:25 +08:00
wangcheng
724d863116
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:46:22 +08:00
Angus Gratton
39ca3ee8dc
Merge branch 'ci/fix_annotated_tag_check_v4.0' into 'release/v4.0'
...
ci: Fix annotated tag check (v4.0)
See merge request espressif/esp-idf!11333
2020-11-24 06:32:10 +08:00
Jiang Jiang Jian
37ac9d09f4
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v4.0' into 'release/v4.0'
...
WiFi: fix some wifi bugs 0924 (backport v4.0)
See merge request espressif/esp-idf!10614
2020-11-23 21:31:05 +08:00
lly
26f7afed46
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-11-23 20:13:06 +08:00
lly
4391a24c2f
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-11-23 20:13:06 +08:00
lly
b71b99b7be
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-11-23 20:13:06 +08:00
lly
d8266bd917
ble_mesh: example: Fix fast provisioning compile error
2020-11-23 20:13:06 +08:00
lly
e7a5412cfd
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-11-23 20:13:05 +08:00
lly
7f411c9cb7
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-23 20:13:05 +08:00
lly
440b94d272
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-23 20:13:05 +08:00
lly
bc163f982d
ble_mesh: stack: Make some internal static functions inline
2020-11-23 20:13:05 +08:00
lly
342a26bb60
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-11-23 20:13:05 +08:00
lly
fe86760ff6
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-23 20:13:04 +08:00
lly
58ac97cb4c
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-23 20:13:04 +08:00
Island
1d771d081b
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh proxy cfg replay (v4.0)
See merge request espressif/esp-idf!11337
2020-11-23 20:08:55 +08:00
Island
ab055d2421
Merge branch 'bugfix/ble_mesh_node_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Persistent storage misc fixes (v4.0)
See merge request espressif/esp-idf!11336
2020-11-23 20:01:28 +08:00
Mahavir Jain
7f76f57b29
Merge branch 'fix/protocomm_simple_ble_v4.0' into 'release/v4.0'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v4.0)
See merge request espressif/esp-idf!11267
2020-11-23 18:44:52 +08:00
Jiang Jiang Jian
1e3eed8265
Merge branch 'bugfix/fix_spp_read_flow_control_v4.0' into 'release/v4.0'
...
component_bt/fix spp flow control and vfs write [backport 4.0]
See merge request espressif/esp-idf!11074
2020-11-23 15:49:54 +08:00
zhangyanjiao
0a8abf6ffe
esp_wifi:
...
1. Modify LR for esp32
2. Optimize some debug logs for probe response
3. Optimize phy and soc files
4. Fix the bug that no event for connect
5. Fix the bug that set_channel doesn't work for softAP
6. Add sta connect again ap sent disconnect event
7. Add set/get inactive time api
8. Fix connect hidden AP doesn't update information
9. Add rf test long short support
2020-11-23 15:08:40 +08:00
lly
5c7960de0d
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-11-23 15:07:14 +08:00
lly
613616b445
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-11-23 15:07:14 +08:00
lly
97a54a9818
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-11-23 15:01:50 +08:00
Island
39d213378c
Merge branch 'bugfix/ble_mesh_settings_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh settings fix (v4.0)
See merge request espressif/esp-idf!11326
2020-11-23 14:42:18 +08:00
Island
5f58e32f34
Merge branch 'optimize/ble_mesh_gattc_conn_param_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Update connection parameters used by Central (v4.0)
See merge request espressif/esp-idf!11327
2020-11-23 14:42:13 +08:00
Angus Gratton
42ffc348a6
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:29:46 +11:00
Prasad Alatkar
7adfe57302
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v4.0)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-23 05:34:22 +00:00
liqigan
023f44e348
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-11-23 12:22:30 +08:00
liqigan
2765d5b829
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-23 12:22:30 +08:00
liqigan
ba3f69feea
add event when calling spp API failed
2020-11-23 12:22:30 +08:00
lly
004393ec5f
ble_mesh: stack: Update connection interval to 15ms
2020-11-23 08:53:37 +08:00
lly
b1383f5c0f
ble_mesh: stack: Update connection parameters used by Central
2020-11-23 08:53:37 +08:00
lly
4fa39cae98
ble_mesh: stack: Use settings_core_erase when deinit
2020-11-23 08:45:04 +08:00
lly
666488a940
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-11-23 08:45:04 +08:00
lly
3421336d66
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-11-23 08:45:04 +08:00
lly
ad1d5764e2
ble_mesh: stack: Split model settings store and clear
2020-11-23 08:45:04 +08:00
lly
db4a344a33
ble_mesh: stack: Erase netkey and appkey with key index
2020-11-23 08:45:04 +08:00
lly
29c7645093
ble_mesh: stack: Add clear hb_pub in settings
2020-11-23 08:45:04 +08:00
lly
692ccf774b
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-11-23 08:45:04 +08:00
lly
034906c6a8
ble_mesh: stack: Use erase settings functions
2020-11-23 08:45:04 +08:00
lly
69131a11ed
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-11-23 08:45:04 +08:00
lly
8cbc93101e
ble_mesh: stack: Add role check before enabling device
2020-11-23 08:45:03 +08:00
lly
c39097a601
ble_mesh: stack: Define a type for mesh nvs handle
2020-11-23 08:45:03 +08:00
lly
b4131cb6a9
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-11-23 08:45:03 +08:00
Jiang Jiang Jian
a6db1162e8
Merge branch 'feat/ble_mesh_use_model_c_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v4.0)
See merge request espressif/esp-idf!10364
2020-11-22 18:57:11 +08:00
Jiang Jiang Jian
e0c22867b9
Merge branch 'bugfix/ble_mesh_sensor_example_fix_v4.0' into 'release/v4.0'
...
ble_mesh: example: Fix sensor data wrong iteration (v4.0)
See merge request espressif/esp-idf!10275
2020-11-22 18:56:57 +08:00
lly
d9033cfeec
ble_mesh: example: Fix sensor data wrong iteration
2020-11-22 09:27:44 +00:00
lly
8d9b0909a3
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-11-22 09:26:41 +00:00
Jiang Jiang Jian
d6f697e113
Merge branch 'bugfix/cxx_flag_operators_v4.0' into 'release/v4.0'
...
esp_eth: moved extern "C" after includes (v4.0)
See merge request espressif/esp-idf!11219
2020-11-22 15:35:22 +08:00
Jiang Jiang Jian
7a55981dca
Merge branch 'feature/esp_tls_for_supplicant_v4.0' into 'release/v4.0'
...
wpa_supplicant: Support for mbedtls tls handshake(backport v4.0)
See merge request espressif/esp-idf!9860
2020-11-21 22:43:33 +08:00
Jiang Jiang Jian
eb9520fdb0
Merge branch 'bugfix/backport_some_lwip_bugs_1120_v4.0' into 'release/v4.0'
...
lw-ip:backport bugfix lwip for v4.0(backport 4.0)
See merge request espressif/esp-idf!11309
2020-11-21 22:34:27 +08:00
Jiang Jiang Jian
747f281325
Merge branch 'component/seperate_bta_jv_l2c_4.0' into 'release/v4.0'
...
component_bt:/ seperate bta jv l2c [backport v4.0]
See merge request espressif/esp-idf!9646
2020-11-21 22:34:00 +08:00
Jiang Jiang Jian
ba4fc9c803
Merge branch 'bugfix/backport_v4.0_fix_pthread_priority_inheritance' into 'release/v4.0'
...
bugfix/ pthread priority inheritance(backport v4.0)
See merge request espressif/esp-idf!11256
2020-11-21 22:33:37 +08:00
Jiang Jiang Jian
4e9de58779
Merge branch 'optimize/ble_mesh_provisioner_delete_dev_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Optimize Provisioner delete device function (v4.0)
See merge request espressif/esp-idf!10605
2020-11-21 17:54:25 +08:00
Jiang Jiang Jian
2fa70c8aed
Merge branch 'feat/ble_mesh_device_properties_v2_v4.0' into 'release/v4.0'
...
Feat/ble mesh device properties v2 (v4.0)
See merge request espressif/esp-idf!10789
2020-11-21 17:54:14 +08:00
Jiang Jiang Jian
2a93a30c42
Merge branch 'bugfix/ble_mesh_check_stack_init_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v4.0)
See merge request espressif/esp-idf!10483
2020-11-21 17:53:11 +08:00
Jiang Jiang Jian
d101748448
Merge branch 'bugfix/ble_mesh_prov_iv_index_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v4.0)
See merge request espressif/esp-idf!10418
2020-11-21 17:52:20 +08:00
weitianhua
a353e1d235
Fix tsk watchdog when running spp vfs demo
2020-11-21 09:38:46 +00:00
weitianhua
ca00390174
Seperate BTA_JV_L2CAP for less bin size
2020-11-21 09:38:46 +00:00
Jakob Hasse
940f2bc108
esp_eth: moved extern "C" after includes
2020-11-21 09:37:34 +00:00
Jiang Jiang Jian
b06fe45fde
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v4.0' into 'release/v4.0'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v4.0)
See merge request espressif/esp-idf!11314
2020-11-21 17:32:18 +08:00
xutao
d2173ba1e8
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-21 08:21:57 +00:00
David Čermák
c8902cddc7
Merge branch 'bugfix/backport_v4.0_fix_websocket_issue' into 'release/v4.0'
...
websocket_client : fix some issues for websocket client (backport v4.0)
See merge request espressif/esp-idf!11261
2020-11-20 17:46:35 +08:00
David Čermák
aef8a36c99
Merge branch 'bugfix/backport_v4.0_fix_transport_ssl_blocking' into 'release/v4.0'
...
transport_ssl: Fix a bug in transport_ssl (backport v4.0)
See merge request espressif/esp-idf!11277
2020-11-20 17:45:03 +08:00
David Cermak
c4e22a3925
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-20 10:25:40 +01:00
xueyunfei
df23bbe8e1
backport bugfix lwip for v4.0
2020-11-20 16:36:37 +08:00
kapil.gupta
31b6b885e6
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-11-20 08:02:28 +00:00
kapil.gupta
c384d61e53
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-11-20 08:02:28 +00:00
kapil.gupta
0263a182fc
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-11-20 08:02:28 +00:00
Jiang Jiang Jian
6d23d64b18
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v4.0' into 'release/v4.0'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v4.0]
See merge request espressif/esp-idf!10805
2020-11-20 15:36:39 +08:00
Jiang Jiang Jian
d31a127db5
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.0' into 'release/v4.0'
...
wpa_supplicant: Increase PMK Lifetime to a very high value (Backport v4.0)
See merge request espressif/esp-idf!11183
2020-11-20 14:39:45 +08:00
Jiang Jiang Jian
00b9f48081
Merge branch 'bugfix/add_clear_bond_complete_evt_4_0' into 'release/v4.0'
...
componenet_bt/bugfix: add remove bond device complete event 4.0
See merge request espressif/esp-idf!10656
2020-11-20 13:50:13 +08:00
Nachiket Kukade
511d3b05cd
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-20 03:46:08 +00:00
Mahavir Jain
4f2a2a8ce4
Merge branch 'fix/esp_local_ctrl_update_expired_cert_v4.0' into 'release/v4.0'
...
esp_local_ctrl: Updated the expired cacert.pem (v4.0)
See merge request espressif/esp-idf!11208
2020-11-19 15:27:23 +08:00
Aditya Patwardhan
95d8bbe0e6
esp_local_ctrl: Updated the expired cacert.pem
2020-11-19 05:26:14 +00:00
xutao
f3b087a6d1
In SSL mode, if esp_transport_poll_read function is used, the cache data in mebdtls will be blocked
2020-11-18 16:59:22 +08:00
xutao
e7b3b75785
websocket_client : fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-11-17 15:01:10 +08:00
Jiang Jiang Jian
71eb7604c5
Merge branch 'bugfix/lwip_netdb_cpp_guards_v4.0' into 'release/v4.0'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v4.0)
See merge request espressif/esp-idf!11091
2020-11-16 19:42:43 +08:00
Jiang Jiang Jian
e9820687f6
Merge branch 'bugfix/socket_examples_ipv6_scope' into 'release/v4.0'
...
examples: Fix socket examples to use IPv6 scoped addresses from tcpip_adapter API
See merge request espressif/esp-idf!10689
2020-11-16 19:41:58 +08:00
Jiang Jiang Jian
f42e5745e6
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v4.0' into 'release/v4.0'
...
flash_mmap: can mmap after get enough free MMU pages (backport v4.0)
See merge request espressif/esp-idf!10586
2020-11-16 19:40:26 +08:00
Jiang Jiang Jian
befde68eea
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
See merge request espressif/esp-idf!10239
2020-11-16 19:38:22 +08:00
Jiang Jiang Jian
b0ffa66039
Merge branch 'mesh/bugfix_1023_backport_v4.0' into 'release/v4.0'
...
esp_wifi_mesh: update wifi mesh libs(Backport v4.0)
See merge request espressif/esp-idf!11083
2020-11-16 19:33:47 +08:00
Angus Gratton
c857045505
Merge branch 'bugfix/cmake_example_sdkconfig_path_v4.0' into 'release/v4.0'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project (v4.0)
See merge request espressif/esp-idf!10861
2020-11-16 12:13:44 +08:00
Jiang Jiang Jian
e3db779b95
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v4.0' into 'release/v4.0'
...
backport v4.0: added psram stack check in backtrace
See merge request espressif/esp-idf!8474
2020-11-12 21:00:36 +08:00
baohongde
8f3fe29deb
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-11-12 19:23:10 +08:00
baohongde
19ef328f8e
components/bt: Fix clear bond fail when connected without ble included
2020-11-12 19:18:52 +08:00
xiongweichao
e51818f6fc
add remove bond device complete event
2020-11-12 19:18:52 +08:00
Jiang Jiang Jian
e9ba0e05f2
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.0' into 'release/v4.0'
...
NimBLE: host_rcv_pkt event buf size check. (v4.0)
See merge request espressif/esp-idf!10760
2020-11-12 14:20:29 +08:00
Jiang Jiang Jian
a69ff28c6f
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_0' into 'release/v4.0'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.0
See merge request espressif/esp-idf!10647
2020-11-12 14:18:53 +08:00
Jiang Jiang Jian
3c9833eaf9
Merge branch 'bugfix/add_protection_for_spp_api_4.0' into 'release/v4.0'
...
Bugfix/add protection for spp api [backport v4.0]
See merge request espressif/esp-idf!10283
2020-11-12 14:15:41 +08:00
Jiang Jiang Jian
e547aae7b8
Merge branch 'bugfix/add_disconn_req_action_when_no_link_4.0' into 'release/v4.0'
...
Bugfix/add disconn req action when no link [backport v4.0]
See merge request espressif/esp-idf!10510
2020-11-12 14:14:55 +08:00
Jakob Hasse
f694f92230
nvs: unit tests for new partition API
...
* also changed while to for loop
2020-11-12 10:02:05 +08:00
Dmitriy Shilin
cb6dcb6fc4
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-11-12 10:01:59 +08:00
Jiang Jiang Jian
aebd7a97c9
Merge branch 'bugfix/wpa_supplicant_link_depth_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix failure to link under some circumstances (v4.0)
See merge request espressif/esp-idf!10978
2020-11-11 15:48:15 +08:00
Michael (XIAO Xufeng)
d75888a5df
Merge branch 'bugfix/mcpwm_period_error_v4.0' into 'release/v4.0'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
See merge request espressif/esp-idf!8312
2020-11-11 15:07:33 +08:00
Krzysztof Budzynski
9b1f47df1d
Merge branch 'bugfix/remove_shortcut_to_build_instructions_v4.0' into 'release/v4.0'
...
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions (v4.0)
See merge request espressif/esp-idf!10608
2020-11-11 11:02:15 +08:00
Angus Gratton
8a78522aad
Merge branch 'bugfix/ldgen_unicode_path_v4.0' into 'release/v4.0'
...
tools/ldgen: Parse paths with Unicode characters in archives & fix parsing of section names on Windows (v4.0)
See merge request espressif/esp-idf!10966
2020-11-11 10:50:55 +08:00
Angus Gratton
7aef4fbec9
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set_v4.0' into 'release/v4.0'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment (v4.0)
See merge request espressif/esp-idf!9973
2020-11-11 10:46:38 +08:00
Angus Gratton
d690e3d1ab
Merge branch 'bugfix/get_component_requirements_v4.0' into 'release/v4.0'
...
cmake: fix getting component requirements (v4.0)
See merge request espressif/esp-idf!10661
2020-11-11 10:44:43 +08:00
Angus Gratton
74870e7e22
Merge branch 'bugfix/err_to_name_paths_windows_v4.0' into 'release/v4.0'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v4.0)
See merge request espressif/esp-idf!10897
2020-11-11 10:44:33 +08:00
Angus Gratton
a2fe59464e
Merge branch 'bugfix/returns_correct_flash_encryption_mode_v4.0' into 'release/v4.0'
...
bootloader: Fix esp_get_flash_encryption_mode() (v4.0)
See merge request espressif/esp-idf!10714
2020-11-11 10:43:25 +08:00
Angus Gratton
d5ae1d10d9
Merge branch 'bugfix/embed_file_symbol_names_v4.0' into 'release/v4.0'
...
cmake: fix C identifier generation from embedded file (v4.0)
See merge request espressif/esp-idf!10666
2020-11-11 10:43:14 +08:00
Angus Gratton
8acea045a7
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v4.0' into 'release/v4.0'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v4.0)
See merge request espressif/esp-idf!10736
2020-11-11 10:42:42 +08:00
Angus Gratton
36f3845331
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v4.0' into 'release/v4.0'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v4.0)
See merge request espressif/esp-idf!9954
2020-11-11 10:42:28 +08:00
Island
134b21c5b2
Merge branch 'bugfix/ble_mesh_autorsp_description_v4.0' into 'release/v4.0'
...
esp_ble_mesh: api: fixed comment about autoresp (v4.0)
See merge request espressif/esp-idf!10890
2020-11-10 16:42:50 +08:00
Island
1214f343ab
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Make mesh buf debug option invisible (v4.0)
See merge request espressif/esp-idf!10796
2020-11-10 16:42:34 +08:00
Island
fb9df6388f
Merge branch 'bugfix/fix_node_test_func_not_set_role_v4.0' into 'release/v4.0'
...
ble_mesh: test: Fix node test function not update role flag (v4.0)
See merge request espressif/esp-idf!11042
2020-11-10 16:42:22 +08:00
He Yin Ling
2be6197714
Merge branch 'bugfix/example_test_import_error_4.0' into 'release/v4.0'
...
bugfix: import error in example tests (4.0)
See merge request espressif/esp-idf!11038
2020-11-09 19:18:59 +08:00
Ivan Grokhotkov
31e0866561
Merge branch 'bugfix/ut_ext_win_open_file_v4.0' into 'release/v4.0'
...
Tools: Close temporary file before invoking external tools accessing it
See merge request espressif/esp-idf!9832
2020-11-09 17:16:25 +08:00
Ivan Grokhotkov
c535031c2f
Merge branch 'bugfix/bootloader_skip_verify_jtag_v4.0' into 'release/v4.0'
...
bootloader_support: don't check signature when JTAG is attached (v4.0)
See merge request espressif/esp-idf!10380
2020-11-09 16:52:13 +08:00
Ivan Grokhotkov
a4d7f15625
Merge branch 'gdb/bt_on_invalid_pc_v4.0' into 'release/v4.0'
...
gdb: Modify PC in case of invalid PC (v4.0)
See merge request espressif/esp-idf!8980
2020-11-09 16:48:46 +08:00
Ivan Grokhotkov
f02e2c5e09
Merge branch 'init_priority_fix_v4.0' into 'release/v4.0'
...
CXX: make __attribute__((init_priority(n))) work (v4.0)
See merge request espressif/esp-idf!8445
2020-11-09 16:47:22 +08:00
Ivan Grokhotkov
5738a833fa
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.0' into 'release/v4.0'
...
idf monitor: fix crash when monitor baudrate argument set (Backport v4.0)
See merge request espressif/esp-idf!9761
2020-11-09 16:47:08 +08:00
Ivan Grokhotkov
34f3403c3a
Merge branch 'feature/nvs_erase_check_init_4.0' into 'release/v4.0'
...
NVS Flash: prevent erasing initialized partition (backport v4.0)
See merge request espressif/esp-idf!10066
2020-11-09 16:44:31 +08:00
Ivan Grokhotkov
f9e85a78f6
Merge branch 'bugfix/mfg_tool_v4.0' into 'release/v4.0'
...
mfg_util: Update file handling to maintain line endings across various OS (backport v4.0)
See merge request espressif/esp-idf!10173
2020-11-09 16:42:23 +08:00
Ivan Grokhotkov
c705befd58
Merge branch 'bugfix/parttool_example_test_fail_v4.0' into 'release/v4.0'
...
examples/parttool: fix the test to work on parallel test runner (backport v4.0)
See merge request espressif/esp-idf!10375
2020-11-09 16:42:19 +08:00
Ivan Grokhotkov
927a5cd46b
Merge branch 'bugfix/ulp_as_version_v4.0' into 'release/v4.0'
...
ulp: fix ULP assembler version detection for localized systems (v4.0)
See merge request espressif/esp-idf!10395
2020-11-09 16:41:14 +08:00
Ivan Grokhotkov
11f4a09ce2
Merge branch 'bugfix/eclipse_make_py3_v4.0' into 'release/v4.0'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v4.0)
See merge request espressif/esp-idf!10400
2020-11-09 16:40:30 +08:00
Ivan Grokhotkov
10094b3151
Merge branch 'bugfix/log-error-run-esptool_v4.0' into 'release/v4.0'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream (v4.0)
See merge request espressif/esp-idf!10518
2020-11-09 16:40:23 +08:00
Ivan Grokhotkov
5e8cb9f734
Merge branch 'bugfix/ci_clone_https_v4.0' into 'release/v4.0'
...
ci: use HTTPS for cloning in IT jobs (v4.0)
See merge request espressif/esp-idf!11097
2020-11-09 16:38:56 +08:00
David Čermák
8acd6f41aa
Merge branch 'feature/lwip_tcp_isn_hook_v4.0' into 'release/v4.0'
...
lw-ip: enable TCP ISN hook (v4.0)
See merge request espressif/esp-idf!11064
2020-11-09 15:53:34 +08:00
David Čermák
247fffe062
Merge branch 'bugfix/openss_strict_verify_mode_4.0' into 'release/v4.0'
...
openssl: made verification mode conversion to mbetls modes more strict (v4.0)
See merge request espressif/esp-idf!10501
2020-11-09 15:45:05 +08:00
David Čermák
4effed59cf
Merge branch 'feature/mqtt_sub_update_01594bf1_v4.0' into 'release/v4.0'
...
MQTT: Update submodule reference (Backport v4.0)
See merge request espressif/esp-idf!10233
2020-11-09 15:44:44 +08:00
David Čermák
e8516af6f9
Merge branch 'bugfix/ws_stop_deadlock_v4.0' into 'release/v4.0'
...
Websocket client: avoid deadlock if stop called from event handler (Backport 4.0)
See merge request espressif/esp-idf!10228
2020-11-09 15:43:51 +08:00
David Čermák
3f5cbe4e30
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt_v4.0' into 'release/v4.0'
...
Bugfix/ethernet handle early rx interrupt (v4.0)
See merge request espressif/esp-idf!10100
2020-11-09 15:43:09 +08:00
Island
85b71109d0
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle_v4.0' into 'release/v4.0'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value (v4.0)
See merge request espressif/esp-idf!10356
2020-11-09 14:35:47 +08:00
Island
87ddc09a81
Merge branch 'bugfix/ble_mesh_remove_assert_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Avoid using assert in mesh stack (v4.0)
See merge request espressif/esp-idf!10360
2020-11-09 14:35:19 +08:00
Island
9b087d3ba4
Merge branch 'bugfix/ble_mesh_example_compile_warn_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh example compile warn (v4.0)
See merge request espressif/esp-idf!10224
2020-11-09 14:34:37 +08:00
lly
b8470fba75
ble_mesh: stack: Avoid using assert in mesh stack
2020-11-09 02:20:19 +00:00
lly
0f7a42cfbb
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-11-09 02:17:46 +00:00
lly
3bfe5f130b
ble_mesh: example: Remove some useless included header files
2020-11-09 02:09:01 +00:00
Carlos Sobrinho
82bfe2ae5d
Fix compilation warnings about portmacro being already define.
2020-11-09 02:09:01 +00:00
Krzysztof Budzynski
8007eb9a31
Merge branch 'bugfix/doc_main_readme_build_v4.0' into 'release/v4.0'
...
Fix the setup instructions in the main README (v4.0)
See merge request espressif/esp-idf!10339
2020-11-06 08:32:47 +08:00
Krzysztof Budzynski
a6e65a47a8
Merge branch 'feature/guide_change_for_catalina_v4.0' into 'release/v4.0'
...
docs: Add profile file name used by zsh shell (v4.0)
See merge request espressif/esp-idf!10774
2020-11-06 08:29:45 +08:00
Krzysztof Budzynski
43736e073a
Merge branch 'feature/docs-add-python-clean_v4.0' into 'release/v4.0'
...
docs: Add solution for ImportError in idf.py into the documentation (v4.0)
See merge request espressif/esp-idf!10632
2020-11-06 08:22:53 +08:00
shenjun
16ccf29a74
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
5. Fix the new voted root does not reconnect to router if rssi is weak
2020-11-05 23:54:45 +08:00
Mahavir Jain
b3c39b2d25
Merge branch 'bugfix/esp_idf_version_v4.0' into 'release/v4.0'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v4.0)
See merge request espressif/esp-idf!10901
2020-11-05 12:44:50 +08:00
Angus Gratton
92d755d48c
Merge branch 'update/version_4_0_2' into 'release/v4.0'
...
Update version to 4.0.2
See merge request espressif/esp-idf!11117
2020-11-05 11:58:26 +08:00
He Yin Ling
e5f754b26c
versions: Update version to 4.0.2
2020-11-05 09:38:34 +08:00
Ivan Grokhotkov
b70d209586
ci: use HTTPS for cloning in IT jobs
2020-11-03 19:32:06 +08:00
mathiasbredholt
e9b6d40b97
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-11-03 08:42:57 +01:00
Jiang Jiang Jian
4904606461
Merge branch 'bugfix/scan_issue_sha256_ap_v4.0' into 'release/v4.0'
...
scan: Fix scan issue with PSK-SHA256 AP's (Backport v4.0)
See merge request espressif/esp-idf!11070
2020-11-02 22:01:42 +08:00
Mahavir Jain
8265966974
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 14:30:43 +05:30
Mahavir Jain
4dd7cfbeb7
lwip: provide configuration option to enable TCP ISN hook
2020-11-02 14:30:43 +05:30
Mahavir Jain
6aa24a5de5
tcp_isn: use ROM APIs for md5 calculations
2020-11-02 14:30:39 +05:30
Nachiket Kukade
b7ccfb921f
esp_wifi: Update wifi lib
...
AP's with WPA2-PSK-SHA256 key management were incorrectly
categorized as Open. Update WiFi libs with the fix.
2020-11-02 12:03:17 +05:30
Mahavir Jain
5aba396717
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-30 16:33:54 +05:30
Chen Yu Dong
5a218fa9c6
bugfix: import error in example tests
2020-10-29 21:05:03 +08:00
lly
037b2fce46
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:50:44 +08:00
Roland Dobai
76ea4cb540
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:38:23 +01:00
Roland Dobai
f6c8c987fe
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-29 08:38:23 +01:00
liqigan
a11e5b399e
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-28 11:50:47 +00:00
Jiang Jiang Jian
25813ebe2b
Merge branch 'bugfix/tx_prog_dram_crash_v4.0_1' into 'release/v4.0'
...
components/bt: fixed tx_prog insert error(new for ci release/v4.0)
See merge request espressif/esp-idf!10980
2020-10-26 21:34:41 +08:00
Jiang Jiang Jian
db733d7321
Merge branch 'bugfix/fix_tsf_bug_v4.0' into 'release/v4.0'
...
WiFi: fix tsf bug (backport v4.0)
See merge request espressif/esp-idf!10950
2020-10-26 21:32:44 +08:00
Marius Vikhammer
5c64e5090e
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2020-10-26 07:02:29 +00:00
wangcheng
4ae63961cd
components/bt: fixed tx_prog insert error
2020-10-26 13:24:17 +08:00
Angus Gratton
1d224db575
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-26 15:13:12 +11:00
zhangyanjiao
55acc10303
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 02:10:39 +00:00
He Yin Ling
f28111b6fe
Merge branch 'feature/move_auto_test_script_to_new_repo_4.0' into 'release/v4.0'
...
ci: move auto_test_script to new repo (backport 4.0)
See merge request espressif/esp-idf!10880
2020-10-24 09:25:35 +08:00
Chen Yu Dong
dcb5d956d3
test: move auto test script to new repo (backport)
...
+ known issue
2020-10-24 09:25:33 +08:00
Jiang Jiang Jian
77dc24908c
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:bugfix ipv6 ping error when src ip miss for 4.0(backport 4.0)
See merge request espressif/esp-idf!10934
2020-10-23 11:28:56 +08:00
xueyunfei
17e053930e
bugfix ipv6 ping error when src ip miss for 4.0
2020-10-21 20:45:10 +08:00
Shubham Kulkarni
4b8205edd6
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:22:43 +05:30
Marius Vikhammer
b6cd033236
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-19 14:19:13 +08:00
andreachiara
2270241f55
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:05:56 +08:00
Angus Gratton
0622073b78
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-16 10:12:03 +11:00
Angus Gratton
97c0204ab9
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-16 10:12:03 +11:00
Armando
85ca721867
spi: fix issue with closing DMA before CPU reset
2020-10-14 22:05:21 +08:00
KonstantinKondrashov
7791de6cf8
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-10-13 07:12:40 +00:00
Jiang Jiang Jian
1c7607d4a6
Merge branch 'bugfix/assert_no_IRAM_ATTR_v4.0' into 'release/v4.0'
...
btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
See merge request espressif/esp-idf!10779
2020-10-13 12:30:59 +08:00
Renz Bagaporo
49c4947a4c
cmake: fix getting component requirements
2020-10-13 12:27:43 +08:00
Renz Bagaporo
11a2b77cd4
cmake: fix C identifier generation from embedded file
2020-10-13 12:26:53 +08:00
Jiang Jiang Jian
42e380270c
Merge branch 'bugfix/pmf_softap_coex_issue_v4.0' into 'release/v4.0'
...
Fix issues related to PMF and WPA2-Enterprise (Backport v4.0)
See merge request espressif/esp-idf!10698
2020-10-13 12:26:21 +08:00
David Cermak
def1304b4a
examples: Fix socket examples to uses IPv6 scoped addresses from tcpip_adapter API
2020-10-12 13:53:37 +00:00
lly
097075dcc8
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-12 14:17:22 +08:00
lly
88cc674e11
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-12 10:17:49 +08:00
lly
da81ff2263
ble_mesh: stack: Move device property to model common part
2020-10-12 10:17:48 +08:00
wangcheng
e9dfea8421
components/bt:btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
2020-10-11 15:20:40 +08:00
Nachiket Kukade
0016d20946
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache for mismatching AP config
2020-10-10 10:10:11 +00:00
martin.gano
d7e5094670
docs: add description of python-clean command
2020-10-10 09:56:04 +00:00
Jiang Jiang Jian
d4499598e4
Merge branch 'bugfix/fix_ble_hci_desync_deadlock_v4.0' into 'release/v4.0'
...
components/bt: Backport of the BLE controller fix for hci desync deadlock v4.0
See merge request espressif/esp-idf!10129
2020-10-10 17:50:46 +08:00
Chinmay Chhajed
7af4c6f840
components/bt: Fix for HCI desync deadlock issue in BLE controller
2020-10-10 16:35:18 +08:00
lly
2761b461dc
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-10-10 01:09:04 +00:00
Krzysztof
4f00268cfa
docs: Add profile file name used by zsh shell
2020-10-09 19:17:15 +02:00
Jiang Jiang Jian
c783abc2e3
Merge branch 'bugfix/assert_rx_link_v4.0_fix_mr_v4.0' into 'release/v4.0'
...
fix assert(10,9), when missing evt_end or rx and evt_end come the same time v4.0.
See merge request espressif/esp-idf!10422
2020-10-09 19:54:06 +08:00
Chinmay Chhajed
3b670f1f8b
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:32:14 +05:30
Mahavir Jain
0a0f7bbd6c
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-09 03:51:05 +00:00
Krzysztof
312504a52f
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions
2020-10-09 02:52:09 +00:00
Angus Gratton
3e44ebd3d7
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.0' into 'release/v4.0'
...
CI: get git describe from annotated tags (v4.0)
See merge request espressif/esp-idf!10675
2020-10-08 16:44:52 +08:00
Angus Gratton
893d74f6ef
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:55:53 +11:00
Angus Gratton
3350a108c3
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:55:53 +11:00
He Yin Ling
ac545ce97c
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:52 +08:00
xiongweichao
82140dd840
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 11:28:22 +08:00
xiongweichao
8e9f4e719d
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:28:08 +08:00
Jiang Jiang Jian
445822104a
Merge branch 'bugfix/fix_receiving_packets_from_myself_v4.0' into 'release/v4.0'
...
esp_wifi: drop receiving packets from myself (backport v4.0)
See merge request espressif/esp-idf!10567
2020-09-24 22:35:19 +08:00
Jiang Jiang Jian
dabceb4fe4
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:ipv6 send multicast data fail when src address is null (backport 4.0)
See merge request espressif/esp-idf!10561
2020-09-24 22:35:10 +08:00
jiangguangming
0305b4a778
flash_mmap: restore interrupt and cache before err return
2020-09-24 10:02:58 +08:00
jiangguangming
e93daa4e81
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 10:02:58 +08:00
Jiang Jiang Jian
e6816163fe
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.0' into 'release/v4.0'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.0)
See merge request espressif/esp-idf!10551
2020-09-23 19:01:12 +08:00
Mahavir Jain
daab8014fb
Merge branch 'bugfix/libcoap_update_tinydtls_repo' into 'release/v4.0'
...
coap: update libcoap to fix its broken submodule pointer
See merge request espressif/esp-idf!10440
2020-09-23 18:25:49 +08:00
xiehang
a1fe8fa851
esp_wifi: drop receiving packets from myself
2020-09-23 14:34:31 +08:00
Jiang Jiang Jian
3687627226
Merge branch 'bugfix/update_esp32_phy_4390_v4.0' into 'release/v4.0'
...
esp_wifi: update phy v4390(backport v4.0)
See merge request espressif/esp-idf!10489
2020-09-23 13:51:15 +08:00
xueyunfei
0fe7ac0bd7
ipv6 send multicast data fail when src address is null for 4.0
2020-09-22 17:18:49 +08:00
dongyou
9039ddb20c
Fix spin lock allocation in PSRAM bug
2020-09-22 14:19:56 +08:00
martin.gano
56a9383552
add file stream parameter and log stdout and stderr to same stream
2020-09-18 10:39:40 +02:00
weitianhua
53c57cf2a3
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:14:40 +08:00
weitianhua
98e9f62dda
Add global header and change declaration position
2020-09-18 14:14:34 +08:00
weitianhua
ca2fff3b51
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:14:27 +08:00
weitianhua
7f66230e9e
Rewrite a2dp clean_up function
2020-09-18 14:14:20 +08:00
weitianhua
a3ca473dd4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:14:11 +08:00
David Cermak
1a7149ce76
openssl: made verification mode conversion to mbetls modes more strict
2020-09-17 14:38:15 +02:00
Jiang Jiang Jian
c308562a31
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.0' into 'release/v4.0'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10324
2020-09-17 20:28:43 +08:00
ChenJianxing
293c2d95f6
esp_wifi: update phy v4390(backport v4.0)
2020-09-17 16:08:50 +08:00
lly
2b81af52aa
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:27:00 +08:00
Sergei Silnov
7c9f76db63
ci: Use git mirror for docker image
2020-09-14 12:50:04 +02:00
Mahavir Jain
374b756f6b
coap: update libcoap to fix its broken submodule pointer
...
Though IDF v4.0 does not have dependency on `tinydtls` repository
within libcoap, it created problem in recursive clone. This commit
picks up change from upstream libcoap release-v4.2.0 to update
`tinydtls` repository pointer.
More information at:
https://github.com/obgm/libcoap/pull/531
Merges https://github.com/espressif/esp-idf/pull/5626
2020-09-14 10:59:52 +05:30
wangcheng
e3ecb8d073
fix assert(10,9), when missing evt_end or rx and evt_end come the same time
2020-09-14 10:48:59 +08:00
weitianhua
f97188d2d3
Add protection for rfcomm close API in SPP
2020-09-14 10:06:22 +08:00
weitianhua
f38d93f73c
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-14 10:06:22 +08:00
lly
a92247d461
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 11:01:17 +08:00
Wielebny666
fb594f8f5d
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-10 16:07:01 +08:00
Roland Dobai
2e9561d252
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:46:46 +02:00
Roland Dobai
9f7be2b7f4
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:36:03 +02:00
Ivan Grokhotkov
c2b1d3a9d2
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-09-09 23:52:07 +02:00
Ivan Grokhotkov
2ebe7d13f4
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-09 18:39:02 +02:00
Jakob Hasse
90fdeb0955
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-09-08 19:30:06 +08:00
Roland Dobai
1cc99eefb7
Fix the setup instructions in the main README
2020-09-08 10:18:27 +02:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Anton Maklakov
6093407d78
Merge branch 'feature/toolchain_2020r3_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r3 (backport v4.0)
See merge request espressif/esp-idf!10278
2020-09-07 14:44:52 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
Michael (XIAO Xufeng)
df7028dc52
Merge branch 'bugfix/spi_flash_yield_coredump_v4.0' into 'release/v4.0'
...
spi_flash: don't call vTaskDelay in non-os context (backport v4.0)
See merge request espressif/esp-idf!10299
2020-09-07 13:24:38 +08:00
Ivan Grokhotkov
c928bcc4b8
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-04 21:24:32 +02:00
Jiang Jiang Jian
5812a935ba
Merge branch 'feature/esp_spp_stop_srv_v4.0' into 'release/v4.0'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.0]
See merge request espressif/esp-idf!10013
2020-09-04 20:00:41 +08:00
Jakob Hasse
54bc506d26
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-09-04 19:01:20 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
Anton Maklakov
7009d7bcfe
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-04 13:20:39 +07:00
Jiang Jiang Jian
06fea3a2f7
Merge branch 'bugfix/update_esp32_phy_4370_v4.0' into 'release/v4.0'
...
esp_wifi: update esp32 phy v4370(Backport v4.0)
See merge request espressif/esp-idf!10025
2020-09-04 11:29:45 +08:00
ChenJianxing
e59336337c
esp_wifi: update esp32 phy v4370
...
fix sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-09-03 20:15:17 +08:00
Jiang Jiang Jian
749e71e8e2
Merge branch 'feature/pmf_espnow_coexistance_v4.0' into 'release/v4.0'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance (Backport v4.0)
See merge request espressif/esp-idf!10247
2020-09-03 16:23:41 +08:00
Michael (XIAO Xufeng)
3f96604fda
Merge branch 'bugfix/fix_i2s_reset_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix i2s reset issue v4.0
See merge request espressif/esp-idf!9585
2020-09-03 11:07:38 +08:00
Michael (XIAO Xufeng)
013654cc11
Merge branch 'feature/vfs_uart_set_line_ending_v4.0' into 'release/v4.0'
...
feature: support vfs uart set line endings with specified uart number release/v4.0
See merge request espressif/esp-idf!9598
2020-09-03 00:48:43 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +08:00
Nachiket Kukade
4d8ba4b4de
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com >
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com >
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com >
2020-09-02 15:02:45 +05:30
houwenxiang
54c2bd7c0c
driver(I2S): Fix I2S reset issue for release/v4.0
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-09-02 16:30:03 +08:00
Michael (XIAO Xufeng)
d1fa5c712a
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_0' into 'release/v4.0'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.0)
See merge request espressif/esp-idf!8199
2020-09-02 16:12:28 +08:00
XieWenxiang
2832f5f6f2
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
2020-09-02 11:08:07 +08:00
Marius Vikhammer
2efa45b317
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681 )
Closes https://github.com/espressif/esp-mqtt/issues/158
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10 )
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d )
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab )
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2 )
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-09-01 16:03:20 +08:00
Marius Vikhammer
3d952d3f56
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:43:49 +08:00
Jiang Jiang Jian
c756f7c4d2
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.0' into 'release/v4.0'
...
lw-ip: fix IPv6 ND6 queue too much pkts (Backport 4.0)
See merge request espressif/esp-idf!10090
2020-08-31 14:27:59 +08:00
Shivani Tipnis
4b63e016c4
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-27 11:38:56 +05:30
Jiang Jiang Jian
5ec780d6b5
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.0)
See merge request espressif/esp-idf!10029
2020-08-27 11:48:30 +08:00
Jiang Jiang Jian
5ad4713362
Merge branch 'bugfix/clean_wpa2_wifi_deinit_v4.0' into 'release/v4.0'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.0)
See merge request espressif/esp-idf!10104
2020-08-27 11:40:11 +08:00
Jiang Jiang Jian
6dd8569b4b
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx' into 'release/v4.0'
...
esp_wifi: Fix null pointer dereferences in mgmt rx (backport v4.0)
See merge request espressif/esp-idf!10132
2020-08-27 11:22:07 +08:00
kapil.gupta
df52fb3942
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:23:21 +05:30
Jiang Jiang Jian
e376e8f989
Merge branch 'bugfix/assert_9_10_error_v4.0' into 'release/v4.0'
...
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time,...
See merge request espressif/esp-idf!10049
2020-08-26 11:38:07 +08:00
kapil.gupta
98d525c1ea
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-20 15:09:55 +05:30
morris
08eb68f90f
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-20 10:57:42 +08:00
morris
296104a103
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:57:41 +08:00
morris
c4fe36dd32
ethernet: handle early rx interrupt
2020-08-20 10:57:41 +08:00
ChenJianxing
c4107150ee
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-08-19 14:38:32 +08:00
espressif
98d1736fc6
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
2020-08-19 11:05:37 +08:00
wangcheng
6dde2eb3c5
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-18 16:06:22 +08:00
houwenxiang
d9660fcf9c
vfs: support vfs uart set line endings with specified uart number (release/v4.0)
2020-08-14 15:39:39 +08:00
liqigan
45c4fef890
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:01:39 +08:00
zhangyanjiao
93aea71641
esp_wifi: fix the crash when wifi stop after deinit
2020-08-13 10:56:57 +08:00
Jiang Jiang Jian
820621687c
Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.0' into 'release/v4.0'
...
lw-ip: fix udp tx packet loss issue (backport v4.0)
See merge request espressif/esp-idf!10005
2020-08-11 22:23:48 +08:00
xiehang
bb33120756
lwip: fix udp tx packet loss issue
2020-08-11 15:09:44 +08:00
Jiang Jiang Jian
b88dc13ec3
Merge branch 'bugfix/buff_semaphore_not_free_v4.0' into 'release/v4.0'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9981
2020-08-10 15:10:24 +08:00
Island
ed0393d707
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh client msg optimize (v4.0)
See merge request espressif/esp-idf!9990
2020-08-10 11:02:29 +08:00
Angus Gratton
03abf3b209
Merge branch 'bugfix/idf_build_process_default_v4.0' into 'release/v4.0'
...
cmake: fix issue with setting defaults in idf_build_process (v4.0)
See merge request espressif/esp-idf!9713
2020-08-10 09:19:38 +08:00
lly
d3eaf8bdb0
ble_mesh: stack: Client model related code clean
2020-08-07 21:15:11 +08:00
lly
aa8f45e341
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-07 21:15:10 +08:00
lly
dfa6332606
ble_mesh: stack: Check client msg result in common func
2020-08-07 21:15:08 +08:00
lly
ba38c974e6
ble_mesh: stack: Fix no events for some error conditions
2020-08-07 21:15:07 +08:00
lly
3cc07d7969
ble_mesh: stack: Move client role set to the msg function
2020-08-07 21:15:06 +08:00
lly
035a24b468
ble_mesh: stack: Remove some not used client parameters
2020-08-07 21:15:04 +08:00
lly
c3e702da05
ble_mesh: stack: Remove some not used variables & functions
2020-08-07 21:15:03 +08:00
lly
dfd0cd5f3e
ble_mesh: stack: Update client model msg send
2020-08-07 21:15:02 +08:00
Jiang Jiang Jian
91cf59981c
Merge branch 'bugfix/ipv6_fragment_for_4.0' into 'release/v4.0'
...
lw-ip:fix bug for ipv6 fragment(backport4.0)
See merge request espressif/esp-idf!9578
2020-08-07 18:09:24 +08:00
Jiang Jiang Jian
b3de361e51
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.0' into 'release/v4.0'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.0)
See merge request espressif/esp-idf!9937
2020-08-07 18:08:26 +08:00
KonstantinKondrashov
a6dc125aec
bootloader: Adds bootloader_sha256_flash_contents()
2020-08-07 17:16:21 +08:00
wangcheng
b50bbe3a5b
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-07 15:15:49 +08:00
KonstantinKondrashov
b77c50a063
newlib: Fix UT for adjtime
2020-08-06 20:03:18 +08:00
KonstantinKondrashov
409355febe
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
...
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.
Closes: https://github.com/espressif/esp-idf/issues/5194
2020-08-06 20:03:18 +08:00
Mahavir Jain
14140e7550
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: update to mbedtls release v2.16.7 (v4.0)
See merge request espressif/esp-idf!9908
2020-08-06 12:29:00 +08:00
KonstantinKondrashov
e3edc15f94
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 23:19:48 +08:00
dongyou
94f4a88c2d
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 17:41:05 +08:00
Island
7cc07173b2
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
See merge request espressif/esp-idf!9918
2020-08-05 14:23:41 +08:00
Michael (XIAO Xufeng)
12e39e9291
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.0' into 'release/v4.0'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.0)
See merge request espressif/esp-idf!9839
2020-08-04 17:44:37 +08:00
XieWenxiang
100750ac1b
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
2020-08-04 15:22:18 +08:00
Angus Gratton
2597e046c5
Merge branch 'bugfix/ci_retries_when_download_v4.0' into 'release/v4.0'
...
CI: retry shell commands when download (v4.0)
See merge request espressif/esp-idf!9890
2020-08-04 12:48:03 +08:00
Angus Gratton
2995e78fa1
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v40' into 'release/v4.0'
...
Bugfix/espcoredump fix error reported for blank partition (Backport v4.0)
See merge request espressif/esp-idf!9626
2020-08-04 12:45:41 +08:00
Jiang Jiang Jian
81e726e3fc
Merge branch 'bugfix/fix_fragment_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix WiFi fragment issue (backport v4.0)
See merge request espressif/esp-idf!9883
2020-08-04 12:27:52 +08:00
Mahavir Jain
cc0aa104e8
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-08-03 15:50:34 +05:30
Michael (XIAO Xufeng)
26d7fb7744
Merge branch 'ci/resume_esp_flash_tests_4.0' into 'release/v4.0'
...
ci: resume esp_flash unit tests (v4.0)
See merge request espressif/esp-idf!9793
2020-08-02 17:15:24 +08:00
Li Shuai
374ad7d38f
added psram stack check in backtrace
2020-08-02 05:27:41 +00:00
Ivan Grokhotkov
4cbb70541c
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v4.0)
See merge request espressif/esp-idf!8425
2020-07-31 21:58:06 +08:00
xiehang
b1fa527f41
esp_wifi: Fix WiFi fragment issue
2020-07-31 21:42:19 +08:00
Jiang Jiang Jian
9a580242e8
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.0' into 'release/v4.0'
...
bugfix: fix softap mode wpa memory leak (backport v4.0)
See merge request espressif/esp-idf!9847
2020-07-31 17:28:50 +08:00
Jiang Jiang Jian
3f332ef02b
Merge branch 'bugfix/bt_linkup_fallback_event_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.0)
See merge request espressif/esp-idf!9804
2020-07-31 17:27:37 +08:00
Jiang Jiang Jian
2be17377bb
Merge branch 'nimble/nrpa_support_v4.0' into 'release/v4.0'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.0)
See merge request espressif/esp-idf!9736
2020-07-31 17:27:21 +08:00
Sachin Parekh
6618e0c31d
gdb: Modify PC in case of invalid PC
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2020-07-31 07:40:12 +00:00
Alexey Gerenkov
a7fe03dcb0
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-31 07:16:19 +00:00
Anton Maklakov
c2d261c88e
ci: use the retry script to download
2020-07-31 13:07:07 +07:00
Anton Maklakov
8ed6242e27
ci: add a helper for retrying shell command
2020-07-31 13:04:59 +07:00
Jiang Jiang Jian
f32582b588
Merge branch 'bugfix/fix_hci_max_page_num_v4.0' into 'release/v4.0'
...
bugfix/Support for more Bluetooth HID devices [backport v4.0]
See merge request espressif/esp-idf!9662
2020-07-30 21:20:15 +08:00
Jiang Jiang Jian
64c766ee4d
Merge branch 'bugfix/fix_get_bond_device_list_v4.0' into 'release/v4.0'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.0]
See merge request espressif/esp-idf!9668
2020-07-30 21:19:57 +08:00
Jiang Jiang Jian
4f86faa906
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v4.0' into 'release/v4.0'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9483
2020-07-30 21:18:43 +08:00
Krzysztof Budzynski
16d68e4dee
Merge branch 'doc/freertos_backport_v4.0' into 'release/v4.0'
...
add a note about ESP-IDF FreeRTOS version (backport v4.0)
See merge request espressif/esp-idf!9820
2020-07-30 17:27:18 +08:00
Mahavir Jain
426f03de5f
Merge branch 'fix/prov_ble_read_offset_v4.0' into 'release/v4.0'
...
BLE provisioning: Add check for valid ble read offset (v4.0)
See merge request espressif/esp-idf!9746
2020-07-30 16:11:21 +08:00
Mahavir Jain
d3034e8172
Merge branch 'bugfix/convert-string-to-bytes_v4.0' into 'release/v4.0'
...
components: convert string to bytes to fix TypeError (backport v4.0)
See merge request espressif/esp-idf!9732
2020-07-30 16:11:02 +08:00
Michael (XIAO Xufeng)
fcb0206c59
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.0' into 'release/v4.0'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.0)
See merge request espressif/esp-idf!9552
2020-07-30 15:55:11 +08:00
Angus Gratton
0dc46879c5
Merge branch 'bugfix/esp_flash_write_performance_regression_4.0' into 'release/v4.0'
...
esp_flash: fix the write performance regression (Backport v4.0)
See merge request espressif/esp-idf!9616
2020-07-29 15:30:13 +08:00
ronghulin
4e7d7426aa
bugfix: fix softap mode wpa memory leak
2020-07-29 14:17:12 +08:00
Roland Dobai
6bec17308c
Tools: Close temporary file before invoking external tools accessing it
2020-07-29 07:39:50 +02:00
Michael (XIAO Xufeng)
818a2f8768
ci: resume esp_flash unit tests
2020-07-29 10:00:23 +08:00
Michael (XIAO Xufeng)
7dfb6adf27
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 12:19:51 +08:00
yiying
9c82e7c875
docs: add a note about ESP-IDF FreeRTOS version
2020-07-27 20:24:43 +08:00
Chinmay Chhajed
5fe10f1ff8
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:03:20 +05:30
wangcheng
ebacef4304
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-24 12:05:29 +08:00
Prasad Alatkar
9566e4ec19
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.0)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:31:52 +05:30
Angus Gratton
7abb8e7fc3
Merge branch 'docs/doc138_backport_v4.0' into 'release/v4.0'
...
Fix incorrect redirect link in getting started guide (backport v4.0)
See merge request espressif/esp-idf!9704
2020-07-23 13:24:20 +08:00
Angus Gratton
8cfc9f1609
Merge branch 'bugfix/prov_retry_failures_v4.0' into 'release/v4.0'
...
ci: Add retries for all provisioning methods, some refactors (v4.0)
See merge request espressif/esp-idf!9389
2020-07-23 13:17:21 +08:00
Jiang Jiang Jian
e5526e2953
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix_v4.0' into 'release/v4.0'
...
Fix WPA3 and WPA2 transition related failures (Backport v4.0)
See merge request espressif/esp-idf!9534
2020-07-23 09:52:46 +08:00
Prasad Alatkar
8b5fb43d93
BLE provisioning: Add check for valid ble read offset
2020-07-22 19:42:09 +05:30
Angus Gratton
3b0a62a752
Merge branch 'ci/test_spi_speed_psram_enabled_4.0' into 'release/v4.0'
...
driver test: disable the spi master performance test when psram is used (v4.0)
See merge request espressif/esp-idf!9637
2020-07-22 17:28:24 +08:00
yiying
61bc60213e
docs: change redirection link in get-started
...
This link is supposed to go to Step 3, but it goes to Step 2.
2020-07-22 17:17:38 +08:00
martin.gano
2595326978
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba )
2020-07-22 11:04:22 +02:00
Jiang Jiang Jian
53605395cf
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_4.0' into 'release/v4.0'
...
Backport MR for baidu project for release/v4.0
See merge request espressif/esp-idf!8989
2020-07-22 16:34:19 +08:00
Angus Gratton
b994331b83
Merge branch 'ci/workaround_multiple_ci_failures_v4.0' into 'release/v4.0'
...
CI: workaround multiple ci failures (v4.0)
See merge request espressif/esp-idf!9686
2020-07-22 11:55:24 +08:00
Michael (XIAO Xufeng)
69059ea2cc
driver test: disable the spi master performance test when psram is used
2020-07-21 05:43:45 +00:00
Renz Christian Bagaporo
34f4b5a4d3
ci: pushd and cd in one go in idf_build_process defaults test
2020-07-20 18:24:05 +08:00
Renz Bagaporo
d30f3b6edd
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-07-20 18:24:05 +08:00
Renz Bagaporo
948795265d
ci: test idf_build_process defaults set properly
2020-07-20 18:24:02 +08:00
He Yin Ling
ce88e9d3fe
CI: do not run cases likely to fail
2020-07-19 14:58:28 +08:00
He Yin Ling
83895b4e78
CI: disable cases with test env SSC_T5_1
2020-07-19 14:58:28 +08:00
He Yin Ling
53852b555e
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 14:58:27 +08:00
He Yin Ling
087a1e339e
CI: remove incorrect MTU related cases
2020-07-19 14:58:27 +08:00
Island
712aa3daa7
Merge branch 'bugfix/ble_mesh_health_current_status_recv_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix recv health current status incorrectly (v4.0)
See merge request espressif/esp-idf!9665
2020-07-17 16:14:44 +08:00
boblane
9a88eef632
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:12:57 +08:00
lly
beda5f0fd4
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 14:06:41 +08:00
DerfJagged
a1cf4fa871
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:23:52 +08:00
Angus Gratton
bf1394eeb8
Merge branch 'feature/toolchain_2020r2_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r2 (backport v4.0)
See merge request espressif/esp-idf!9001
2020-07-16 16:22:17 +08:00
Island
0dc0c54acd
Merge branch 'bugfix/ble_mesh_misc_updates_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh misc updates (v4.0)
See merge request espressif/esp-idf!9642
2020-07-16 14:03:15 +08:00
lly
235cdd2ff0
ble_mesh: ci: Enable friend & low power in build check
2020-07-16 11:04:58 +08:00
lly
f3566fd2af
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-16 11:04:57 +08:00
lly
f10c62d84d
ble_mesh: stack: Make proxy server & client functions clear
2020-07-16 11:04:57 +08:00
Island
775fd14310
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh add misc check (v4.0)
See merge request espressif/esp-idf!9631
2020-07-16 10:51:49 +08:00
Nachiket Kukade
e9a07592fc
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 13:40:03 +00:00
Ivan Grokhotkov
48ea44f3d1
Merge branch 'feature/light_sleep_reject_v4.0' into 'release/v4.0'
...
sleep: enable sleep reject when entering light sleep (v4.0)
See merge request espressif/esp-idf!9501
2020-07-15 20:08:55 +08:00
Anton Maklakov
009492ca9a
Merge branch 'bugfix/fix_static_analysis_rules_v4.0' into 'release/v4.0'
...
static analysis: Apply current limits of known defects (v4.0)
See merge request espressif/esp-idf!9277
2020-07-15 16:56:22 +08:00
David Čermák
e4501dc0ec
Merge branch 'bugfix/ws_send_abort_v4.0' into 'release/v4.0'
...
websocket client: the client now aborts the connection if send fails. (v4.0)
See merge request espressif/esp-idf!9171
2020-07-15 16:38:05 +08:00
lly
1df9502301
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-15 16:11:32 +08:00
lly
d04a8da916
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-15 16:11:31 +08:00
lly
6e79097b4a
ble_mesh: example: Add result check during mesh init
2020-07-15 16:11:29 +08:00
lly
c8601fface
ble_mesh: stack: Add more checks about input prov bearers
2020-07-15 16:11:27 +08:00
Island
cf98746771
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v4.0' into 'release/v4.0'
...
Feat/ble mesh use diff ram for mem alloc (v4.0)
See merge request espressif/esp-idf!9618
2020-07-15 16:07:00 +08:00
Michael (XIAO Xufeng)
7f99280b40
spi_flash: add unit test for read/write performance (no performance
...
check)
2020-07-15 14:41:02 +08:00
aleks
59c6afda95
espcoredump: fix error reported for blank partition
2020-07-15 08:30:28 +02:00
lly
1e528fa739
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-15 11:10:14 +08:00
lly
a27478b54d
ble_mesh: stack: Use macros for adv task name & prio
2020-07-15 11:10:14 +08:00
lly
2ff3c012ea
ble_mesh: ci: Add psram configurations
2020-07-15 11:10:14 +08:00
lly
0dc96d19aa
ble_mesh: stack: Make freertos static allocation visible
2020-07-15 11:09:58 +08:00
lly
9973f5ef04
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-07-15 09:41:15 +08:00
Michael (XIAO Xufeng)
ffc46954ae
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-07-15 02:20:35 +08:00
Mahavir Jain
ee7b443d28
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.0' into 'release/v4.0'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.0)
See merge request espressif/esp-idf!9593
2020-07-14 15:16:59 +08:00
Anton Maklakov
6182c172bf
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-07-14 14:04:54 +07:00
Jeroen Domburg
faae3ceec5
Add fixes for gcc8 psram fix improvement
2020-07-14 14:04:53 +07:00
Angus Gratton
f7742dd9cc
Merge branch 'bugfix/customer_baidu_int_wdt_v4.0' into 'release/v4.0'
...
backport v4.0: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9214
2020-07-14 13:09:03 +08:00
David Čermák
5a99038b1a
Merge branch 'bugfix/eth_insert_min_hw_reset_time_v4.0' into 'release/v4.0'
...
ethernet: insert min assert time for PHY HW reset (v4.0)
See merge request espressif/esp-idf!9581
2020-07-13 22:33:19 +08:00
Ivan Grokhotkov
80e0be6dbd
Merge branch 'bugfix/rs485_test_temp_disable_v40' into 'release/v4.0'
...
ci: temporarily disable RS485 related tests (backport v4.0)
See merge request espressif/esp-idf!9520
2020-07-13 20:41:15 +08:00
Mahavir Jain
6f034e9194
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-13 15:56:00 +05:30
weitianhua
de438461f5
Backport from baidu proj
2020-07-13 15:03:17 +08:00
xueyunfei
cb7c143523
fix bug for ipv6 fragment
2020-07-13 11:30:33 +08:00
morris
0100d70dfd
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:21:30 +08:00
Jiang Jiang Jian
f73cd1d4f1
Merge branch 'docs/fix_event_typo_backport_v4.0' into 'release/v4.0'
...
docs/fix event typo backport v4.0
See merge request espressif/esp-idf!9384
2020-07-12 21:23:54 +08:00
Jiang Jiang Jian
0b3954c0c3
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v4.0' into 'release/v4.0'
...
fix some wifi bugs 0703 (v4.0)
See merge request espressif/esp-idf!9532
2020-07-12 20:30:52 +08:00
Jiang Jiang Jian
bfbbb4d581
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.0' into 'release/v4.0'
...
Bugfix/fix event bug in GAP API [backport v4.0]
See merge request espressif/esp-idf!9194
2020-07-10 16:57:37 +08:00
Jiang Jiang Jian
4cb1a2fdc3
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v4.0' into 'release/v4.0'
...
psram: fix 16mbit psram id read error (backport v4.0)
See merge request espressif/esp-idf!9439
2020-07-10 16:57:15 +08:00
Jiang Jiang Jian
94dfe1713c
Merge branch 'doc/add_UUID_description_in_gattc_demo_backport_v4.0' into 'release/v4.0'
...
docs:add 128-bit UUID description backport v4.0
See merge request espressif/esp-idf!9227
2020-07-10 16:56:36 +08:00
Jiang Jiang Jian
6a929916b7
Merge branch 'bugfix/fix_build_err_in_cpp_backport_v4.0' into 'release/v4.0'
...
ble_hid_device_demo: fix build if building with c++ backport v4.0
See merge request espressif/esp-idf!9233
2020-07-10 16:56:16 +08:00
Jiang Jiang Jian
ff6c39376a
Merge branch 'feature/make_tcp_rto_configurable_v4.0' into 'release/v4.0'
...
make TCP rto time configurable (backport v4.0)
See merge request espressif/esp-idf!9213
2020-07-10 16:55:53 +08:00
Island
62e6b6f571
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh update send ttl v4.0
See merge request espressif/esp-idf!9563
2020-07-10 14:06:23 +08:00
Li Shuai
8560d88391
add soft solution for esp32 eco3 live lock issue
2020-07-10 02:14:47 +00:00
lly
724a5baa4e
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:02 +08:00
lly
c399b9520b
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-10 09:15:01 +08:00
Wielebny666
067d840c76
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-09 19:18:10 +08:00
Krzysztof Budzynski
b9dd8630ee
Merge branch 'doc/broken_readme_links_v4.0' into 'release/v4.0'
...
Docs: Fix broken README links (v4.0)
See merge request espressif/esp-idf!9503
2020-07-08 23:54:50 +08:00
xiehang
4e831ac080
esp_wifi: Add API to get available internal heap size.
2020-07-08 17:40:19 +08:00
zhangyanjiao
8ae3c733db
esp wifi bugfix:
...
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. fix the wifi regdomain update bug
7. fix the bug for airkiss find hidden AP fail
8. fix addba and first ampdu send bar
2020-07-08 17:27:15 +08:00
Mahavir Jain
576957b17d
Merge branch 'bugfix/http_client_read_v4.0' into 'release/v4.0'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v4.0)
See merge request espressif/esp-idf!9204
2020-07-08 17:19:50 +08:00
liqigan
9e506a921b
components/bt: Adjust the description of esp_bt_gap_start_discovery and esp_bt_gap_cancel_discovery.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 15:07:05 +08:00
aleks
db7f558e34
ci: temporarily disable RS485 related tests
2020-07-08 06:31:29 +02:00
Shubham Kulkarni
0253a372be
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 09:57:49 +05:30
Shubham Kulkarni
9fe1380b7f
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-07-08 09:57:43 +05:30
Shubham Kulkarni
a9591d1c1f
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 09:57:42 +05:30
Marius Vikhammer
4ff6d873bb
Fix broken README links
2020-07-07 18:07:57 +08:00
Ivan Grokhotkov
5da359c253
sleep: enable sleep reject when entering light sleep
2020-07-07 11:21:42 +02:00
Ivan Grokhotkov
9216af8371
Merge branch 'bugfix/coredump_size_inv_stack_v4.0' into 'release/v4.0'
...
coredump: Fixes data length calculation when task stack is corrupted (v4.0)
See merge request espressif/esp-idf!9458
2020-07-07 16:30:26 +08:00
Ivan Grokhotkov
1e95aba03a
Merge branch 'feature/msys2_env_update_v4.0' into 'release/v4.0'
...
windows: Update MSYS2 pre-compiled legacy build environment (v4.0)
See merge request espressif/esp-idf!9144
2020-07-06 15:16:39 +08:00
Michael (XIAO Xufeng)
8a2c055179
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.0' into 'release/v4.0'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.0)
See merge request espressif/esp-idf!9362
2020-07-06 13:19:22 +08:00
Angus Gratton
d7f251aef3
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-07-03 09:13:46 +00:00
Angus Gratton
e0fc7b1c48
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-07-03 09:13:46 +00:00
Angus Gratton
7358470ae9
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-07-03 09:13:46 +00:00
Angus Gratton
200fa4abeb
legacy provisioning: Always try to reconnect when disconnected
...
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-07-03 09:13:46 +00:00
Angus Gratton
822b6986aa
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-03 09:13:46 +00:00
Angus Gratton
6787718e1b
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-03 09:13:46 +00:00
Angus Gratton
388522a886
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-07-03 09:13:46 +00:00
Island
a391a98a02
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh fast prov misc update (v4.0)
See merge request espressif/esp-idf!9463
2020-07-03 11:38:03 +08:00
lly
39705533f1
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:56 +08:00
lly
77fe2ced32
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:56 +08:00
Island
36ba6be9ae
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh split tinycrypt (v4.0)
See merge request espressif/esp-idf!9372
2020-07-02 22:46:08 +08:00
Jiang Jiang Jian
68b272f590
Merge branch 'bugfix/beacon_security_downgrade_v4.0' into 'release/v4.0'
...
Avoid parsing RSN/WPA IE's after connection (Backport v4.0)
See merge request espressif/esp-idf!9281
2020-07-02 21:29:18 +08:00
Alexey Gerenkov
f12b8c7990
coredump: Fixes data length calculation when task stack is corrupted
2020-07-02 14:12:15 +03:00
lly
c4794f761e
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:35:13 +00:00
lly
4d9af50eba
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:35:13 +00:00
lly
0e028c044d
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:35:13 +00:00
lly
813cf5cc00
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:35:13 +00:00
lly
ac0746aba1
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:35:13 +00:00
lly
e5f4ff2b1a
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:35:13 +00:00
lly
4f37a08437
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:35:13 +00:00
Island
d8e590555c
Merge branch 'bugfix/ble_mesh_readme_fix_v4.0' into 'release/v4.0'
...
ble_mesh: example: Fix example README & tutorial link error (v4.0)
See merge request espressif/esp-idf!9436
2020-07-02 11:29:37 +08:00
Island
c7acaf9b44
Merge branch 'bugfix/ble_mesh_compile_error_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh compile error (v4.0)
See merge request espressif/esp-idf!9432
2020-07-02 11:29:06 +08:00
Nachiket Kukade
2c45d430da
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-01 16:24:23 +05:30
Michael (XIAO Xufeng)
671ecd7522
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15 .
2020-07-01 16:39:16 +08:00
chenjianqiang
fd475fc9bc
psram: fix 16mbit psram id read error
2020-07-01 16:38:29 +08:00
lly
797971e8cc
ble_mesh: example: Fix example README & tutorial link error
2020-07-01 14:39:32 +08:00
Jiang Jiang Jian
8309f06378
Merge branch 'bugfix/kconfig_vendor_specific_v4.0' into 'release/v4.0'
...
Bugfix: bt/Kconfig Vendor specific event data type and default value
See merge request espressif/esp-idf!9416
2020-07-01 13:49:53 +08:00
lly
4fd867616c
ble_mesh: ci: Add different proxy configurations
2020-07-01 11:55:13 +08:00
lly
3b6145dc46
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-07-01 11:55:12 +08:00
Island
b823a2a35f
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.0' into 'release/v4.0'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.0)
See merge request espressif/esp-idf!9397
2020-07-01 11:16:39 +08:00
Island
4802585bfd
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh set recv rssi (v4.0)
See merge request espressif/esp-idf!9391
2020-07-01 11:15:20 +08:00
Chinmay Chhajed
b9b31e3c85
bt/Kconfig: Update data type and default value of vendor specific event.
2020-06-30 15:02:22 +05:30
Jiang Jiang Jian
d921a06c1f
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.0' into 'release/v4.0'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9338
2020-06-30 15:26:57 +08:00
lly
dfcc8e77dc
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-30 09:22:49 +08:00
lly
7f6735fd60
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883 ,
copy the recv_rssi for other mesh messages.
2020-06-30 09:05:51 +08:00
mbroek
ca5ab9b607
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-30 09:05:50 +08:00
liminyang
acb54059be
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:59:14 +08:00
Mahavir Jain
3e31c484ba
Merge branch 'bugfix/http_server_lru_v4.0' into 'release/v4.0'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.0)
See merge request espressif/esp-idf!9352
2020-06-29 12:57:25 +08:00
fuzhibo
fac0b1128f
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-06-29 03:41:26 +00:00
Michael (XIAO Xufeng)
9969ec1de5
Merge branch 'bugfix/esp_flash_revert_qe_clear_4.0' into 'release/v4.0'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id (4.0)
See merge request espressif/esp-idf!8879
2020-06-28 22:13:25 +08:00
Island
8cb2ad1fe6
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.0' into 'release/v4.0'
...
ble_mesh: Get node info with pre-configured node name (v4.0)
See merge request espressif/esp-idf!9303
2020-06-28 20:25:24 +08:00
Island
3f0956bfa0
Merge branch 'bugfix/ble_mesh_example_tag_define_v4.0' into 'release/v4.0'
...
ble_mesh: Move TAG definition to each example (v4.0)
See merge request espressif/esp-idf!9307
2020-06-28 20:25:06 +08:00
Island
304c40f3ef
Merge branch 'bugfix/ble_mesh_bt_hex_v4.0' into 'release/v4.0'
...
ble_mesh: Fix wrong log output with bt_hex (v4.0)
See merge request espressif/esp-idf!9310
2020-06-28 20:24:12 +08:00
Island
ef136a664c
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh not define bool (v4.0)
See merge request espressif/esp-idf!9317
2020-06-28 20:23:03 +08:00
Island
666014447b
Merge branch 'bugfix/ble_mesh_check_model_status_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Check model status with variable length (v4.0)
See merge request espressif/esp-idf!9320
2020-06-28 20:22:26 +08:00
Krzysztof Budzynski
e9dcba0d5d
Merge branch 'docs/spi' into 'release/v4.0'
...
Fixed a typo according to DOC-216
See merge request espressif/esp-idf!9133
2020-06-28 18:22:29 +08:00
Wang Ning
1658838efb
Fixed a typo according to DOC-216
2020-06-28 18:22:29 +08:00
Armando
b88982b666
esp_flash: fix cache exception when CS pin is through IOMUX
2020-06-28 15:52:58 +08:00
Armando
59c1bf4d8f
esp_flash: fix the cleanup when add device fails
2020-06-28 15:52:58 +08:00
Armando
aa5b4fb372
esp_flash: fix the regression of non-quad mode by default chip driver
2020-06-28 15:52:58 +08:00
Marius Vikhammer
67d7b60f19
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:12:35 +00:00
Ivan Grokhotkov
28b4419c4e
Merge branch 'bugfix/export_path_checks_v4.0' into 'release/v4.0'
...
tools: export.sh: better detection and checking of IDF_PATH (backport v4.0)
See merge request espressif/esp-idf!8748
2020-06-26 22:18:06 +08:00
Shubham Kulkarni
e933077fbc
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:25:15 +05:30
Angus Gratton
a68b9272c5
Merge branch 'bugfix/idf_py_help_env_var_v4.0' into 'release/v4.0'
...
Tools: Mention ESPPORT and ESPBAUD in idf.py --help (v4.0)
See merge request espressif/esp-idf!9292
2020-06-26 14:43:02 +08:00
David Cermak
ae177f7077
static analysis: Apply current limits of known defects on v4.0
2020-06-25 06:16:14 +00:00
Chinmay Chhajed
a9d4ed4a55
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-06-24 22:25:20 +05:30
lly
939a3b78e2
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-24 10:33:58 +00:00
lly
f1c0fee05b
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-24 10:31:25 +00:00
lly
268b0e5e3f
ble_mesh: Remove boolean type definitions
2020-06-24 09:12:31 +00:00
Nikolaos Strikos
940fcf0ca9
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 09:12:31 +00:00
lly
c6ce7d2866
ble_mesh: stack: Check model status with variable length
2020-06-24 09:10:32 +00:00
lly
b4554ca2a6
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-24 09:08:18 +00:00
Ivan Grokhotkov
9b3aae1d32
tools: export.sh: fix compatibility with dash shell
...
* fix constructs invalid in dash
* clean shellcheck warnings and disable false positive ones
Closes https://github.com/espressif/esp-idf/issues/5366
2020-06-24 10:37:51 +02:00
Ivan Grokhotkov
0785d41c93
tools: export.sh: better detection and checking of IDF_PATH
...
1. detect IDF_PATH in zsh, if it is not set
2. if IDF_PATH is set, check that it is valid
3. make sure IDF_PATH is exported, not just set
Related to https://github.com/espressif/esp-idf/issues/3793
Closes https://github.com/espressif/esp-idf/pull/4418
Closes https://github.com/espressif/esp-idf/issues/4770
2020-06-24 10:37:17 +02:00
Roland Dobai
9624d9b19b
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-24 10:19:37 +02:00
Anton Maklakov
4f22be795d
Merge branch 'bugfix/python_lint_v4.0' into 'release/v4.0'
...
tools: fix python lint (v4.0)
See merge request espressif/esp-idf!9301
2020-06-24 16:05:54 +08:00
morris
b53c59b7a4
tools: fix python lint
2020-06-24 13:22:21 +08:00
Angus Gratton
e37cb829f4
Merge branch 'feature/pyc_clean_v4.0' into 'release/v4.0'
...
tools/idf.py: Clean Python bytecode files (v4.0)
See merge request espressif/esp-idf!9264
2020-06-24 12:30:48 +08:00
Ivan Grokhotkov
2967334138
Merge branch 'bugfix/sleep_comments_v4.0' into 'release/v4.0'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v4.0)
See merge request espressif/esp-idf!8568
2020-06-23 01:45:29 +08:00
Roland Dobai
0de2507b24
tools/idf.py: Clean Python bytecode files
2020-06-22 10:44:26 +02:00
Island
8c3a3766da
Merge branch 'bugfix/att_buffer_count_fixed_v4.0' into 'release/v4.0'
...
Bugfix/att buffer count fixed v4.0
See merge request espressif/esp-idf!9159
2020-06-22 11:45:10 +08:00
Elvis Dukaj
26e280c824
ble_hid_device_demo: fix build if building with c++
...
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com >
Signed-off-by: liminyang <liminyang@example.com >
Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-18 15:49:11 +08:00
Angus Gratton
3c630c7905
Merge branch 'bugfix/efuse_logs_v4.0' into 'release/v4.0'
...
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code (v4.0)
See merge request espressif/esp-idf!9207
2020-06-18 15:15:57 +08:00
liminyang
35f5cbaed4
docs:perfect 128-bit UUID description
...
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-18 15:08:57 +08:00
wangcheng
b869e69c62
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-18 15:02:02 +08:00
wangcheng
12759b951c
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-18 15:01:24 +08:00
Wang Cheng
d875485f89
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-18 15:01:18 +08:00
Geng Yu Chao
ac2e34f611
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-18 15:01:13 +08:00
wangcheng
211e7bb4c2
components/bt: Add api to query the number of available buffers for the current connection
2020-06-18 15:01:05 +08:00
Island
47fa80f7fe
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.0' into 'release/v4.0'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.0)
See merge request espressif/esp-idf!9199
2020-06-18 13:45:17 +08:00
KonstantinKondrashov
4a6e793322
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization
...
After setting _GLOBAL_REENT, ESP_LOGIx can be used instead of ESP_EARLY_LOGx.
Closes: https://github.com/espressif/esp-idf/issues/5343
2020-06-17 16:30:11 +08:00
yuanjm
458ed4085d
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:32:59 +08:00
wangcheng
e781279110
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:20:53 +08:00
Jiang Jiang Jian
94d97499a3
Merge branch 'bugfix/wpa3_ble_coex_issue_4.0' into 'release/v4.0'
...
Fix WPA3 Auth timeout issue during BLE coex (Backport v4.0)
See merge request espressif/esp-idf!9140
2020-06-16 14:37:55 +08:00
Mahavir Jain
6778712be4
Merge branch 'bugfix/softap_prov_session_v4.0' into 'release/v4.0'
...
protocomm_httpd: Restart security session if request is received on a new session (v4.0)
See merge request espressif/esp-idf!9117
2020-06-16 12:33:15 +08:00
Nachiket Kukade
18d7f27f6c
esp_wifi: Update wifi lib
...
Fix WPA3 Auth timeout issue during BLE coex
2020-06-15 22:49:20 +08:00
Jiang Jiang Jian
e7ac221b42
Merge branch 'bugfix/authmode_degrade_fix_v4.0_1' into 'release/v4.0'
...
esp_wifi: Update wifi_lib pointer to correct branch
See merge request espressif/esp-idf!9126
2020-06-15 14:33:05 +08:00
Michael (XIAO Xufeng)
b58e777596
Merge branch 'bugfix/fix_dac_driver_self_contained' into 'release/v4.0'
...
driver(dac): fix dac header file self contained issue
See merge request espressif/esp-idf!8546
2020-06-15 12:15:32 +08:00
kapil.gupta
0265c63e6c
esp_wifi: Update wifi_lib pointer to correct branch
...
Correct wifi_lib pointer pointing to incorrect branch due to
auth_changed event MR.
2020-06-15 08:57:58 +05:30
Krzysztof Budzynski
4f29dfa969
Merge branch 'bugfix/doc_build_ut_cmdline_v4.0' into 'release/v4.0'
...
docs: Fixup format of a command line to build unit tests (backport v4.0)
See merge request espressif/esp-idf!9044
2020-06-15 02:43:02 +08:00
fuzhibo
8357318945
driver(dac): fix dac header file self contained issue
...
Closes https://github.com/espressif/esp-idf/issues/2560
2020-06-12 05:36:56 +00:00
Angus Gratton
83d6ab9b5f
msys2: Remove python version consideration in pacman commands
2020-06-12 10:24:29 +10:00
Angus Gratton
a972d3018c
windows: Update MSYS2 pre-compiled legacy build environment
...
* Bundled with esp2020r2 toolchain
* Built with Python 3 & latest MSYS2 packages
2020-06-12 10:24:29 +10:00
Angus Gratton
02a53166b6
Merge branch 'bugfix/parttool_get_info_wo_info_option_v4.0' into 'release/v4.0'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v4.0)
See merge request espressif/esp-idf!9064
2020-06-10 15:57:41 +08:00
Piyush Shah
f677655fcb
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-06-10 01:25:53 +05:30
aleks
6932b4d1c0
freemodbus: add comments for limitation in current version of freemodbus
2020-06-08 08:39:49 +02:00
David Čermák
ccdd06937f
Merge branch 'feature/pin_ethernet_task_to_core_v4.0' into 'release/v4.0'
...
ethernet: support pin emac task to core (v4.0)
See merge request espressif/esp-idf!9038
2020-06-08 13:47:07 +08:00
Michael (XIAO Xufeng)
f16a37d439
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.0' into 'release/v4.0'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v4.0)
See merge request espressif/esp-idf!9041
2020-06-08 13:25:58 +08:00
Jiang Jiang Jian
a864e3dcfe
Merge branch 'bugfix/authmode_degrade_fix_v4.0' into 'release/v4.0'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport 4.0)
See merge request espressif/esp-idf!8806
2020-06-08 11:22:10 +08:00
Michael (XIAO Xufeng)
ef8613b7f7
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.0' into 'release/v4.0'
...
sdmmc: Correctly check function parameters before using them (4.0)
See merge request espressif/esp-idf!9056
2020-06-08 10:24:59 +08:00
kapil.gupta
d008eba708
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-07 10:55:02 +05:30
Mahavir Jain
b76773d943
Merge branch 'bugfix/httpd_lru_purge_v4.0' into 'release/v4.0'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v4.0)
See merge request espressif/esp-idf!8833
2020-06-05 18:38:33 +08:00
Piyush Shah
ad95174a7a
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-06-05 09:24:06 +00:00
Jiang Jiang Jian
1ad7e276d9
Merge branch 'workaround/wps_iot_fixes_v4.0' into 'release/v4.0'
...
wpa_supplicant: WPS Inter operatability Fixes( backport v4.0)
See merge request espressif/esp-idf!8951
2020-06-05 13:50:27 +08:00
Angus Gratton
2f51b520c6
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.0' into 'release/v4.0'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.0)
See merge request espressif/esp-idf!9014
2020-06-04 18:24:07 +08:00
Angus Gratton
84d6d48fe0
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Closes https://github.com/espressif/esp-idf/issues/5321
2020-06-04 18:32:58 +10:00
KonstantinKondrashov
51bb86f0a6
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-06-04 16:31:26 +08:00
Alexander Borsuk
7eaea6c726
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:01:59 +08:00
kapil.gupta
9746fa569c
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-06-03 13:33:49 +00:00
Nachiket Kukade
40385ea454
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-06-03 13:33:49 +00:00
morris
d96d68ea38
ethernet: support pin emac task to core
2020-06-03 19:54:22 +08:00
Island
9718338984
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.0' into 'release/v4.0'
...
ble_mesh: Remove relay option dependency (v4.0)
See merge request espressif/esp-idf!9027
2020-06-03 15:20:51 +08:00
Island
5a61c4c24c
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh example nvs store (v4.0)
See merge request espressif/esp-idf!9017
2020-06-03 15:12:17 +08:00
Island
ceffc0837e
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh model recv fix (v4.0)
See merge request espressif/esp-idf!9008
2020-06-03 15:11:32 +08:00
Island
ece24128da
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.0' into 'release/v4.0'
...
ble_mesh: Rework prov pdu length check (v4.0)
See merge request espressif/esp-idf!9004
2020-06-03 15:10:52 +08:00
Anton Maklakov
7d6bcf5f5e
docs: Fixup format of a command line to build unit tests
2020-06-03 12:17:36 +07:00
xiongyu
f75088d40d
bugfix(uart): fix esp32 uart fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-03 12:29:06 +08:00
lly
19f69333f7
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:18:52 +08:00
Jiang Jiang Jian
695ad84654
Merge branch 'bugfix/fix_some_wifi_bugs_0522_v4.0' into 'release/v4.0'
...
feature: optimize some wifi API (backport v4.0)
See merge request espressif/esp-idf!8878
2020-06-02 17:39:15 +08:00
lly
1636c2ba6b
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-02 14:04:37 +08:00
lly
db2376bb09
ble_mesh: Add mesh example common nvs operations
2020-06-02 14:04:36 +08:00
lly
b55020ad80
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-06-02 14:04:35 +08:00
lly
1ac6d48fcf
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:04:35 +08:00
lly
268f5ad6c6
ble_mesh: Optimize some send & recv logs
2020-06-02 14:04:34 +08:00
Island
1ab23bfd3d
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh local model sub (v4.0)
See merge request espressif/esp-idf!8984
2020-06-02 10:58:40 +08:00
lly
205425b86b
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:32:25 +08:00
lly
c2589b0b57
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:32:24 +08:00
lly
f990d725f4
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-02 10:32:23 +08:00
lly
073b8daa6e
ble_mesh: Rework prov pdu length check
2020-06-02 10:14:50 +08:00
Angus Gratton
6a844f3737
Merge branch 'bugfix/kconfig_hex_values_v4.0' into 'release/v4.0'
...
kconfig: Fix two cases of hex values being handled incorrectly (v4.0)
See merge request espressif/esp-idf!8788
2020-06-01 14:48:16 +08:00
ronghulin
b571992626
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. Add API esp_wifi_ap_get_sta_aid
2020-06-01 11:07:49 +08:00
lly
cd40f3ad52
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:11:27 +08:00
lly
11cfb44e58
ble_mesh: Define a macro for invalid company id
2020-06-01 09:11:26 +08:00
Jiang Jiang Jian
c00fe4c53c
Merge branch 'bugfix/wpa3_auth_coex_issue_v4.0' into 'release/v4.0'
...
Fix WPA3 Auth issue in coex scenario (backport v4.0)
See merge request espressif/esp-idf!8838
2020-05-29 18:05:43 +08:00
He Yin Ling
64114efdaf
Merge branch 'bugfix/ci_push_to_github_on_label_v4.0' into 'release/v4.0'
...
ci: Don't push to Github or deploy docs on customized pipelines (v4.0)
See merge request espressif/esp-idf!8938
2020-05-29 14:04:26 +08:00
Jiang Jiang Jian
569575b404
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v4.0' into 'release/v4.0'
...
flash: fix spi flash clock config error (backport v4.0)
See merge request espressif/esp-idf!8515
2020-05-29 12:46:04 +08:00
Angus Gratton
2f15eacdeb
Merge branch 'bugfix/heap_psram_fill_v4.0' into 'release/v4.0'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v4.0)
See merge request espressif/esp-idf!8491
2020-05-29 12:43:45 +08:00
Jiang Jiang Jian
193e9c0d5a
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_4.0' into 'release/v4.0'
...
lw-ip:add so linger to menuconfig for 4.0(backport4.0)
See merge request espressif/esp-idf!8759
2020-05-29 11:15:26 +08:00
Jiang Jiang Jian
5c2ed3af0e
Merge branch 'bugfix/fix_memleak_in_wpa3_feature_v4.0' into 'release/v4.0'
...
fix(wpa_supplicant): fix memleak in wpa3 feature (backport v4.0)
See merge request espressif/esp-idf!8655
2020-05-29 11:14:36 +08:00
Jiang Jiang Jian
6b5c89b684
Merge branch 'bugfix/ble_mesh_check_timer_init_v4.0' into 'release/v4.0'
...
ble_mesh: Check the result of creating timer (v4.0)
See merge request espressif/esp-idf!8959
2020-05-28 15:27:21 +08:00
Jiang Jiang Jian
a5ffd527ab
Merge branch 'nimble/update_nimble_submodule_v4.0' into 'release/v4.0'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
See merge request espressif/esp-idf!8795
2020-05-28 15:24:45 +08:00
lly
792605e8fd
ble_mesh: Check the result of creating timer
2020-05-28 10:27:25 +08:00
Island
59e11421bf
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh sync zephyr fixes (v4.0)
See merge request espressif/esp-idf!8949
2020-05-28 10:16:52 +08:00
Island
a90e8d67e9
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v4.0' into 'release/v4.0'
...
ble_mesh: Not using pre-initialized private key (v4.0)
See merge request espressif/esp-idf!8946
2020-05-28 10:14:45 +08:00
Island
a192095a5e
Merge branch 'bugfix/ble_mesh_comp_data_store_restore_v4.0' into 'release/v4.0'
...
ble_mesh: Same func for storing/restoring comp data (v4.0)
See merge request espressif/esp-idf!8943
2020-05-28 10:13:44 +08:00
Nachiket Kukade
9e21c09a11
esp_wifi: Update wifi lib
...
Fix WPA3 Auth issue in coex scenario
2020-05-27 19:44:39 +05:30
lly
63c83730c2
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-27 17:45:55 +08:00
lly
f781c6edac
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-27 17:45:49 +08:00
lly
7078065980
ble_mesh: Not using pre-initialized private key
2020-05-27 17:39:35 +08:00
lly
a8afd951dc
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:31:01 +08:00
Island
652e5352ee
Merge branch 'bugfix/ble_mesh_uses_deprecated_config_v4.0' into 'release/v4.0'
...
ble_mesh: Fix using old config for duplicate scan (v4.0)
See merge request espressif/esp-idf!8901
2020-05-27 17:24:26 +08:00
Angus Gratton
2ea5f522f3
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-27 19:06:30 +10:00
Jiang Jiang Jian
20c34cac2d
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v4.0' into 'release/v4.0'
...
Bugfix/fix some wifi bugs 0427 (v4.0)
See merge request espressif/esp-idf!8571
2020-05-27 14:45:04 +08:00
chenjianqiang
e0a70b0675
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-05-27 04:38:40 +00:00
Angus Gratton
90eccf7cba
Merge branch 'ci/test_jobs_v4.0' into 'release/v4.0'
...
ci: Increase target test runnner count
See merge request espressif/esp-idf!8930
2020-05-27 10:10:12 +08:00
Angus Gratton
d1107a5234
ci: Increase target test runnner count
2020-05-27 11:17:52 +10:00
Angus Gratton
43c32f878a
Merge branch 'bugfix/ci_partition_table_detection_v4.0' into 'release/v4.0'
...
CI: Fix partition table detection if "partition" is in the project name (v4.0)
See merge request espressif/esp-idf!8432
2020-05-27 07:51:54 +08:00
Angus Gratton
6059992efd
Merge branch 'feature/ldgen_output_determinism_v4.0' into 'release/v4.0'
...
ldgen: determinism in mapping rule order (v4.0)
See merge request espressif/esp-idf!8663
2020-05-27 07:50:11 +08:00
Angus Gratton
90f6c9652e
Merge branch 'doc/openocd_security_features_v4.0' into 'release/v4.0'
...
doc: Add caveats about using JTAG debugging with hardware security features (v4.0)
See merge request espressif/esp-idf!8464
2020-05-27 07:49:44 +08:00
Angus Gratton
fa527dc6b3
Merge branch 'bugfix/make_to_cmake_msys_py3_v4.0' into 'release/v4.0'
...
tools: Make Unicode from subprocess result in the CMake convert script (v4.0)
See merge request espressif/esp-idf!8544
2020-05-27 07:49:34 +08:00
Angus Gratton
e93405c3a7
Merge branch 'bugfix/heap_trace_invalid_addr_v4.0' into 'release/v4.0'
...
heap: fix backtrace termination (v4.0)
See merge request espressif/esp-idf!8420
2020-05-27 07:49:01 +08:00
Angus Gratton
1d7765eeea
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci (v4.0)
See merge request espressif/esp-idf!8457
2020-05-27 07:48:43 +08:00
Mahavir Jain
798cc4deb7
Merge branch 'bugfix/pthread_tcb_cleanup_wrapper_v4.0' into 'release/v4.0'
...
Fix linking for vPortCleanUpTCB wrapper (v4.0)
See merge request espressif/esp-idf!8702
2020-05-26 11:48:42 +08:00
Mahavir Jain
254967eea5
Merge branch 'bugfix/wifi_prov_not_stopping_v4.0' into 'release/v4.0'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v4.0)
See merge request espressif/esp-idf!8608
2020-05-26 11:48:15 +08:00
Angus Gratton
457e1160bc
Merge branch 'task/update_idf_version_v401' into 'release/v4.0'
...
version: Update to v4.0.1
See merge request espressif/esp-idf!8887
2020-05-26 07:38:09 +08:00
David Čermák
d6a2f9841d
Merge branch 'feature/config_mqtt_task_prio_v4.0' into 'release/v4.0'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v4.0)
See merge request espressif/esp-idf!8473
2020-05-26 03:37:13 +08:00
David Čermák
d9f4cb89a4
Merge branch 'bugfix/ws_client_fragmented_send_v4.0' into 'release/v4.0'
...
ws_client: fix fragmented send setting proper opcodes (v4.0)
See merge request espressif/esp-idf!8691
2020-05-25 17:19:42 +08:00
David Čermák
76d79dff7c
Merge branch 'bugfix/ipv6_examples_4.0' into 'release/v4.0'
...
socket-examples: IPv6 related update for examples to set correct scoped id (v4.0)
See merge request espressif/esp-idf!8582
2020-05-25 17:18:59 +08:00
lly
9d5ea68c61
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:54:03 +08:00
Michael (XIAO Xufeng)
1ab129891a
Merge branch 'bugfix/erase_with_vtaskdelay_v4.0' into 'release/v4.0'
...
spi_flash: Add vTaskDelay while a long erasing (v4.0)
See merge request espressif/esp-idf!8599
2020-05-25 14:29:26 +08:00
Angus Gratton
a748457a70
version: Update to v4.0.1
2020-05-25 14:05:55 +10:00
xueyunfei
15916dfbec
add LINGER to menuconfig
2020-05-25 11:31:38 +08:00
Island
c18ffa8604
Merge branch 'example/ble_mesh_structural_adjust_v4.0' into 'release/v4.0'
...
Example/ble mesh structural adjust (v4.0)
See merge request espressif/esp-idf!8871
2020-05-22 19:14:58 +08:00
Island
57932baef3
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub_v4.0' into 'release/v4.0'
...
ble_mesh: Fix Provisioner failed to publish (v4.0)
See merge request espressif/esp-idf!8874
2020-05-22 19:14:26 +08:00
Island
4c5fd2be70
Merge branch 'bugfix/ble_mesh_friend_init_flag_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh friend init flag (v4.0)
See merge request espressif/esp-idf!8869
2020-05-22 19:13:42 +08:00
Island
7a60ae4bc8
Merge branch 'bugfix/ble_mesh_remove_patch_v4.0' into 'release/v4.0'
...
ble_mesh: Remove patch for the bug of an App (v4.0)
See merge request espressif/esp-idf!8868
2020-05-22 19:13:24 +08:00
Island
7f049cd5dc
Merge branch 'bugfix/ble_mesh_fix_typos_v4.0' into 'release/v4.0'
...
ble_mesh: Fix typos (v4.0)
See merge request espressif/esp-idf!8867
2020-05-22 19:13:05 +08:00
lly
699270e09e
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:48:49 +08:00
lly
59187b0921
ble_mesh: Fix tutorial links in examples README.md
2020-05-22 14:30:12 +08:00
lly
ec6ebf7d4e
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-22 14:30:05 +08:00
lly
bcc1eb916b
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-22 14:28:38 +08:00
lly
9891045018
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-22 14:22:39 +08:00
lly
009878f02d
ble_mesh: Move the example init to the common_components
2020-05-22 14:21:43 +08:00
David Cermak
ee51d336d3
mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
2020-05-22 06:21:25 +00:00
Simon Brélivet
d7310ae008
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-22 06:21:25 +00:00
lly
8bbee15932
ble_mesh: Move the button component to common_components
2020-05-22 14:20:56 +08:00
lly
d15735c71f
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-22 14:20:41 +08:00
lly
b63abd2069
ble_mesh: Rename common_vendor_models to common_components
...
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-22 14:20:21 +08:00
David Cermak
acf1478a51
socket-examples: IPv6 related update for examples to set correct scoped id
...
The scope id must be present when connecting to IPv6 Local Link
address.
2020-05-22 06:19:49 +00:00
David Cermak
55dd3c8b77
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-05-22 06:11:44 +00:00
David Čermák
7b01509b19
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user_v4.0' into 'release/v4.0'
...
Bugfix/stop mac can be controlled by user v4.0
See merge request espressif/esp-idf!8762
2020-05-22 14:07:48 +08:00
KonstantinKondrashov
754f59fba7
spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
9926b875d8
spi_flash(LEGACY_IMPL): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
79831e64fd
spi_flash: Add into sim/stubs the esp_timer
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
a128eae7b8
spi_flash(new driver): Add vTaskDelay while a long erasing
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
98ac272a3f
spi_flash(LEGACY_IMPL): Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: https://github.com/espressif/esp-idf/issues/4916
Closes: IDFGH-261
2020-05-22 05:07:20 +00:00
lly
13167a7579
ble_mesh: Clear two more vars during proxy server deinit
2020-05-22 11:39:51 +08:00
lly
acf41f93a9
ble_mesh: Add missing sdkconfig.h
2020-05-22 11:39:51 +08:00
lly
470c959b04
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-22 11:39:50 +08:00
lly
dd7c98d6c2
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-22 11:39:49 +08:00
lly
90aa79fd2b
ble_mesh: Remove patch for the bug of an App
2020-05-22 11:37:30 +08:00
lly
97c1a4b5c6
ble_mesh: Fix typos
2020-05-22 11:34:07 +08:00
Island
5897354d7f
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v4.0' into 'release/v4.0'
...
Bugfix/sync zephyr bt mesh bugfix (v4.0)
See merge request espressif/esp-idf!8853
2020-05-22 10:50:39 +08:00
Island
6c99fdceb2
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v4.0' into 'release/v4.0'
...
ble_mesh: Fix mesh node device role restore (v4.0)
See merge request espressif/esp-idf!8854
2020-05-22 10:50:09 +08:00
Island
1340e600c2
Merge branch 'doc/ble_mesh_fix_v4.0' into 'release/v4.0'
...
ble_mesh: Doc miscellaneous fixes (v4.0)
See merge request espressif/esp-idf!8859
2020-05-22 10:49:39 +08:00
lly
cdd35648b7
ble_mesh: Doc miscellaneous fixes
...
- Update ble mesh architecture
2020-05-21 17:48:21 +08:00
Michael (XIAO Xufeng)
6fe46c1798
Merge branch 'bugfix/timer_group_intr_enable_v4.0' into 'release/v4.0'
...
Fix timer group intr enable (backport v4.0)
See merge request espressif/esp-idf!8530
2020-05-21 17:42:02 +08:00
lly
d2bcb5c7ff
ble_mesh: A specific fix for compile warning in idf4.0
...
Compared with the latest idf, idf4.0 defines BIT(nr) in
the "esp_bit_defs.h" without the pre-condition "#ifndef BIT",
which will cause compile warning when using mesh. So we
include the header file "soc/soc.h" in "mesh_util.h",
which can bypass the definition of "BIT" in "mesh_util.h"
when compiling.
2020-05-21 16:50:09 +08:00
lly
2ea69e6df5
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-21 15:26:50 +08:00
lly
b5bd1bf67e
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-21 15:22:21 +08:00
lly
8294055c65
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-21 15:22:21 +08:00
lly
11286e35a2
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-21 15:22:20 +08:00
lly
2c5b0a523a
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-21 15:22:19 +08:00
lly
8c6f6318c0
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-21 15:22:18 +08:00
lly
632d9739b5
ble_mesh: Optimize some mesh log output
2020-05-21 15:22:18 +08:00
lly
34cb56b7aa
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-21 15:22:17 +08:00
lly
7c12074801
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-21 15:22:16 +08:00
lly
4b21a34675
ble_mesh: Split mesh os related into a separate file
2020-05-21 15:22:13 +08:00
lly
ac51ec11ec
ble_mesh: Split mesh mutex into a separate file
2020-05-21 15:19:52 +08:00
lly
7db10be193
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-21 15:19:51 +08:00
lly
fde075aec2
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-21 15:19:51 +08:00
lly
cbd2bcfbd2
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-21 15:19:50 +08:00
lly
5c5621790a
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-21 15:19:49 +08:00
lly
fbdb7ff665
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-21 15:19:49 +08:00
lly
bbfaaa2044
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-21 15:19:48 +08:00
lly
ad14507e3f
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-21 15:19:47 +08:00
lly
c9d1255ce4
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-21 15:19:46 +08:00
lly
25569cd9de
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-21 15:19:46 +08:00
lly
416e8958fa
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-21 15:19:45 +08:00
lly
cde1592bf3
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-21 15:19:44 +08:00
lly
0af05fdee1
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-21 15:19:44 +08:00
lly
4536a485be
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-21 15:19:43 +08:00
lly
e7d37f2d1a
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-21 15:19:42 +08:00
lly
fd17ff2f0b
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-21 15:19:41 +08:00
lly
e322c5950b
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-21 15:19:41 +08:00
lly
1f96a6f35d
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-21 15:19:40 +08:00
lly
4fddf1156b
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-21 15:19:39 +08:00
lly
833483bb22
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-21 15:19:39 +08:00
lly
3d4948664b
ble_mesh: Check device uuid when init provisioning
2020-05-21 15:19:38 +08:00
lly
203f871420
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-21 15:19:37 +08:00
lly
2c6a3f9e5b
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-21 15:19:36 +08:00
lly
2b6131b5f4
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-21 15:19:36 +08:00
Island
793d2b11f1
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov_v4.0' into 'release/v4.0'
...
ble_mesh: Not ignore msg when fast prov is enabled (v4.0)
See merge request espressif/esp-idf!8711
2020-05-21 15:16:08 +08:00
Island
bbc95d981c
Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci_v4.0' into 'release/v4.0'
...
ble_mesh: Add bluedroid and nimble example configurations (v4.0)
See merge request espressif/esp-idf!8499
2020-05-21 15:14:45 +08:00
Island
471171cb32
Merge branch 'feat/ble_mesh_sensor_model_example_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh sensor model examples (v4.0)
See merge request espressif/esp-idf!8508
2020-05-21 15:14:22 +08:00
Island
3b4ff12246
Merge branch 'bugfix/ble_mesh_compile_error_o2_v4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v4.0)
See merge request espressif/esp-idf!8617
2020-05-21 15:13:56 +08:00
Island
351dba9272
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v4.0' into 'release/v4.0'
...
ble_mesh: Check if appkey exist before deleting it (v4.0)
See merge request espressif/esp-idf!8620
2020-05-21 15:13:31 +08:00
Island
7b6236c2d9
Merge branch 'bugfix/ble_mesh_node_reset_erase_v4.0' into 'release/v4.0'
...
ble_mesh: Fix node not erase info completely (v4.0)
See merge request espressif/esp-idf!8623
2020-05-21 15:12:21 +08:00
Michael (XIAO Xufeng)
1ce4c20115
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v4.0' into 'release/v4.0'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
See merge request espressif/esp-idf!7996
2020-05-21 11:39:39 +08:00
lly
3e885dc73b
ble_mesh: Add bluedroid and nimble example configurations
2020-05-20 11:25:07 +00:00
lly
c85d7dfd5a
ble_mesh: Add ble mesh sensor model examples
2020-05-20 10:51:55 +00:00
lly
9a654ec590
ble_mesh: Add some common macros for sensor model
2020-05-20 10:51:55 +00:00
lly
193828f121
ble_mesh: Allow empty sensor series column value
2020-05-20 10:51:55 +00:00
lly
fab2dcb790
ble_mesh: Check if same sensor (settings) property id exists
2020-05-20 10:51:55 +00:00
lly
d3619d0b45
ble_mesh: Allow empty sensor settings exist
2020-05-20 10:51:55 +00:00
Prasad Alatkar
5af06f49f5
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:19:55 +05:30
zhangyanjiao
e430860df3
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the timeout issue of EAPOL four-way handshake
5. fix the crash issue when fetch peer after delete the cur_peer
2020-05-20 18:13:07 +08:00
Angus Gratton
4c81978a3e
Merge branch 'bugfix/doc_version_links_v4.0' into 'release/v4.0'
...
doc: Fix broken Release page links when building a stable version (v4.0)
See merge request espressif/esp-idf!8821
2020-05-20 13:17:23 +08:00
xiehang
ddc2427385
esp_wifi:Add softap example channel configuration
2020-05-20 10:59:04 +08:00
Angus Gratton
6153026f22
doc: Fix broken Release page links when building a stable version
2020-05-20 11:32:53 +10:00
Angus Gratton
18abdd7cb0
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Angus Gratton
260fe847e2
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Jiang Jiang Jian
fc2199c5d6
Merge branch 'bugfix/wpa3_mixed_mode_authype_v4.0' into 'release/v4.0'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype (backport v4.0)
See merge request espressif/esp-idf!8768
2020-05-17 17:05:15 +08:00
Jiang Jiang Jian
4695eeddee
Merge branch 'bufix/fix_v4.0_bluedroid_bugs_mr' into 'release/v4.0'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 4.0)
See merge request espressif/esp-idf!8755
2020-05-16 19:53:15 +08:00
Piyush Shah
65d4596a36
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-15 13:50:47 +00:00
Nachiket Kukade
748720a466
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype
2020-05-15 14:58:07 +05:30
xueyunfei
8688bd0593
add LINGER to menuconfig
2020-05-15 17:18:50 +08:00
zhiweijian
6ee978c6aa
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 16:18:31 +08:00
wangcheng
d231b25bc4
fix bta_dm_deinit_cb crash
2020-05-15 16:16:26 +08:00
wangcheng
456c8bdbdf
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 16:16:26 +08:00
Jiang Jiang Jian
94917184be
Merge branch 'bugfix/wpa3_pmf_memleak_fix_v4.0' into 'release/v4.0'
...
WPA3 / PMF memory leak fixes (backport v4.0)
See merge request espressif/esp-idf!8677
2020-05-15 15:11:44 +08:00
morris
b13d96ae8b
ethernet: better control start/stop/uninstall/install
2020-05-14 22:12:42 +08:00
morris
496ab2a83f
ethernet: esp_eth_stop API should stop emac hardware
2020-05-14 22:10:37 +08:00
Angus Gratton
3c882991b5
Merge branch 'bugfix/ethernet_task_watchdog_timeout' into 'release/v4.0'
...
ethernet: fix potential task watch dog timeout (backport 4.0)
See merge request espressif/esp-idf!8743
2020-05-14 16:21:35 +08:00
Angus Gratton
4d35a99c12
Merge branch 'nimble/config_option_sdkconfig_rename_v4.0' into 'release/v4.0'
...
Add NimBLE config options in sdkconfig.rename (v4.0)
See merge request espressif/esp-idf!8736
2020-05-14 16:19:36 +08:00
morris
6442184dd8
ethernet: fix potential task watch dog timeout
2020-05-14 14:23:32 +08:00
Hrishikesh Dhayagude
02c47360f1
Add NimBLE config options in sdkconfig.rename
2020-05-14 11:31:53 +10:00
Nachiket Kukade
db5f01429f
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free theis
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 20:45:34 +05:30
Nachiket Kukade
b938846de6
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-13 20:35:56 +05:30
Jiang Jiang Jian
7d295e18bc
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v4.0)
See merge request espressif/esp-idf!8705
2020-05-13 19:58:22 +08:00
lly
b47111c708
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-13 10:09:50 +08:00
Jiang Jiang Jian
6a6de506b1
Merge branch 'bugfix/supplicant_general_fixes_40' into 'release/v4.0'
...
wpa_supplicant: Fix some memleaks and invalid memory access (backport v4.0)
See merge request espressif/esp-idf!8553
2020-05-12 20:17:51 +08:00
Jiang Jiang Jian
12a65aaac1
Merge branch 'bugfix/wep40_key_parsing_bug_v4.0' into 'release/v4.0'
...
wpa_supplicant: Add parsing support for WEP40 key(backport)
See merge request espressif/esp-idf!8684
2020-05-12 20:17:15 +08:00
Jiang Jiang Jian
6bfad8a47d
Merge branch 'fixbug/tcp_kill_state_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fixbug for tcp kill state assert(backport 4.0)
See merge request espressif/esp-idf!8451
2020-05-12 20:15:45 +08:00
xiehang
0863de4a69
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-12 17:20:48 +08:00
Shubham Kulkarni
db3a1110ec
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
2020-05-12 10:35:47 +05:30
kapil.gupta
398dc28a4e
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-05-11 11:23:10 +05:30
Renz Bagaporo
4011393920
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-05-08 21:10:19 +08:00
Zhang Jun Hao
a87df25d9e
fix(wpa_supplicant): fix memleak in wpa3 feature
2020-05-08 16:25:38 +08:00
lly
814108f9ac
ble_mesh: Add length check for some mesh operations
2020-05-07 09:18:15 +00:00
lly
baf0fb3576
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-07 09:18:15 +00:00
lly
a895bb157f
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-07 09:16:51 +00:00
Angus Gratton
b0f053d82d
Merge branch 'bugfix/get_started_export_profile_v4.0' into 'release/v4.0'
...
docs: remove suggestion about running export.sh from .profile script (backport v4.0)
See merge request espressif/esp-idf!8614
2020-05-07 12:07:05 +08:00
kapil.gupta
4242519894
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-06 11:06:51 +00:00
morris
b3c3b4e7f0
ethernet: not using latch register to check link
2020-05-06 17:28:18 +08:00
morris
f09c9b957c
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-05-06 17:28:18 +08:00
dowster
24c9f56d45
Fix typo with sigmadelta.h #ifdef
2020-05-06 17:28:18 +08:00
Angus Gratton
08bcb587ec
Merge branch 'fix/ci_example_test_prov_v4.0' into 'release/v4.0'
...
CI: Fix prov example test exception handle (v4.0)
See merge request espressif/esp-idf!8440
2020-05-06 16:59:20 +08:00
Jiang Jiang Jian
c5a8dc85b7
Merge branch 'feature/wpa3_pmf_pmk_caching_backport_v4.0' into 'release/v4.0'
...
WPA3, PMF & PMK caching support (backport v4.0)
See merge request espressif/esp-idf!8625
2020-05-06 15:41:05 +08:00
Shivani Tipnis
a7ca14b064
CI: Fix prov example test cryptography package version exception handling
2020-05-06 04:54:59 +00:00
Nachiket Kukade
4557c686b8
wpa_supplicant: Fix EAP Re-authentication issue
...
EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.
2020-05-06 10:21:45 +05:30
Nachiket Kukade
5e33a351f1
esp_wifi: Enable WPA3 & PMF by default
2020-05-06 10:21:41 +05:30
Nachiket Kukade
1fc54cfad8
Increase example cmake parallel jobs number
2020-05-06 10:21:29 +05:30
Nachiket Kukade
bc7a34b494
wpa_supplicant: Disable TLSv1.2 by default
...
Some Enterprise Authentication Servers do not support TLS v1.2.
Move this option to Menuconfig and disable by default.
2020-05-06 10:21:25 +05:30
Nachiket Kukade
ab81940982
esp_wifi: Additional changes for WPA3 & PMF testcases
...
Added WPA3 Testcases support for -
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
wifi lib includes fixes for below PMF Certification issues -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
2020-05-06 10:20:46 +05:30
Sagar Bijwe
6d6b7b09e8
wifi: Add PMF and WPA3 documentation
2020-05-06 10:20:40 +05:30
Nachiket Kukade
d36663b798
wpa_supplicant: Support WPA3 4-way handshake, add config option
...
1. Add changes in 4-way handshake path to allow SAE key mgmt.
2. Support for configuring WAP3 at init time, added Kconfig option.
3. Handle and propagate error conditions properly.
2020-05-06 10:20:35 +05:30
Nachiket Kukade
6b76228fcb
wpa_supplicant: Add SAE handshake support for WPA3-PSK
...
Under WPA3-Personal, SAE authentication is used to derive PMK
which is more secure and immune to offline dictionary attacks.
1. Add modules to generate SAE commit/confirm for the handshake
2. Add modules that build and parse SAE data in Auth frames
3. Add WPA3 association and key mgmt definitions
4. Invert y-bit while solving for ECC co-ordinate -
Once an X co-ordinate is obtained, solving for Y co-ordinate
using an elliptical curve equation results in 2 possible values,
Y and (P - Y), where p is the prime number. The co-ordinates are
used for deriving keys in SAE handshake. As par the 802.11 spec
if LSB of X is same as LSB of Y then Y is chosen, (P - Y) otherwise.
This is not what is implemented, so fix this behavior to obtain the
correct Y co-ordinate.
2020-05-06 10:20:26 +05:30
Sagar Bijwe
8f5f828ad6
wpa_supplicant: Adding SAE modules with testcase
...
This change ports SAE(Simultaneous Authentication of Equals)
feature from wpa_supplicant and makes it work with mbedtls
crypto APIs. Currently only group 19 is supported. A sample
SAE handshake is included in the testcase. Other minor
changes for DH groups are also included.
2020-05-06 10:20:22 +05:30
Nachiket Kukade
5c5ae96be2
Add encryption/decryption support for PMF
...
1. Add CCMP, AES crypto modules for unicast protected Mgmt frames
2. Add support for computing SHA256 MIC on Bcast Mgmt frames
3. Add support for storing iGTK during 4-way handshake.
4. Provide APIs to MLME for utilizing the SW crypto modules
2020-05-06 10:20:16 +05:30
Nachiket Kukade
1b7f3fee5c
Add support for PMF configuration and negotiation
...
1. Add APIs for configuring PMF through set config.
2. Map Supplicant and Wifi Cipher types.
3. Add support for PMF negotiation while generating RSN IE.
2020-05-06 10:20:11 +05:30
Hrudaynath Dhabe
b7dc47108f
wifi: Add code required to backport PMK Caching
2020-05-06 10:19:52 +05:30
liu zhifu
8cd210b38b
esp_wifi/supplicant: fix some WiFi stop memory leak
2020-05-06 10:15:51 +05:30
Hrudaynath Dhabe
19e840aa53
wpa_supplicant: Set assoc_ie_len based on generated RSN/WPA IE
2020-05-06 10:15:46 +05:30
Hrudaynath Dhabe
39acf9c4dd
wifi: Add PMK caching feature for station WPA2-enterprise
...
4. Pmksa cache expiry after dot11RSNAConfigPMKLifetime timeout.
2020-05-06 10:15:43 +05:30
Sagar Bijwe
2da4ffa2aa
wifi: Add PMK caching feature for station WPA2-enterprise
...
1) Added PMK caching module from wpa_supplicant.
2) Modified wpa_sm to
a) Add entry to PMK cache when first time associated to an AP.
b) Maintain entry across the associations.
c) Clear current PMKSA when deauth happens.
d) Search for an entry when re-associating to the same AP and
set it as current PMKSA
e) Wait for msg 1/4 from AP instead of starting EAP authentication.
f) Check PMKID in msg 1 with current PMKSA/cache.
g) Use the cached PMK to complete 4-way handshake.
3) Remove config_bss callback as it was redundant and used to cause
problems for PMK caching flow.
Closes IDF-969
2020-05-06 10:15:36 +05:30
lly
30c645d9c2
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:39:02 +08:00
Jiang Jiang Jian
b9fa6b0b1a
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v4.0' into 'release/v4.0'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v4.0)
See merge request espressif/esp-idf!8401
2020-05-06 11:16:24 +08:00
Island
5f71ec3640
Merge branch 'bugfix/ble_mesh_rpl_list_size_v4.0' into 'release/v4.0'
...
ble_mesh: Associate replay protection list size with nodes count (v4.0)
See merge request espressif/esp-idf!8495
2020-05-06 11:14:21 +08:00
Island
a44f473d4a
Merge branch 'doc/ble_mesh_fixes_v4.0' into 'release/v4.0'
...
doc: Fix some ble mesh description (v4.0)
See merge request espressif/esp-idf!8503
2020-05-06 11:12:57 +08:00
Island
beb64a1af4
Merge branch 'bugfix/ble_mesh_add_missing_cpp_v4.0' into 'release/v4.0'
...
ble_mesh: Add missing #ifdef __cplusplus (v4.0)
See merge request espressif/esp-idf!8506
2020-05-06 11:12:25 +08:00
Island
7b8356ee2f
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v4.0' into 'release/v4.0'
...
ble_mesh: Fix time scene wrong macro name (v4.0)
See merge request espressif/esp-idf!8511
2020-05-06 11:11:00 +08:00
Ivan Grokhotkov
7fbfb1aa03
docs: remove suggestion about running export.sh from .profile script
...
This was quite obviously a bad suggestion, and it seems that some
users have actually read the docs attentively enough to have followed
it. Replace be recommendation to create an alias.
Closes https://github.com/espressif/esp-idf/issues/3889
2020-05-05 21:39:30 +02:00
Angus Gratton
02b5db37d1
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-04-30 15:36:04 +10:00
Roland Dobai
7f4b651434
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-28 15:22:27 +02:00
lly
b97d4c617b
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:26:23 +08:00
lly
765bd76ba3
ble_mesh: Add missing #ifdef __cplusplus
2020-04-27 15:34:14 +08:00
lly
9370264cac
doc: Fix some ble mesh description
2020-04-27 15:25:46 +08:00
Angus Gratton
07c1d9d9c7
doc: Add warnings about using JTAG debugging with hardware security features
...
This is related to the following issues but is not a fix, just documentation of a workaround until we can
improve the support:
https://github.com/espressif/esp-idf/issues/4878
https://github.com/espressif/esp-idf/issues/4734
2020-04-27 16:41:16 +10:00
lly
8bfa01cc28
ble_mesh: Fix client local parameters not initialized
2020-04-27 14:39:40 +08:00
lly
90a9444696
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-27 14:39:40 +08:00
lly
b9fd2673a7
ble_mesh: Remove some redundant functions
2020-04-27 14:39:39 +08:00
lly
7595116353
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-27 14:39:38 +08:00
lly
9aae0f2dee
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-27 14:39:38 +08:00
lly
f137546a4b
ble_mesh: Update next alloc address when node info is added
2020-04-27 14:39:37 +08:00
lly
388043c203
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-27 14:39:37 +08:00
lly
c496fa79de
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-27 14:39:36 +08:00
lly
2af16b92e5
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-27 14:39:35 +08:00
Angus Gratton
8c98f6bdaf
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:34:31 +10:00
Roland Dobai
c4af9d3e24
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-23 16:54:33 +02:00
xueyunfei
27da86fb6e
fixbug for tcp kill state assert
2020-04-23 16:04:33 +08:00
Roland Dobai
2d13bfb8fa
CI: Fix partition table detection if "partition" is in the project name
2020-04-22 10:05:18 +02:00
Ivan Grokhotkov
81f0744ada
test: add a (non-automated) case for backtraces with ROM functions
2020-04-21 11:49:15 +02:00
Ivan Grokhotkov
c3ae910529
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-04-21 11:48:43 +02:00
Krzysztof Budzynski
c955b7d133
Merge branch 'docs/backport_6147' into 'release/v4.0'
...
backport changes in 6147
See merge request espressif/esp-idf!8101
2020-04-21 14:34:21 +08:00
liying
4131b51c16
Backport changes made in 6147 to release/4.0
2020-04-20 21:47:26 +08:00
Angus Gratton
1de273a901
Merge branch 'bugfix/error_on_building_in_idf_path_v4.0' into 'release/v4.0'
...
cmake: Error out when building in IDF_PATH dir (v4.0)
See merge request espressif/esp-idf!8298
2020-04-20 15:04:25 +08:00
zhangyanjiao
2139d40f5e
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 11:18:07 +08:00
Jiang Jiang Jian
44d653adff
Merge branch 'bugfix/btdm_backports_v4.0_0328' into 'release/v4.0'
...
Bugfix/btdm backports v4.0 0328
See merge request espressif/esp-idf!8151
2020-04-16 22:01:39 +08:00
Jiang Jiang Jian
41eabbefd6
Merge branch 'bugfix/coredump_no_ext_stacks_v4.0' into 'release/v4.0'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.0)
See merge request espressif/esp-idf!8229
2020-04-16 15:24:21 +08:00
Jiang Jiang Jian
8972461611
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled. (v4.0)
See merge request espressif/esp-idf!8357
2020-04-16 15:23:03 +08:00
Angus Gratton
0e6bbdf683
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v4.0' into 'release/v4.0'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v4.0)
See merge request espressif/esp-idf!8367
2020-04-16 14:32:22 +08:00
Angus Gratton
778ebb4dba
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut_v4.0' into 'release/v4.0'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG* (v4.0)
See merge request espressif/esp-idf!8361
2020-04-16 14:29:39 +08:00
Angus Gratton
f87df26cf4
Merge branch 'bugfix/transport_connection_active_v4.0' into 'release/v4.0'
...
fix(transport): Fix a bug of the connection whether be active (v4.0)
See merge request espressif/esp-idf!7743
2020-04-16 14:05:24 +08:00
Marius Vikhammer
93b8fcf664
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:13:21 +08:00
KonstantinKondrashov
a78772bbc6
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:06:43 +08:00
KonstantinKondrashov
1490256968
efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 20:52:50 +08:00
Sagar Bijwe
5209dff76b
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-15 15:34:35 +05:30
Liu Han
b7f163530b
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2020-04-15 09:49:03 +00:00
Angus Gratton
a2d0fb348b
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v4.0' into 'release/v4.0'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v4.0)
See merge request espressif/esp-idf!7932
2020-04-15 16:09:59 +08:00
Jiang Jiang Jian
fe67bedee2
Merge branch 'nimble/fix_ble_hs_reset_v4.0' into 'release/v4.0'
...
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
See merge request espressif/esp-idf!8218
2020-04-15 13:26:18 +08:00
Jiang Jiang Jian
85b27d3b03
Merge branch 'bugfix/psram_single_bit_error_v4.0' into 'release/v4.0'
...
psram: support psram 2T mode to fix single bit error (backport v4.0)
See merge request espressif/esp-idf!8328
2020-04-15 13:26:02 +08:00
Jiang Jiang Jian
cb466be9d9
Merge branch 'bugfix/fix_supplicant_tlsv12_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues (v4.0)
See merge request espressif/esp-idf!8204
2020-04-15 13:06:49 +08:00
Sagar Bijwe
64061541f0
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-04-13 16:24:26 +00:00
Krzysztof Budzynski
6825d8e0be
Merge branch 'bugfix/uart_echo_readme_v4.0' into 'release/v4.0'
...
example: Remove duplicate commands and invalid serial port information (v4.0)
See merge request espressif/esp-idf!8336
2020-04-13 23:13:01 +08:00
Jiang Jiang Jian
c4fe416f33
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v4.0' into 'release/v4.0'
...
Bugfix/backport some wifi bugs 0326 (backport v4.0)
See merge request espressif/esp-idf!8309
2020-04-13 22:38:39 +08:00
Roland Dobai
14c978b54f
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-13 15:26:22 +02:00
chenjianqiang
a6b08cb025
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 14:52:33 +08:00
Jiang Jiang Jian
acdba0eb46
Merge branch 'feat/ble_mesh_ble_adv_simultaneously_v4.0' into 'release/v4.0'
...
ble_mesh: Support BLE advertising simultaneously (v4.0)
See merge request espressif/esp-idf!8316
2020-04-10 21:07:42 +08:00
lly
3b5eb3caf5
ble_mesh: Support BLE advertising simultaneously
2020-04-10 17:36:44 +08:00
Island
967e66bdf6
Merge branch 'bugfix/ble_mesh_add_test_function_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh white list test function (v4.0)
See merge request espressif/esp-idf!8159
2020-04-10 17:29:07 +08:00
liu zhifu
0b4e1ecdec
esp_wifi: backport some WiFi bugs
...
1. Fix WiFi log print level
2. Optimize WiFi/BT coexist sleep
- If any data tx/rx in WiFi slice, fore wakeup next TBTT
- Increase active timeout time to coex TBTT interval to avoid sleep in WiFi slice
3. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
4. Fix esp_wifi_stop() leads to memory leak
5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 11:18:44 +08:00
Angus Gratton
fd58809899
Merge branch 'bugfix/esp_event_bugfixes_v4.0' into 'release/v4.0'
...
esp_event-related fixes (v4.0)
See merge request espressif/esp-idf!8072
2020-04-09 22:11:16 +08:00
Ivan Grokhotkov
ed3ea95cc2
Merge branch 'bugfix/IDFGH-2910_v4.0' into 'release/v4.0'
...
NVS: bugfix - iterator skipping version 1 blobs (v4.0)
See merge request espressif/esp-idf!8193
2020-04-09 05:45:21 +08:00
Renz Bagaporo
3ba480ba53
cmake: error out on building in IDF_PATH root dir
2020-04-08 19:56:57 +08:00
Michael (XIAO Xufeng)
2628f3ebbd
Merge branch 'bugfix/cpp_extern_v4.0' into 'release/v4.0'
...
Add extern C header guards to some files (backport v4.0)
See merge request espressif/esp-idf!8225
2020-04-07 15:39:48 +08:00
Prasad Alatkar
0fc72b58e1
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
2020-04-07 10:41:35 +05:30
Mahavir Jain
cfb331e71b
Merge branch 'bugfix/size_calculation_in_ota_v4.0' into 'release/v4.0'
...
Fix size calculation to erase partition range for OTA image (v4.0)
See merge request espressif/esp-idf!8267
2020-04-06 18:04:11 +08:00
Shubham Kulkarni
d74995736c
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:39:51 +05:30
Ivan Grokhotkov
c8a05bae78
Merge branch 'bugfix/nvs_no_throw' into 'release/v4.0'
...
NVS: Changed all new to new (nothrow) (backport v4.0)
See merge request espressif/esp-idf!7847
2020-04-03 16:38:01 +08:00
Michael (XIAO Xufeng)
127fa7094a
Merge branch 'bugfix/gpio_pin_bit_mask_truncation_v4.0' into 'release/v4.0'
...
driver: fix gpio pin_bit_mask truncation in sdspi_host and others (backport v4.0)
See merge request espressif/esp-idf!8227
2020-04-03 13:28:30 +08:00
Ivan Grokhotkov
ccc6363a21
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-04-02 23:44:47 +02:00
Ivan Grokhotkov
8ffb38265c
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2020-04-02 23:38:17 +02:00
boarchuz
17bd6e8fab
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2020-04-02 23:36:14 +02:00
Ivan Grokhotkov
192c20c9f7
clk.h: add extern C guards
...
Closes https://github.com/espressif/esp-idf/issues/4215
2020-04-02 23:22:41 +02:00
Gabriel Durante
c7ac9a296d
Added Cpp compatibility for components/spi_flash/include/esp_flash_spi_init.h
...
Merges https://github.com/espressif/esp-idf/pull/4260
2020-04-02 23:22:10 +02:00
Island
50073a7e61
Merge branch 'nimble/misc_host_flow_ctrl_changes_v4.0' into 'release/v4.0'
...
NimBLE: Misc fixes in NimBLE host (backport v4.0)
See merge request espressif/esp-idf!7949
2020-04-02 19:43:52 +08:00
Jiang Jiang Jian
f69f96edab
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v4.0' into 'release/v4.0'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v4.0)
See merge request espressif/esp-idf!8182
2020-04-01 17:56:05 +08:00
Mahavir Jain
2ee765ffaf
Merge branch 'bugfix/secure_boot_ecdsa_config_v4.0' into 'release/v4.0'
...
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
See merge request espressif/esp-idf!8196
2020-04-01 16:42:47 +08:00
Jakob Hasse
3ed127709e
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-04-01 15:17:14 +08:00
Angus Gratton
02c5c8d8ad
Merge branch 'backport/malloc_zero_return_null_v4.0' into 'release/v4.0'
...
backport/malloc_zero_return_null_v4.0
See merge request espressif/esp-idf!8145
2020-04-01 14:42:38 +08:00
Angus Gratton
bdfba3b88c
mbedtls: Make ECDHE-PSK config item depend on ECDHE
2020-04-01 16:43:03 +11:00
Angus Gratton
904b85e365
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
...
and all ECDSA to be disabled if secure boot is not enabled
Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).
To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.
Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
Closes https://github.com/espressif/esp-idf/issues/4758
2020-04-01 16:42:41 +11:00
Mahavir Jain
2cc9d28a35
Merge branch 'fix/wifi_provisioning_uuid_v4.0' into 'release/v4.0'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v4.0)
See merge request espressif/esp-idf!8163
2020-04-01 13:04:26 +08:00
xiewenxiang
50e83cf374
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 16:29:07 +08:00
Angus Gratton
a3f3c7bdc3
Merge branch 'bugfix/monitor_encrypted_target_v4.0' into 'release/v4.0'
...
tools: Fix flashing encrypted binaries from IDF Monitor (v4.0)
See merge request espressif/esp-idf!8128
2020-03-31 13:11:02 +08:00
Angus Gratton
0b822a9ec7
Merge branch 'bugfix/kconfiglib_open_encoding_v4.0' into 'release/v4.0'
...
tools: Avoid Unicode error in kconfiglib while opening files
See merge request espressif/esp-idf!8082
2020-03-31 11:52:16 +08:00
Prasad Alatkar
dfd197b4c5
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure (v4.0)
2020-03-30 11:22:48 +05:30
Prasad Alatkar
1e2ca78aac
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID (v4.0)
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-30 11:22:32 +05:30
lly
1d55af4bb2
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-30 11:03:00 +08:00
baohongde
b2a3a9041d
components/coex: Fix wakeup delay with DFS
2020-03-28 20:49:15 +08:00
baohongde
286d249239
components/bt: Fix assert when create conntion cancel
2020-03-28 20:44:43 +08:00
Felipe Neves
9d5d22c458
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:30:27 -03:00
Roland Dobai
13f4656d2a
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-27 10:31:37 +01:00
Jiang Jiang Jian
57a5a486ff
Merge branch 'feat/ble_mesh_vnd_model_example_v4.0' into 'release/v4.0'
...
Feat/ble mesh vnd model example (v4.0)
See merge request espressif/esp-idf!8002
2020-03-27 14:08:22 +08:00
Angus Gratton
363f55f618
Merge branch 'bugfix/cmake_bugfixes_v4.0' into 'release/v4.0'
...
CMake-related bugfixes (v4.0)
See merge request espressif/esp-idf!8066
2020-03-26 16:29:45 +08:00
Jiang Jiang Jian
fb14ab08c8
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v4.0' into 'release/v4.0'
...
esp_wifi: Backport some wifi bugs 0323 (backport v4.0)
See merge request espressif/esp-idf!8087
2020-03-25 15:01:44 +08:00
Jiang Jiang Jian
6ce172bcae
Merge branch 'optimization/TCPv6_connect_for_v4.0' into 'release/v4.0'
...
lw-ip:optimization TCPv6 connect for v4.0
See merge request espressif/esp-idf!8021
2020-03-24 15:25:47 +08:00
xiehang
d71ac521cf
esp_wifi: backport some wifi bugs 0323
...
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,coex adjust scheme when bt is connected status
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:10:31 +08:00
Mahavir Jain
921e56d0c3
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to release v2.16.5 (v4.0)
See merge request espressif/esp-idf!7987
2020-03-24 13:46:34 +08:00
Roland Dobai
e9fdc4c7b2
tools: Avoid Unicode error in kconfiglib while opening files
...
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib
included since IDF v4.1 doesn't have this issue.
Closes https://github.com/espressif/esp-idf/issues/4977
2020-03-23 11:36:10 +01:00
Renz Christian Bagaporo
aed56d4da9
esp_event: remove extra line from source file
2020-03-22 21:46:07 +08:00
Renz Christian Bagaporo
39e8e2003a
esp_event: test that handlers can unregister themselves
2020-03-22 21:45:58 +08:00
Renz Christian Bagaporo
b79062aeec
esp_event: iterate loop nodes safely as well
2020-03-22 21:45:50 +08:00
Xentec
66949e3b54
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2020-03-22 21:45:41 +08:00
Rusty Eddy
cb871f0472
Added semi-colon to esp_event_loop_create(...)
...
Title sums it up.
2020-03-22 21:45:26 +08:00
Renz Bagaporo
fbd12902eb
cmake: show error message on encrypted flash targets without proper config
2020-03-22 21:09:35 +08:00
Renz Christian Bagaporo
35839232c8
cmake: utility to create a failing target
2020-03-22 21:09:23 +08:00
Renz Bagaporo
14d6dad650
examples: split source files for one of the ulp examples
2020-03-22 21:09:14 +08:00
Renz Bagaporo
7bdb7ee235
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-22 21:09:03 +08:00
Renz Christian Bagaporo
0f036b8749
ulp: use quotes when specifying files for embedding ulp binaries
2020-03-22 21:07:58 +08:00
Renz Bagaporo
7663928e49
ci: add test for partition_table target
2020-03-22 21:04:13 +08:00
Renz Christian Bagaporo
365e6ce181
partition_table: output partition table info for partition_table target
2020-03-22 21:04:03 +08:00
He Yin Ling
7b8aa11e12
Merge branch 'bugfix/modify_ble_mesh_command_for_v4.0' into 'release/v4.0'
...
ble mesh: update ble mesh console example(backport v4.0)
See merge request espressif/esp-idf!8047
2020-03-22 18:35:15 +08:00
Chen Sheng
5cbb726028
ble mesh: update ble mesh console example(backport v4.0)
2020-03-22 18:35:12 +08:00
Jiang Jiang Jian
0e70b783ae
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.0' into 'release/v4.0'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.0
See merge request espressif/esp-idf!8024
2020-03-21 15:16:01 +08:00
xueyunfei
ac302329d1
optimization TCPv6 connect
2020-03-20 15:02:43 +08:00
Mahavir Jain
08f401b74e
Merge branch 'bugfix/advanced_https_ota_example_v4.0' into 'release/v4.0'
...
esp_https_ota in sync with v4.x (backport v4.0)
See merge request espressif/esp-idf!7153
2020-03-20 14:33:53 +08:00
xueyunfei
e1d78a218a
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:06:40 +08:00
Mahavir Jain
13e3e26065
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-18 11:49:23 +00:00
Sagar Bijwe
a8e0b9171b
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-03-18 11:49:23 +00:00
Shubham Kulkarni
402e97ea51
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
0bdd75a344
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
662b39fc1e
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
8785ac4c2a
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2020-03-18 08:19:56 +00:00
Mahavir Jain
6627ca40da
esp_http_client: fix issue where http parser was not invoking message_complete callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
465d517fbd
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
3bdebe2383
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
be08f6f2bb
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2020-03-18 08:19:56 +00:00
Angus Gratton
718af6ed07
Merge branch 'bugfix/ci_handle_retried_jobs_v4.0' into 'release/v4.0'
...
ci: add find job id argument job status (backport v4.0)
See merge request espressif/esp-idf!7954
2020-03-18 16:02:23 +08:00
Island
233349c235
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: Fix ble mesh nimble host deinit (v4.0)
See merge request espressif/esp-idf!8005
2020-03-18 12:31:54 +08:00
Jiang Jiang Jian
982e7b5538
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v4.0' into 'release/v4.0'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v4.0)
See merge request espressif/esp-idf!7757
2020-03-18 12:06:42 +08:00
houwenxiang
9eb7eceeec
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
2020-03-18 10:29:18 +08:00
lly
28a9cb5be1
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 16:22:26 +08:00
lly
47fc70df7f
ble_mesh: Add ESP BLE Mesh vendor models example
2020-03-17 16:01:50 +08:00
lly
be9725f8e7
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-03-17 16:01:45 +08:00
Jiang Jiang Jian
a8364af83d
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh miscellaneous fix (v4.0)
See merge request espressif/esp-idf!7970
2020-03-17 15:35:12 +08:00
Jiang Jiang Jian
75f6bc2de1
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v4.0' into 'release/v4.0'
...
Bugfix/compiler err when performance optimization enabled v4.0
See merge request espressif/esp-idf!7978
2020-03-17 13:53:54 +08:00
Jiang Jiang Jian
9866b4f17c
Merge branch 'bugfix/hfp_github_issues_v4.0' into 'release/v4.0'
...
Bugfix for HFP and some Github issue. v4.0
See merge request espressif/esp-idf!7976
2020-03-17 13:50:19 +08:00
Jiang Jiang Jian
8df1d1ffab
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v4.0' into 'release/v4.0'
...
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v4.0)
See merge request espressif/esp-idf!7777
2020-03-17 13:44:23 +08:00
Prasad Alatkar
5f7436006f
NimBLE: Add Host based privacy (RPA) feature support (v4.0)
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-16 07:33:07 +00:00
Prasad Alatkar
6ee1947822
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v4.0)
...
Closes BT-290 & BT-440
2020-03-16 07:33:07 +00:00
Hrishikesh Dhayagude
3aaf6a06dd
NimBLE: Use dynamic buffers instead of static memory (v4.0)
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-16 07:33:07 +00:00
Prasad Alatkar
3ee6dfa4d6
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v4.0)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-03-16 07:33:07 +00:00
weitianhua
b6415d9a91
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-14 14:45:57 +08:00
weitianhua
ce55956a8f
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:45:04 +08:00
weitianhua
7c2f1287ec
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-03-14 14:19:54 +08:00
lly
eee8bd4612
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:27:55 +08:00
lly
4dde86e45d
ble_mesh: Use the right netkey during iv update
2020-03-13 19:27:54 +08:00
lly
e6b4eb60ef
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:27:54 +08:00
lly
c5b2f693b8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:27:54 +08:00
lly
7cf29e0f3f
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:27:54 +08:00
lly
cb31c71877
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:27:54 +08:00
lly
50040e8e99
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:27:53 +08:00
lly
a364541193
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:27:53 +08:00
Mahavir Jain
fdbdf9a0ec
Merge branch 'bugfix/unicore_config_prevent_ipc_code_v4.0' into 'release/v4.0'
...
ipc: prevent code getting pulled in for unicore configuration (v4.0)
See merge request espressif/esp-idf!7943
2020-03-12 13:31:44 +08:00
He Yin Ling
0ad0507f88
ci: add find job id argument job status:
...
if we retry failed job, we will have 2 jobs with same name in one pipeline. we need to use status to find the retried job instead of failed job.
2020-03-12 09:59:31 +08:00
Jiang Jiang Jian
40bebcb39b
Merge branch 'bugfix/select_waiting_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for after udp close select_waiting assert for v4.0
See merge request espressif/esp-idf!7921
2020-03-11 21:11:23 +08:00
KonstantinKondrashov
1c12e67c8a
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:18:09 +08:00
xueyunfei
cf77068675
fix bug for after udp close select_waiting assert for v4.0
2020-03-11 10:04:32 +00:00
Michael (XIAO Xufeng)
68b4177f70
Merge branch 'bugfix/ledc_driver_enums_v4.0' into 'release/v4.0'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum (v4.0)
See merge request espressif/esp-idf!7910
2020-03-11 16:39:11 +08:00
Mahavir Jain
0cc802e6ab
ipc: prevent code getting pulled in for unicore configuration
2020-03-11 14:04:45 +05:30
KonstantinKondrashov
cb10ba5785
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-03-10 19:39:56 +08:00
Michael (XIAO Xufeng)
6023d60966
Merge branch 'bugfix/put_spihost_handle_in_sram_v4.0' into 'release/v4.0'
...
spi: always put spihost handle in SRAM (backport 4.0)
See merge request espressif/esp-idf!7902
2020-03-10 15:32:24 +08:00
Jiang Jiang Jian
2161d09079
Merge branch 'Bugfix/netconn_marked_close_crash_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for netconn marked close crash for v4.0
See merge request espressif/esp-idf!7897
2020-03-09 16:36:45 +08:00
Michael (XIAO Xufeng)
1b08b7c5fb
Merge branch 'bugfix/spiflash_read_psram_v4.0' into 'release/v4.0'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers (v4.0)
See merge request espressif/esp-idf!7878
2020-03-09 11:10:52 +08:00
xueyunfei
8ea128ded5
fix bug for netconn marked close crash for v4.0
2020-03-09 02:49:57 +00:00
Angus Gratton
c5a5b34ba4
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2020-03-09 11:32:18 +11:00
Angus Gratton
c38c3ff3f0
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-09 09:59:43 +11:00
Angus Gratton
376703bf05
Merge branch 'bugfix/cmake_convert_whitespace_v4.0' into 'release/v4.0'
...
cmake: Minor convert_to_cmake.py fixes (v4.0)
See merge request espressif/esp-idf!7876
2020-03-09 06:55:19 +08:00
Krzysztof Budzynski
3d887cfff7
Merge branch 'bugfix/docs_ulp_reg_rd_wr_instructions_v4.0' into 'release/v4.0'
...
Correct ULP REG_WR and REG_RD instruction for ESP32
See merge request espressif/esp-idf!7868
2020-03-06 19:09:44 +08:00
Krzysztof Budzynski
af5adbc18e
Correct ULP REG_WR and REG_RD instruction for ESP32
2020-03-06 19:09:43 +08:00
morris
bcedff5a12
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:39:14 +08:00
Jiang Jiang Jian
254b0e9693
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v4.0' into 'release/v4.0'
...
(backport v4.0) btController: events scheduling error in case of wifi and bluetooth.
See merge request espressif/esp-idf!7866
2020-03-05 20:37:51 +08:00
Angus Gratton
af4c6ac0f3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-05 17:11:26 +11:00
Angus Gratton
3d0ecfdc70
cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
...
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-05 17:06:38 +11:00
Angus Gratton
e85c4a65a4
cmake: convert_to_cmake: Fix possible whitespace issues
...
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453
split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-05 17:06:38 +11:00
Chinmay Chhajed
abab19ad4d
This MR is intended to fix Bluetooth event scheduling when WiFi is also
...
enabled. The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss(0x20000) (819979b9)
2020-03-04 20:30:37 +05:30
Jiang Jiang Jian
cfb6ac13c4
Merge branch 'bugfix/add_hostname_in_discover_packet_for_v4.0' into 'release/v4.0'
...
lw-ip:add host name in discover packet for v4.0
See merge request espressif/esp-idf!7841
2020-03-04 11:24:22 +08:00
xueyunfei
5bcdce8272
add host name in discover packet for v4.0
2020-03-03 12:18:57 +00:00
Jakob Hasse
d5d2d716f6
NVS: Changed all new to new (nothrow)
2020-03-03 17:08:28 +08:00
David Čermák
2a467d17bd
Merge branch 'bugfix/ws_rcv_exceed_buf_v4.0' into 'release/v4.0'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer (backport v4.0)
See merge request espressif/esp-idf!7755
2020-03-03 16:29:10 +08:00
Jiang Jiang Jian
e6a59ac038
Merge branch 'feat/ble_mesh_update_4.0' into 'release/v4.0'
...
Feat/ble mesh update 4.0
See merge request espressif/esp-idf!7799
2020-03-02 15:33:14 +08:00
Angus Gratton
a2af518069
Merge branch 'bugfix/ci_weekend_test_update_v4.0' into 'release/v4.0'
...
ci: a build_system_test(_cmake) fix and some mqtt fixes (backport v4.0)
See merge request espressif/esp-idf!7773
2020-03-02 12:43:34 +08:00
ronghulin
dc193cea49
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-03-02 12:03:32 +08:00
Jiang Jiang Jian
8eb263f9d1
Merge branch 'feature/esp32_5p0_backport_v4p0' into 'release/v4.0'
...
esp325p0 features support and code optimize changes to release/v4.0(backport v4.0)
See merge request espressif/esp-idf!7563
2020-03-02 11:27:50 +08:00
Krzysztof Budzynski
5b402f8081
Merge branch 'bugfix/doc_remove_cmake_defconfig_v4.0' into 'release/v4.0'
...
Doc: replace defconfig with reconfigure (v4.0)
See merge request espressif/esp-idf!7688
2020-03-02 05:10:17 +08:00
June
ea3d70382b
backport esp325p0 new features to release/v4.0
2020-02-29 09:11:30 +00:00
Jiang Jiang Jian
2f8af222e9
Merge branch 'bugfix/IPV6_multicast_adress_error_for_v4.0' into 'release/v4.0'
...
lw-ip:fix ipv6 bug when input the wrong broadcast for v4.0
See merge request espressif/esp-idf!7805
2020-02-29 17:08:32 +08:00
Jiang Jiang Jian
2408dc2671
Merge branch 'feature/doc_feedback_links_v4.0' into 'release/v4.0'
...
docs: Include feedback link in footer (v4.0)
See merge request espressif/esp-idf!7821
2020-02-29 16:58:07 +08:00
Krzysztof
c924da6f0a
Include feedback link in footer
2020-02-29 00:32:55 +08:00
Jiang Jiang Jian
198c8333d1
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0' into 'release/v4.0'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0(backport v4.0)
See merge request espressif/esp-idf!7787
2020-02-28 17:19:55 +08:00
Marius Vikhammer
f542c979e9
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-02-28 10:53:08 +08:00
xueyunfei
1351e94a0e
fix ipv6 bug when input the wrong broadcast for v4.0
2020-02-27 17:15:09 +08:00
lly
6eaeda9cf4
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 14:42:25 +08:00
lly
f2e5ee5d25
ble_mesh: Start the timer when starting to send the client message
2020-02-27 14:42:25 +08:00
lly
4a3b06dde3
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 14:42:25 +08:00
lly
ef7461ae1d
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 14:42:25 +08:00
lly
bfed4fc90c
ble_mesh: Allow maximum 377 octets payload
2020-02-27 14:42:25 +08:00
lly
6d61f6667a
ble_mesh: Reset transport info when node is removed
2020-02-27 14:42:25 +08:00
lly
41cef4b1bb
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 14:42:25 +08:00
lly
e24641cc89
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-27 14:42:25 +08:00
Jiang Jiang Jian
280f0effc1
Merge branch 'bugfix/mesh_ie_issues_4.0' into 'release/v4.0'
...
Bugfix/mesh ie issues (Backport 4.0)
See merge request espressif/esp-idf!7308
2020-02-27 14:38:36 +08:00
Krzysztof Budzynski
f9cb434eeb
Merge branch 'bugfix/doc_python3_v4.0' into 'release/v4.0'
...
Docs: Encourage to use Python 3 (v4.0)
See merge request espressif/esp-idf!7783
2020-02-26 20:35:27 +08:00
wangmengyang
2236449f47
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-26 16:19:43 +08:00
Roland Dobai
2a4173e9a6
Docs: Encourage to used Python 3
2020-02-26 09:01:42 +01:00
Michael (XIAO Xufeng)
e2cba84555
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.0' into 'release/v4.0'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.0)
See merge request espressif/esp-idf!7371
2020-02-26 15:20:29 +08:00
David Čermák
8a56c31a25
Merge branch 'bugfix/ws_client_sending_race_v4.0' into 'release/v4.0'
...
websocket_client: fix locking in ws client task (v4.0)
See merge request espressif/esp-idf!7712
2020-02-26 06:11:16 +08:00
David Cermak
daf95803ec
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
2020-02-25 20:52:29 +00:00
chenyudong
b006ffa643
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-25 20:50:22 +08:00
David Cermak
80fd327308
update mqtt weekend test to use mbedtls asymetric buffer
2020-02-25 18:32:27 +07:00
David Cermak
ee8ab79696
ci: fix test build system when using template repository from a
...
different branch then master
2020-02-25 18:32:22 +07:00
David Cermak
a7f573c3a1
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2020-02-25 18:32:11 +07:00
Jiang Jiang Jian
d292907fb7
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk(backport v4.0)
See merge request espressif/esp-idf!7747
2020-02-25 17:55:59 +08:00
Mahavir Jain
4fa13a8575
Merge branch 'bugfix/softap_prov_disconnect_v4.0' into 'release/v4.0'
...
Bugfix/softap prov disconnect (v4.0)
See merge request espressif/esp-idf!7684
2020-02-25 15:40:18 +08:00
Angus Gratton
216b8b4088
Merge branch 'bugfix/child_cmake_uninitialized_vars_v4.0' into 'release/v4.0'
...
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects (v4.0)
See merge request espressif/esp-idf!7630
2020-02-25 15:27:24 +08:00
Jiang Jiang Jian
2c90bce980
Merge branch 'feature/wifi_redo_scan_example_v4.0' into 'release/v4.0'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
See merge request espressif/esp-idf!7271
2020-02-25 14:22:59 +08:00
Hrudaynath Dhabe
3ed5b73617
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
2020-02-25 14:22:58 +08:00
Angus Gratton
a8fe083017
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
...
Fixes issue where PYTHON was not being expanded when running ulp_mapgen.py,
causing Windows launch setting to be used - reported here:
https://esp32.com/viewtopic.php?f=13&t=12640&p=50283#p50283
Closes https://github.com/espressif/esp-idf/issues/4785
2020-02-25 17:16:42 +11:00
Jiang Jiang Jian
25dfb08435
Merge branch 'bugfix/btdm_role_switch_v4.0' into 'release/v4.0'
...
Fix bugs about role switch
See merge request espressif/esp-idf!6924
2020-02-25 14:13:58 +08:00
Mahavir Jain
bdeec924a2
Merge branch 'bugfix/nimble_apps_conn_handle_v4.0' into 'release/v4.0'
...
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event (v4.0)
See merge request espressif/esp-idf!7702
2020-02-24 19:14:17 +08:00
Piyush Shah
5136605cb1
wifi_prov_manager: Delay the Wi-Fi connect call
...
For SoftAP provisioning, if we start Wi-Fi connection as soon as the
apply config request is received, it has been observed that the clients
(Phone apps mostly) do not get the response for this as we switch the
Wi-Fi channel, causing a momentary disconnection.
Delaying the connection calls helps mitigate the issue.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
Piyush Shah
63d3fd17f9
wifi_prov_manager: Change the name of an internal timer handle to better reflect the purpose
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
wangmengyang
636195fb29
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-24 12:14:25 +08:00
Jiang Jiang Jian
6c19711778
Merge branch 'feature/dev_security_restore_backport_v4p0' into 'release/v4.0'
...
feature/dev_security_restore_backport_v4p0(backport release/v4.0)
See merge request espressif/esp-idf!7738
2020-02-24 11:48:27 +08:00
Jiang Jiang Jian
28788e2d66
Merge branch 'bugfix/mbedtls_esp_bignum_v4.0' into 'release/v4.0'
...
mbedtls: esp bignum fix for 4096 keys (v4.0)
See merge request espressif/esp-idf!7705
2020-02-24 11:44:16 +08:00
June
9d15ffb573
backport mr !6031 - fix security info restore bug
2020-02-21 20:00:25 +08:00
Jiang Jiang Jian
6fee9da72e
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v4.0' into 'release/v4.0'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v4.0)
See merge request espressif/esp-idf!7653
2020-02-21 14:53:47 +08:00
Mahavir Jain
54f7ed5dcc
Merge branch 'bugfix/esp_log_timestamp_v4.0' into 'release/v4.0'
...
Use proper API to get Tick Count is esp_log_timestamp (v4.0)
See merge request espressif/esp-idf!7719
2020-02-20 20:52:33 +08:00
Mahavir Jain
938c291973
Merge branch 'fix/run_esptool_absolute_path_v4.0' into 'release/v4.0'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (v4.0)
See merge request espressif/esp-idf!7714
2020-02-20 20:22:11 +08:00
Shubham Kulkarni
2966f8cb8c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 15:55:22 +05:30
Amit Sheth
b59bcb88ce
project_include.cmake: Make esptool_py_custom_target callable from other directories
2020-02-20 15:17:05 +05:30
David Cermak
f8fc84813c
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 10:03:00 +01:00
David Cermak
e29d17fcd0
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:03:00 +01:00
Hrishikesh Dhayagude
2c5932e4fd
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:12 +05:30
baohongde
06ff1ceae3
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 15:21:28 +08:00
Jiang Jiang Jian
b04e643bd0
Merge branch 'bugfix/coex_schm_v4.0' into 'release/v4.0'
...
Bugfix/coex schm v4.0
See merge request espressif/esp-idf!7636
2020-02-20 14:49:32 +08:00
xiehang
e4696f077d
lwip: Enable IPv6 stateless address autoconfiguration
2020-02-20 13:53:55 +08:00
Sergei Silnov
8911c52a58
Doc: replace defconfig with reconfigure
...
Closes https://github.com/espressif/esp-idf/issues/3965
2020-02-19 17:19:19 +01:00
baohongde
53e355b355
components/coex: Fix misspell in Kconfig
2020-02-19 11:48:45 +08:00
baohongde
d07b9e97d7
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 11:48:33 +08:00
Angus Gratton
024a2755be
Merge branch 'bugfix/kconfig_cmake_escape_v4.0' into 'release/v4.0'
...
confgen.py: Escape special characters for cmake (v4.0)
See merge request espressif/esp-idf!7646
2020-02-19 08:01:00 +08:00
Angus Gratton
6ad136a49e
Merge branch 'doc/secure_boot_ref_v4.0' into 'release/v4.0'
...
doc: secure boot: Fix relative reference to key generation step (v4.0)
See merge request espressif/esp-idf!7628
2020-02-19 07:59:16 +08:00
Jiang Jiang Jian
615dc00e86
Merge branch 'bugfix/some_host_and_example_bugfix_Backport_to_4v0' into 'release/v4.0'
...
Bugfix/some host and example bugfix backport to v4.0
See merge request espressif/esp-idf!7360
2020-02-18 21:02:34 +08:00
Jiang Jiang Jian
8dd98715a4
Merge branch 'bugfix/unified_prov_bluedroid_v4.0' into 'release/v4.0'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v4.0)
See merge request espressif/esp-idf!7650
2020-02-18 20:57:33 +08:00
Jiang Jiang Jian
3b954fb6d6
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error with c++ files (v4.0)
See merge request espressif/esp-idf!7584
2020-02-18 20:44:41 +08:00
Hrishikesh Dhayagude
6f875f2db2
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 15:09:30 +05:30
Roland Dobai
6b6d9d7321
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-18 09:55:53 +01:00
Ivan Grokhotkov
477e6355eb
Merge branch 'bugfix/legacy_msys2_environment_update_v4.0' into 'release/v4.0'
...
doc: Update the MSYS2 legacy toolchain zip to same as master branch (v4.0)
See merge request espressif/esp-idf!7627
2020-02-18 16:26:28 +08:00
Ivan Grokhotkov
008d2db20b
Merge branch 'bugfix/win_tools_installer_fixes_v4.0' into 'release/v4.0'
...
docs: Windows tools installer release v2.3 (v4.0)
See merge request espressif/esp-idf!7561
2020-02-18 16:24:21 +08:00
baohongde
78ecc043d5
Improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi performance in some Classic BT scienario(idle, inquire scan,
connecting, connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect performance in coexistence scienario.
2020-02-18 12:40:48 +08:00
baohongde
c48a94d4a8
components/mesh: Fix some bugs about mesh
...
fix send acl pkt after ble have sent terminate ind
modify min adv interval to 10ms
2020-02-18 11:07:16 +08:00
baohongde
6f4e257601
Increase TCP send buffer and receive window limitation when TCP window scale is enabled
2020-02-18 11:06:15 +08:00
Angus Gratton
2fdb56e741
Merge branch 'feat/mcpwm_hal_fixes_v4.0' into 'release/v4.0'
...
mcpwm: add HAL layer support (fix part, backport v4.0)
See merge request espressif/esp-idf!7105
2020-02-18 09:45:13 +08:00
Ivan Grokhotkov
3f6f658532
docs: update version of IDF tools installer for windows to v2.3
2020-02-18 12:23:34 +11:00
Angus Gratton
0155bce1be
doc: secure boot: Fix relative reference to key generation step
2020-02-18 10:48:18 +11:00
Angus Gratton
ba43d99db9
doc: Update the MSYS2 legacy toolchain zip to same as master branch
...
This is not required for v4.0 (the previous zip will work for v4.0), but it will be
required if updating to a newer ESP-IDF and there's no downside to requiring it here.
2020-02-18 10:38:14 +11:00
Jiang Jiang Jian
0f64291700
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v4.0' into 'release/v4.0'
...
backport some Wi-Fi bugs 0107 (backport v4.0)
See merge request espressif/esp-idf!7260
2020-02-17 20:44:50 +08:00
Angus Gratton
64c1e029fb
Merge branch 'bugfix/doc_sphinxcontrib_dep_v4.0' into 'release/v4.0'
...
Docs: Fix sphinxcontrib dependencies (v4.0)
See merge request espressif/esp-idf!7610
2020-02-17 15:20:23 +08:00
Angus Gratton
99c9e86b7a
Merge branch 'bugfix/update_eclipse_docs' into 'release/v4.0'
...
docs: Update Eclipse installation instructions, ref....
See merge request espressif/esp-idf!7621
2020-02-17 15:06:02 +08:00
Krzysztof
7eeaa62c49
docs: Update Eclipse installation instructions, ref. https://esp32.com/viewtopic.php?f=13&t=14237#p55468
2020-02-15 23:12:59 +08:00
Michael (XIAO Xufeng)
9037b8fb52
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-15 23:10:33 +08:00
michael
0f10d12b81
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-15 18:39:28 +08:00
michael
8c148ede22
mcpwm: enable some unit tests again
2020-02-15 18:39:27 +08:00
Roland Dobai
70d4d32511
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:39:19 +01:00
Anton Maklakov
5826ed0c48
Merge branch 'bugfix/smtp_strict_prototypes_fix_v4.0' into 'release/v4.0'
...
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds (backport v4.0)
See merge request espressif/esp-idf!7600
2020-02-14 17:13:59 +08:00
Jiang Jiang Jian
f92534f95d
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt_v4.0' into 'release/v4.0'
...
components/bt: Fix error EIR type in config eir event
See merge request espressif/esp-idf!7407
2020-02-14 16:41:58 +08:00
xiehang
d2af36c9fb
lwip: Drop packets larger than MTU
2020-02-14 12:03:49 +08:00
zhangyanjiao
5894e049bc
esp_wifi: fix some WiFi issues
...
Fix following WiFi issues:
1. Fix WiFi buffer reload issue
2. Fix AMSDU decrypt issue
3. Fix some WiFi timer issues
4. Fix the crash caused by too big of association request RSN information
5. Fix the crash caused by block scan
6. Fix the bug for getting channel and bandwidth
7. Fix some Sniffer bugs
8. Fix some ESP-NOW issues
1> fix the bug when modifying the channel info of peer node
2> fix the crash when modifying peer node between unencrypted and encrypted
3> fix the bug for fetch peer
4> modify the esp_wifi_set_channel() function
5> fix the bug that the channel parameter doesn't work when adding peer node
Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2020-02-14 12:03:18 +08:00
Jiang Jiang Jian
50b686bfb4
Merge branch 'bugfix/fix_performance_issues_new_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi performance issue (backport v4.0)
See merge request espressif/esp-idf!7227
2020-02-14 11:47:06 +08:00
Jiang Jiang Jian
92d8558364
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v4.0' into 'release/v4.0'
...
soc: clear PHY status when cpu start (v4.0)
See merge request espressif/esp-idf!7593
2020-02-14 11:34:17 +08:00
Ivan Grokhotkov
45454cd477
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds
2020-02-13 19:01:43 +01:00
Xia Xiaotian
0a2bec85f3
soc: clear PHY status when cpu start
2020-02-13 14:36:11 +08:00
Jiang Jiang Jian
b6bec84c6e
Merge branch 'bugfix/ble_mesh_utf_8_comma_4_0' into 'release/v4.0'
...
ble_mesh: Kconfig included a UTF-8 comma (v4.0)
See merge request espressif/esp-idf!7576
2020-02-13 11:13:02 +08:00
Jiang Jiang Jian
fb924ece79
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len' into 'release/v4.0'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v4.0)
See merge request espressif/esp-idf!7324
2020-02-13 11:08:41 +08:00
Jiang Jiang Jian
e07a64925b
Merge branch 'bugfix/coex_bt_ble_stuck_v4.0' into 'release/v4.0'
...
components/bt: Fix A2DP stuck when BLE's interval is too small
See merge request espressif/esp-idf!7220
2020-02-13 11:08:20 +08:00
Jiang Jiang Jian
e07ecea868
Merge branch 'hfp_a2dp_iphone_4.1' into 'release/v4.0'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 4.0]
See merge request espressif/esp-idf!7249
2020-02-13 11:08:10 +08:00
Jiang Jiang Jian
5b9cb366c2
Merge branch 'bugfix/fix_airkiss_bug_v4.0' into 'release/v4.0'
...
fix the bug for Airkiss
See merge request espressif/esp-idf!7346
2020-02-13 11:07:41 +08:00
Jiang Jiang Jian
d5bd2256f4
Merge branch 'bugfix/fix_ble_mesh_memory_leak_v4.0' into 'release/v4.0'
...
ble_mesh: Fix memory leak when node is reset (v4.0)
See merge request espressif/esp-idf!7278
2020-02-13 10:58:09 +08:00
Jiang Jiang Jian
c235640bf4
Merge branch 'bugfix/ble_mesh_update_lightness_last_v4.0' into 'release/v4.0'
...
ble_mesh: Update lightness last state when actual state is changed (v4.0)
See merge request espressif/esp-idf!7281
2020-02-13 10:58:06 +08:00
Jiang Jiang Jian
6193a439a3
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes_v4.0' into 'release/v4.0'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes (v4.0)
See merge request espressif/esp-idf!7300
2020-02-13 10:58:03 +08:00
liu zhifu
a3cd5ab1ae
esp_wifi: improve WiFi performance
2020-02-13 10:50:48 +08:00
lly
3bf1b9b8ab
ble_mesh: Fix compile error with c++ files
2020-02-13 09:52:10 +08:00
lly
04fc15a4f3
ble_mesh: Fix memory leak when node is reset
...
When node is being reset, the init functions of each sig-defined
models will be invoked again, this will cause memory leak because
some model internal data will be allocated again.
Hence before trying to allocate memory for them, we add some check
to make sure no memory has been allocated previously.
And for client model, when the init functions are invoked again,
we will clear the list items.
2020-02-12 12:03:31 +00:00
lly
e95b59c089
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:28:06 +08:00
Ivan Grokhotkov
2309313103
Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url_v4.0' into 'release/v4.0'
...
ci: no stage attempts variables, no custom toolchain url (backport v4.0)
See merge request espressif/esp-idf!7542
2020-02-12 17:55:17 +08:00
Ivan Grokhotkov
8cb3cc5154
Merge branch 'bugfix/idf_tools_virtualenv_v4.0' into 'release/v4.0'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0 (backport v4.0)
See merge request espressif/esp-idf!7553
2020-02-12 17:32:20 +08:00
Ivan Grokhotkov
bbbe6fd449
Merge branch 'bugfix/idf_tools_py_install_required_v4.0' into 'release/v4.0'
...
Fix Docker image builds on release/v4.0
See merge request espressif/esp-idf!7551
2020-02-12 16:54:03 +08:00
Ivan Grokhotkov
7ccf6ebada
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-11 09:46:03 +01:00
Angus Gratton
91dc4d78f8
Merge branch 'bugfix/select_driver_not_installed_v4.0' into 'release/v4.0'
...
VFS: Check in select() if the UART driver is installed or not (v4.0)
See merge request espressif/esp-idf!7417
2020-02-11 12:08:48 +08:00
Angus Gratton
5bf43a854c
Merge branch 'bugfix/make_undefined_variable_warning_v4.0' into 'release/v4.0'
...
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES) (backport v4.0)
See merge request espressif/esp-idf!7480
2020-02-11 12:07:33 +08:00
Angus Gratton
2bee223250
Merge branch 'bugfix/part_gen_subtype_fix_v4.0' into 'release/v4.0'
...
partition_table: Fix subtype in gen_esp32part.py (v4.0)
See merge request espressif/esp-idf!7536
2020-02-11 12:06:25 +08:00
Angus Gratton
f92a52f275
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build_v4.0' into 'release/v4.0'
...
cJSON: include only source file objects for cmake build (v4.0)
See merge request espressif/esp-idf!7546
2020-02-11 11:57:32 +08:00
Anton Maklakov
f368f69922
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2020-02-10 20:10:26 +01:00
Mahavir Jain
8df70a1728
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-10 17:32:26 +05:30
Anton Maklakov
c5d20275dd
ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support
2020-02-10 18:38:23 +07:00
Anton Maklakov
f2ef0509e3
ci: Use ARTIFACT_DOWNLOAD_ATTEMPTS and others from the project settings
2020-02-10 18:35:12 +07:00
boarchuz
8c88f0f1f6
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 12:04:45 +01:00
Ivan Grokhotkov
313c1ed1ba
Merge branch 'bugfix/esp_log_from_critical_v4.0' into 'release/v4.0'
...
intr_alloc: don't call ESP_LOG from a critical section (backport v4.0)
See merge request espressif/esp-idf!7159
2020-02-10 17:34:53 +08:00
Ivan Grokhotkov
c3961fdacb
Merge branch 'bugfix/idf_monitor_usbser_sys_v4.0' into 'release/v4.0'
...
tools: work around usbser.sys bug in IDF monitor (v4.0)
See merge request espressif/esp-idf!7470
2020-02-10 17:34:00 +08:00
Ivan Grokhotkov
c8215756fa
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor_v4.0' into 'release/v4.0'
...
idf.py: add monitor-baud option to monitor command (v4.0)
See merge request espressif/esp-idf!7461
2020-02-10 17:33:32 +08:00
Ivan Grokhotkov
0c2c821f8f
Merge branch 'bugfix/esp_ptr_executable_single_core_v4.0' into 'release/v4.0'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v4.0)
See merge request espressif/esp-idf!7464
2020-02-10 16:30:34 +08:00
Ivan Grokhotkov
f5dc81aaae
Merge branch 'bugfix/panic_cache_err_dig_reset_v4.0' into 'release/v4.0'
...
esp32: panic: do digital reset if cache error interrupt is set (backport v4.0)
See merge request espressif/esp-idf!7484
2020-02-10 16:30:02 +08:00
Ivan Grokhotkov
97ef8fd057
Merge branch 'bugfix/idf_tools_v4.0' into 'release/v4.0'
...
idf_tools.py bug fixes (backport v4.0)
See merge request espressif/esp-idf!7479
2020-02-10 16:29:27 +08:00
Angus Gratton
204f19ac0b
Merge branch 'bugfix/doc_nwdiag_v4.0' into 'release/v4.0'
...
docs: Fix nwdiag dependency for documentation build (v4.0)
See merge request espressif/esp-idf!7516
2020-02-07 06:20:35 +08:00
Roland Dobai
39194136e5
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:51:59 +01:00
Angus Gratton
3f76083e8c
Merge branch 'bugfix/several_ethernet_bugfix_from_4.1' into 'release/v4.0'
...
Ethenret driver bugfix and optimization (4.0)
See merge request espressif/esp-idf!7426
2020-02-06 14:38:47 +08:00
Angus Gratton
87eccad969
Merge branch 'bugfix/wps_config_init_v4.0' into 'release/v4.0'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7334
2020-02-06 14:06:40 +08:00
Hrudaynath Dhabe
8f0f3e8f88
WPS_CONFIG_INIT_DEFAULT(type) error
2020-02-06 14:06:38 +08:00
Angus Gratton
c3a3a81b08
Merge branch 'feature/idf_docker_updates_v4.0' into 'release/v4.0'
...
Enable ccache and use newer CMake in Docker image (backport v4.0)
See merge request espressif/esp-idf!7482
2020-01-31 15:58:50 +08:00
Ivan Grokhotkov
4ce7b666a6
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-01-30 12:28:22 +01:00
Angus Gratton
c2bce897b8
idf.py: Add environment variable to enable ccache by default
2020-01-30 12:14:54 +01:00
Ivan Grokhotkov
5140eea3d1
tools/docker: enable ccache by default
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
1b0473494f
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
e9d3800ad2
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES)
2020-01-30 12:06:57 +01:00
Ivan Grokhotkov
97242031e7
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
...
Fixes the workaround added in 9279b72a6 .
2020-01-30 11:59:29 +01:00
Ivan Grokhotkov
5ab36dc2ec
idf_tools.py: fix virtualenv issue for macOS with homebrew
2020-01-30 11:59:16 +01:00
Ivan Grokhotkov
09dd8ca3e9
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
...
This allows the processes launched from idf_tools.py to use the value
of IDF_PATH. One such example is the installation of Python packages,
when requirements.txt uses IDF_PATH to refer to the esp-windows-curses
package.
Closes https://github.com/espressif/esp-idf/issues/4341
2020-01-30 11:57:51 +01:00
Angus Gratton
f27a344fc9
Merge branch 'bugfix/parttool_backtraces_v4.0' into 'release/v4.0'
...
parttool: Avoid unnecessary exception backtrace for legitimate errors (v4.0)
See merge request espressif/esp-idf!7463
2020-01-30 13:36:52 +08:00
Rosa Elena Veiga Otero
02596a7efa
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-29 10:36:43 +01:00
Angus Gratton
a61fd1e42b
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v4.0)
See merge request espressif/esp-idf!7304
2020-01-29 14:25:27 +08:00
Angus Gratton
d897e522af
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:03:30 +11:00
Angus Gratton
59649ea825
parttool: Fix regression when parsing binary partition data
...
Regression in a91de43537
2020-01-29 09:40:23 +11:00
Angus Gratton
bdb0851065
parttool: Avoid unnecessary exception backtrace for legitimate errors
...
Previous version used exception handling for program control flow,
which makes for long and confusing backtrace messages if an error
occurs while parsing the CSV (as it also prints the phony error that
occurred while trying to parse as a binary, then prints
"During handling of the above exception, another exception occurred:",
then prints the real error).
Use the same heuristic that is applied in gen_esp32_part, instead.
Also, avoid printing the entire backtrace if the error is a gen_esp32_part
InputError, same as gen_esp32part does.
Found while looking into https://github.com/espressif/esp-idf/issues/4474
2020-01-29 09:40:22 +11:00
KonstantinKondrashov
9a24d95907
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-01-28 21:41:27 +08:00
Sergei Silnov
ead0e6da36
idf.py: add monitor-baud option to monitor command
2020-01-27 18:54:37 +01:00
Angus Gratton
08219f3cf5
Merge branch 'bugfix/esp_tls_blocking_timeout_v4.0' into 'release/v4.0'
...
esp-tls: add timeout for blocking connection (v4.0)
See merge request espressif/esp-idf!7396
2020-01-22 11:44:48 +08:00
Angus Gratton
b324ab9c6e
Merge branch 'bugfix/mqtt_submodule_ref_update_v4.0' into 'release/v4.0'
...
mqtt: update submodule to point to latest commit (backport 4.0)
See merge request espressif/esp-idf!7276
2020-01-22 11:29:34 +08:00
morris
93e5a31685
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-21 21:30:34 +08:00
morris
01cc5a38cc
ethernet: work with cache disabled
2020-01-21 21:30:18 +08:00
morris
7b128595ac
ethernet: optimise tx and rx
2020-01-21 20:51:03 +08:00
Mahavir Jain
f48930a040
Merge branch 'nimble/example_update_doc_v4.0' into 'release/v4.0'
...
NimBLE: Update the documentation link in the examples (v4.0)
See merge request espressif/esp-idf!7365
2020-01-21 17:58:46 +08:00
Roland Dobai
642dc19c25
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-21 10:11:08 +01:00
Jiang Jiang Jian
55834dd001
Merge branch 'bugfix/wa_dport_and_intr_v4.0' into 'release/v4.0'
...
esp32: Fix for DPORT (v4.0)
See merge request espressif/esp-idf!7349
2020-01-21 10:49:08 +08:00
baohongde
e38c080f79
components/bt: Fix error EIR type in config eir event
2020-01-20 21:50:01 +08:00
David Cermak
c7e1416174
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-01-20 07:26:51 +01:00
David Cermak
e0c88dbd73
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:08:40 +01:00
Paul Abbott
a58fa7665a
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:22:36 +08:00
Hrishikesh Dhayagude
d84677493e
NimBLE: Update the documentation link in the examples
2020-01-16 17:12:33 +05:30
gengyuchao
443ea78e78
bugfix:Fix length check for snprintf in osi config. And remove the error code when there is no file in the nvs in config.c
2020-01-16 16:20:43 +08:00
gengyuchao
ef07a315bb
Add notes
2020-01-16 16:09:49 +08:00
gengyuchao
ed6805625c
ble:set a esp api to get size of controller send packets buffer.
2020-01-16 16:09:34 +08:00
gengyuchao
74a89774fd
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-16 16:09:17 +08:00
gengyuchao
7dc5c2af59
ble Fix typo and add some comment
2020-01-16 16:05:44 +08:00
Brian Friedkin
e5bd8b1982
add missing gatt descriptors
2020-01-16 16:05:29 +08:00
gengyuchao
983f528513
example:ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-01-16 15:27:25 +08:00
Geng Yu Chao
5445c80a8e
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-16 15:26:37 +08:00
Geng Yu Chao
69d341f7f0
Fix some typo in idf
2020-01-16 15:26:37 +08:00
KonstantinKondrashov
f927957950
esp32: Add UT for DPORT
2020-01-16 13:31:20 +08:00
KonstantinKondrashov
6fca0e3861
esp32: Fix esp_dport_access_reg_read
2020-01-16 13:31:20 +08:00
zhangyanjiao
5202be013a
fix the bug for Airkiss
2020-01-16 11:54:02 +08:00
Geng Yu Chao
ed44d25690
example/blufi: Fix the wrong wifi storage mode and check if ble is connected before sending a ble message.
2020-01-16 11:48:46 +08:00
Geng Yu Chao
8c980c11aa
example/ble_throughput fix the throughput clinet crash bug when open the CONFIG_GATTC_WRITE_THROUTHPUT option
2020-01-16 11:47:52 +08:00
Geng Yu Chao
4312c71e71
example/ble_throughput fix the throughput server crash bug when running with throughput client
2020-01-16 11:40:37 +08:00
gengyuchao
4900ead609
bugfix:btmd fix the problem that fixed_queue_enqueue may give the wrong semaphore if list_append fail to calloc a new node
2020-01-16 11:32:40 +08:00
Ivan Grokhotkov
386804d407
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2020-01-15 04:16:24 +00:00
zhiweijian
93409bd57e
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:25:54 +08:00
zhiweijian
32ba52760f
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:24:36 +08:00
Marius Vikhammer
158f2d065d
mqtt: update submodule to point to latest commit.
...
Adds bugfixes for:
- Too early publishing
- Potential mutex memory leak
- CI related issues.
- Wait for entire connack message
- Event loop not getting cleaned up
Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.
MQTT MR: esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137
MQTT MR: esp-mqtt/merge_requests/47
Closes IDF-1126
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384
MQTT MR: esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293
MQTT MR: esp-mqtt/merge_requests/50
Closes FCS-254
MQTT MR: esp-mqtt/merge_requests/53
Closes FCS-267
2020-01-14 10:55:50 +08:00
lly
14a408c478
ble_mesh: Fix PreviousAddress endianess in Friend Request
...
The upper transport layer is using big endian ordering. The
PreviousAddress field of a Friend Request message should therefore
be converted to native endianess using sys_cpu_to_be16().
2020-01-13 10:40:25 +08:00
lly
92d0d7ad49
ble_mesh: Fix next_period computation
...
If the duration to publish is roughly the same as the period, we might
end up with elapsed == period, which returns 0 and cancel the periodic
publication. Instead 1 should be returned, just like when the elapsed
time is greater than the period.
2020-01-13 10:40:20 +08:00
lly
19c9ae400b
ble_mesh: Make model publication struct more compact
...
Previously the FastPeriodDivisor value was introduced to the model
publication struct. Based on the way it was grouped it seems the
intention was to fit it within the same octet as other bit fields,
but it actually makes the octet overflow by one bit. This ends up
creating another u8_t variable which in turn adds 24 bits of padding
after it.
To keep the size of the struct as compact as possible, group the flag
together with the key index, since that only requires 12 bits. Some
care is needed here, since the mesh stack does have special internal
key index values that require more than 12 bits such as
BLE_MESH_KEY_UNUSED and BLE_MESH_KEY_DEV. In this case restricting
ourselves to 12 bits is fine since the value in the model publication
struct follows 1:1 the value received in the Config Model Publication
Set message, and there the parameter is defined to be exactly 12 bits.
2020-01-13 10:40:13 +08:00
lly
566fb11a73
ble_mesh: Fix compile error when using release optimization level
2020-01-13 10:40:05 +08:00
lly
928480ada9
ble_mesh: Remove useless CONFIG_BLE_MESH_NODE
...
For Low Power node and Proxy Server, the two features
depend on BLE_MESH_NODE in Kconfig.in, here in the
stack there is no need to judge if CONFIG_BLE_MESH_NODE
is enabled.
2020-01-13 10:39:57 +08:00
lly
da0205b166
ble_mesh: Fixes Provisioner not support friend feature
2020-01-13 10:39:52 +08:00
lly
610fc8124a
ble_mesh: Fixes wrong subnet info used for Friend Clear
...
When Friend node tries to send Friend Clear message to other
Friend nodes, it should use the subnet information based on
the net_idx from friendship.
2020-01-13 10:39:42 +08:00
lly
21dbee1291
ble_mesh: fix provisioner failed to send msg to 0xFFFF
...
According to Mesh Spec 3.4.5.3, a node shall implement a local
network interface. And here we limit the situation just based
on the spec, and Provisioner directly sending the msg without
passing through the local network interface.
2020-01-13 10:39:37 +08:00
lly
e5431e55a9
ble_mesh: fix virtual addr wrong return value
...
Fixes missing return value on `va_del`
Fixes wrong return value on `va_add`
2020-01-13 10:39:28 +08:00
lly
4405560483
ble_mesh: Persistent storage of Virtual Address
...
The 16-bit format group addresses will be stored,
but we don't store (or restore) the virtual label UUIDs,
i.e. after a power cycle the 16-bit group addresses
would be meaningless.
2020-01-13 10:39:22 +08:00
lly
51616eacee
ble_mesh: Proxy forwards ALL_NODES addr
...
Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
2020-01-13 10:39:15 +08:00
lly
4aa7f31f02
ble_mesh: Model message macros
...
Creates macros for determining model message lengths based on opcode,
payload length and MIC size. Also adds macro wrapping
NET_BUF_SIMPLE_DEFINE to serve the most common use case.
2020-01-13 10:39:10 +08:00
lly
318f83e33a
ble_mesh: Use net_buf_simple_clone
...
Uses net_buf_simple_clone to access the sdu of an unsegmented app packet
for re-encryption.
2020-01-13 10:39:03 +08:00
lly
4bf2ceee4e
ble_mesh: Skip local messages in rx
...
Local messages are already enqueued for the LPN in the tx path, and
don't have to be added again in the rx path.
2020-01-13 10:38:59 +08:00
lly
a9c5092baf
ble_mesh: Ensure seqnum match in app/net
...
Re-encrypts single-segment application messages when the network seqnum
has changed, to avoid encrypting messages with different seqnums in
network and transport. This operation is only required for unsegmented
messages, as segmented messages don't need to use the same seqnum in
network.
Reinstates the special adv data for friend messages to store the app key
index.
2020-01-13 10:38:54 +08:00
lly
9e47e04897
ble_mesh: Expose app key get function
2020-01-13 10:38:48 +08:00
lly
ca0bfb84d0
ble_mesh: Expose header parsing outside net
2020-01-13 10:38:38 +08:00
lly
cc772c1324
ble_mesh: Remove unused macro FRIEND_BUF_SIZE
2020-01-13 10:38:31 +08:00
lly
c344a4a3b9
ble_mesh: Make RSSI value available to mesh applications
2020-01-13 10:38:26 +08:00
lly
32387250bc
ble_mesh: Encrypt friend packets on send
...
Stores friend queue packets unencrypted, removing any out-of-order
issues caused by seqnum allocation. Also moves as much of the metadata
storage as possible into the packet, allowing us to free up some bytes
of net_buf user data for friend packets.
2020-01-13 10:38:21 +08:00
lly
a870460f72
ble_mesh: Expose SeqZero mask
...
Makes a define for the seqzero 13-bit mask in transport, and exposes it
in the header for use in the friend module.
2020-01-13 10:38:15 +08:00
Ivan Grokhotkov
463a9d8b7f
Merge branch 'bugfix/ci_deploy_tags_v4.0' into 'release/v4.0'
...
ci: fix tags for internal deploy jobs (backport v4.0)
See merge request espressif/esp-idf!7295
2020-01-11 14:08:55 +08:00
Anton Maklakov
ef34e6f6f7
ci: fix tags for internal deploy jobs
2020-01-10 18:33:11 +07:00
lly
cf2c5b8d96
ble_mesh: Update lightness last state when actual state is changed
2020-01-10 15:33:59 +08:00
Ivan Grokhotkov
aa51829ec8
Merge branch 'bugfix/cmake_reflashable_build_targets_v4.0' into 'release/v4.0'
...
secure boot: Fix bootloader build system target for bootloader digest (v4.0)
See merge request espressif/esp-idf!7229
2020-01-09 15:56:08 +08:00
Angus Gratton
dcd735759e
Merge branch 'bugfix/mdns_deinit_event_crash_v4.0' into 'release/v4.0'
...
mdns: fixed crash on event during deinit (v4.0)
See merge request espressif/esp-idf!7246
2020-01-09 13:02:28 +08:00
Angus Gratton
a36bbd4e95
Merge branch 'bugfix/mdns_send_sdptr_answer_v4.0' into 'release/v4.0'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v4.0)
See merge request espressif/esp-idf!7242
2020-01-09 13:01:11 +08:00
Angus Gratton
3f8a89504f
Merge branch 'feature/ws_local_server_test_v4.0' into 'release/v4.0'
...
websocket_client: added example_test with a local websocket server (backport v4.0)
See merge request espressif/esp-idf!7200
2020-01-09 08:31:58 +08:00
Angus Gratton
1d280a0825
Merge branch 'fix/ci_target_test_v4.0' into 'release/v4.0'
...
ci: Fix target variable default value v4.0
See merge request espressif/esp-idf!7237
2020-01-09 07:24:18 +08:00
Jiang Jiang Jian
3b13eba1b2
Merge branch 'bugfix/wifi_fix_beacon_timeout_and_connect_fail_when_coex_v4.0' into 'release/v4.0'
...
Fix WiFi beacon timeout and station fails to connect to AP sometimes when WiFi and Bluetooth run togerther.
See merge request espressif/esp-idf!7192
2020-01-08 22:53:30 +08:00
weitianhua
a388eb8806
componnets_bt/:fix hfp/a2dp coex bug with iphone
2020-01-08 19:25:29 +08:00
David Cermak
1f263434a6
mdns: fixed crash on event during deinit
...
mdns library deinitialization destroys internal structures including action queue. if an event (e.g. network update) received
after some essential stucture is destoyed, an unexpected behavour might be introduced (e.g. crash of adding the event notification
to the action queue which was already destroyed
Closes WIFI-1485
2020-01-08 10:27:30 +01:00
David Cermak
06cc4e888d
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:21:28 +01:00
Xia Xiaotian
0a2371972a
Fix WiFi beacon timeout and station fails to connect to AP sometimes
...
when WiFi and Bluetooth run togerther.
2020-01-08 16:48:16 +08:00
Shivani Tipnis
b7a191a996
ci: Fix target variable default value v4.0
2020-01-07 20:29:06 +05:30
Angus Gratton
beb73456ee
Merge branch 'feature/prebuilt_binary_example_v4.0' into 'release/v4.0'
...
Import prebuilt binary (v4.0)
See merge request espressif/esp-idf!7208
2020-01-07 14:34:38 +08:00
Angus Gratton
e3d65c8e3e
Merge branch 'bugfix/ws_user_context_v4.0' into 'release/v4.0'
...
websocket: added missing event data (backport v4.0)
See merge request espressif/esp-idf!7195
2020-01-07 14:34:08 +08:00
Jiang Jiang Jian
d11bca44db
Merge branch 'bugfix/sniffer_crash_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix wifi stop bug when sniffer enable (backport v4.0)
See merge request espressif/esp-idf!7207
2020-01-07 10:57:26 +08:00
Angus Gratton
6da2676a3c
secure boot: Fix bootloader build system target for bootloader digest
...
Closes https://github.com/espressif/esp-idf/issues/4513
2020-01-07 09:38:01 +11:00
Ivan Grokhotkov
15aa9bc041
Merge branch 'bugfix/backport_wifi_event_bits' into 'release/v4.0'
...
examples: using xEventGroup bits properly (backport v4.0)
See merge request espressif/esp-idf!7209
2020-01-06 23:19:09 +08:00
baohongde
3ae110b30c
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:31:54 +08:00
Jakob Hasse
509ac2cfc1
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-06 12:41:00 +08:00
Renz Christian Bagaporo
8c23bb4aa9
examples: add import prebuilt example
2020-01-06 09:39:49 +08:00
Renz Christian Bagaporo
989dac1e64
cmake: implement utility to import prebuilt libraries
2020-01-06 09:39:49 +08:00
Jack
2ea0062fe8
Fix wifi stop bug when sniffer enable
2020-01-04 15:25:09 +08:00
Marius Vikhammer
5cb04f3e13
websocket_client: added example_test with a local websocket server
...
- Added a example test that connects to a local python websocket server.
- Added readme for websocket_client example.
Closes IDF-907
2020-01-03 15:03:27 +08:00
Angus Gratton
16e102199a
Merge branch 'bugfix/backport_nvs_iterator_fix' into 'release/v4.0'
...
NVS: iterator corrupting entries (backport v4.0)
See merge request espressif/esp-idf!7071
2020-01-03 13:07:20 +08:00
Marius Vikhammer
2215aeaad8
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
2020-01-03 10:01:10 +08:00
Wang Jia Lin
51a1421f65
Merge branch 'bugfix/i2s_timergroup_dev_array_used_by_isr_issue' into 'release/v4.0'
...
bugfix(driver): fix i2s and timergroup some issues
See merge request espressif/esp-idf!7141
2020-01-02 21:20:21 +08:00
Jiang Jiang Jian
0cefe6df78
Merge branch 'bugfix/fix_a_wifi_rx_bug_v4.0' into 'release/v4.0'
...
esp_wifi: fix a WiFi receiving bug (backport v4.0)
See merge request espressif/esp-idf!7002
2020-01-02 16:30:04 +08:00
Angus Gratton
20e75ef87d
Merge branch 'feat/spi_internal_header_v4.0' into 'release/v4.0'
...
spi: move deprecated functions into internal header (backport v4.0)
See merge request espressif/esp-idf!7103
2020-01-02 02:16:18 +08:00
Ivan Grokhotkov
cb1d440cb8
Merge branch 'bugfix/fix_python3_errors_for_ttfw_v4.0' into 'release/v4.0'
...
test: fix python3 errors for ttfw (backport v4.0)
See merge request espressif/esp-idf!7146
2019-12-31 17:56:37 +08:00
Angus Gratton
e5d25fb51e
Merge branch 'doc/esp_ringbuf_acquire_complete_v4.0' into 'release/v4.0'
...
esp_ringbuf: add documents for SendAcquire and SendComplete (backport v4.0)
See merge request espressif/esp-idf!7104
2019-12-31 15:01:49 +08:00
Angus Gratton
8306ddf3c1
Merge branch 'feature/wifi_prov_ext_httpd_v4.0' into 'release/v4.0'
...
wifi_provisioning_softap: Allow applications to start webserver externally (v4.0)
See merge request espressif/esp-idf!7163
2019-12-31 15:00:59 +08:00
Mahavir Jain
93928a5d11
Merge branch 'nimble/update_doc_link_v4.0' into 'release/v4.0'
...
NimBLE: Update the link to NimBLE upstream documentation (v4.0)
See merge request espressif/esp-idf!7167
2019-12-31 13:42:30 +08:00
xiongyu
96a5e34d7a
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 11:02:35 +08:00
Angus Gratton
6bc284f7b7
Merge branch 'feature/tools_installer_v2.2_v4.0' into 'release/v4.0'
...
docs: update Windows tools installer link (backport v4.0)
See merge request espressif/esp-idf!7158
2019-12-31 09:17:46 +08:00
Jakob Hasse
daa2178f30
WIFI: added log for wifi test, increased timeout
2019-12-31 08:33:11 +08:00
Jakob Hasse
92b10b4ba3
NVS: bugfix nvs_set_str/blob checks write mode
2019-12-31 08:33:11 +08:00
Jakob Hasse
69b0919904
NVS: BUGFIX non-matching type iterator works
...
Closes IDFGH-2229
2019-12-31 08:33:11 +08:00
Angus Gratton
4cbbe6cca3
Merge branch 'bugfix/ci_test_idf_monitor_4.0' into 'release/v4.0'
...
CI: Adjust the test parameters of IDF Monitor (backport v4.0)
See merge request espressif/esp-idf!7165
2019-12-31 06:40:07 +08:00
Hrishikesh Dhayagude
edcba21b28
NimBLE: Update the link to NimBLE upstream documentation
2019-12-30 19:18:06 +05:30
Roland Dobai
e8b454e802
CI: Adjust the test parameters of IDF Monitor
2019-12-30 14:28:30 +01:00
Piyush Shah
84029130cf
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-12-30 17:34:05 +05:30
Ivan Grokhotkov
6cbda6bd22
docs: update Windows tools installer link
2019-12-30 11:34:00 +01:00
He Yin Ling
dae4da07c3
CI: reduce number of unit test jobs
2019-12-30 10:59:47 +08:00
He Yin Ling
ca3b2a8909
test: fix multiple devices cases fail on python3
2019-12-30 10:55:57 +08:00
He Yin Ling
95f0553f40
test: let unit test jobs use python3
2019-12-30 10:55:46 +08:00
He Yin Ling
09935510bd
ttfw: fix incorrect relative import for python3
2019-12-30 10:55:32 +08:00
Jiang Jiang Jian
fb81b516da
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v4.0' into 'release/v4.0'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7119
2019-12-29 21:38:09 +08:00
baohongde
d93bff2699
components/bt: Revert changes of security mask
2019-12-29 06:29:23 +00:00
Ivan Grokhotkov
03addfb0c5
Merge branch 'bugfix/legacy_msys2_environment_v4.0' into 'release/v4.0'
...
doc: Update the legacy MSYS2 environment to use 2019r2 toolchain version (v4.0)
See merge request espressif/esp-idf!7078
2019-12-27 23:29:13 +08:00
liu zhifu
0631d185bd
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-26 19:41:04 +08:00
Mahavir Jain
65cfbbda52
Merge branch 'bugfix/touchpad_interrupt' into 'release/v4.0'
...
Change critical section API for touch pad interrupt
See merge request espressif/esp-idf!7100
2019-12-24 19:51:49 +08:00
michael
6a18a33bad
esp_ringbuf: add documents for SendAcquire and SendComplete
2019-12-24 17:46:53 +08:00
Michael (XIAO Xufeng)
6f6677ac42
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-12-24 17:43:32 +08:00
Shubham Kulkarni
0e623d4dbf
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 14:52:54 +05:30
Jiang Jiang Jian
d41c020649
Merge branch 'bugfix/fix_ble_mesh_adv_buf_unref_v4.0' into 'release/v4.0'
...
ble_mesh: Fix adv buf unref and link_id in exceptional list (v4.0)
See merge request espressif/esp-idf!7080
2019-12-22 16:02:24 +08:00
Jiang Jiang Jian
b261647835
Merge branch 'bugfix/ble_mesh_client_check_remain_time_v4.0' into 'release/v4.0'
...
ble_mesh: Client model check timer remaining time (v4.0)
See merge request espressif/esp-idf!7074
2019-12-22 15:59:34 +08:00
lly
53e6eb8467
ble_mesh: Fix using wrong name for PB-GATT
2019-12-20 17:13:20 +08:00
lly
ebaa3e1c3e
ble_mesh: Fix adv buf unref and link_id in exceptional list
2019-12-20 17:13:15 +08:00
Angus Gratton
66889332ce
doc: Update the legacy MSYS2 environment to use 2019r2 toolchain version
...
As reported at https://www.esp32.com/viewtopic.php?p=52805
2019-12-20 19:29:57 +11:00
lly
23770edb43
ble_mesh: Add unlock when failed to create alarm
2019-12-20 15:34:10 +08:00
lly
6ea738eeb0
ble_mesh: Rename ble mesh lock/unlock functions
...
Rename BLE Mesh internal lock/unlock functions, also seperate
the list, buf and atomic lock/unlock functions
2019-12-20 15:34:06 +08:00
lly
3e6d04fc86
ble_mesh: Use mutex to protect client list operations
2019-12-20 15:34:01 +08:00
lly
9dc45e788d
ble_mesh: Remove useless parameters of lock/unlock
2019-12-20 15:33:56 +08:00
lly
bf712e4f91
ble_mesh: Client model check timer remaining time
...
Before handling status message, client models need check if the
corresponding timer has expired. And if timeout happens, the
status message will be treated as a publish message.
2019-12-20 15:33:50 +08:00
Angus Gratton
83813f830d
Merge branch 'bugfix/menuconfig_confirm_v4.0' into 'release/v4.0'
...
Menuconfig: Don't ask to save configuration when nothing has changed (backport v4.0)
See merge request espressif/esp-idf!6813
2019-12-20 13:11:00 +08:00
Jiang Jiang Jian
b0d6c01b04
Merge branch 'bugfix/btdm_fix_doc_and_host_bug_backport_v4.0' into 'release/v4.0'
...
Bugfix/btdm fix doc and host bug backport v4.0
See merge request espressif/esp-idf!6954
2019-12-18 14:19:30 +08:00
Geng Yu Chao
f955c49423
Bugfix/btdm fix doc and host bug backport v4.0
2019-12-18 14:19:27 +08:00
Angus Gratton
1b15e6cf56
Merge branch 'bugfix/nvs_flash_missing_tests' into 'release/v4.0'
...
nvs: Added nvs tests, minor corrections (backport v4.0)
See merge request espressif/esp-idf!6987
2019-12-18 11:38:08 +08:00
Angus Gratton
1ad1e70077
Merge branch 'feature/can_support_low_bit_rates_backport_v4.0' into 'release/v4.0'
...
can: Add support for lower bit rates (backport v4.0)
See merge request espressif/esp-idf!6392
2019-12-18 07:46:06 +08:00
Angus Gratton
d8665e5343
Merge branch 'bugfix/doc_fix_debian_requirements_v4.0' into 'release/v4.0'
...
Docs: Update Debian & Ubuntu install prerequisites (v4.0)
See merge request espressif/esp-idf!7036
2019-12-18 07:35:42 +08:00
Roland Dobai
46cb254f21
Docs: Update Debian & Ubuntu install prerequisites
...
Latest versions of apt-get don't install as much packages by default
as older ones. This fix adds some missing packages discovered for an OS
derived from the latest stable Debian. These packages exist for older
Debian derivatives as well (tested with Ubuntu 16.04 LTS).
Closes https://github.com/espressif/esp-idf/issues/4480
2019-12-17 13:38:22 +01:00
Jiang Jiang Jian
20e6d46d44
Merge branch 'bugfix/esp_timer_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v4.0)
See merge request espressif/esp-idf!6988
2019-12-16 19:37:59 +08:00
Jiang Jiang Jian
a89decd3c1
Merge branch 'demo-hfp-client-v4.0' into 'release/v4.0'
...
component_bt/: Add HFP HF Unit Example
See merge request espressif/esp-idf!7023
2019-12-16 19:36:40 +08:00
weitianhua
1e7933049d
Add HFP Unit example code.
2019-12-16 17:18:51 +08:00
Jiang Jiang Jian
626c58fc67
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v4.0' into 'release/v4.0'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6880
2019-12-16 16:13:32 +08:00
Darian Leung
03d5742e11
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-12-16 07:45:38 +00:00
Jiang Jiang Jian
3c081abb32
Merge branch 'feature/hwcrypto_perf_ut_v4.0' into 'release/v4.0'
...
mbedtls: enable HW SHA by default, add SHA performance test (backport v4.0)
See merge request espressif/esp-idf!6668
2019-12-16 14:24:25 +08:00
Jiang Jiang Jian
482d2f06c3
Merge branch 'ci/artifact_expiry_v4.0' into 'release/v4.0'
...
ci: Keep build artifacts for 4 days (v4.0)
See merge request espressif/esp-idf!6994
2019-12-16 14:23:44 +08:00
Ivan Grokhotkov
4ffa3dbffb
Merge branch 'bugfix/libc_link_issues_v4.0' into 'release/v4.0'
...
newlib: fix linking issues (fcntl, system, raise) (backport v4.0)
See merge request espressif/esp-idf!7000
2019-12-16 14:16:56 +08:00
Ivan Grokhotkov
bf0863a50a
mbedtls: Enable SHA hardware acceleration by default
2019-12-15 20:46:20 +00:00
Ivan Grokhotkov
20d435c561
mbedtls: add SHA performance test
...
Results with this revision:
SHA256 rate 2.599MB/sec Debug 240MHz SW
SHA256 rate 1.147MB/sec Release 80MHz SW
SHA256 rate 3.469MB/sec Release 240MHz SW
SHA256 rate 2.687MB/sec Release 240MHz SW + PSRAM workaround
SHA256 rate 9.433MB/sec Debug 240MHz HW rev1
SHA256 rate 3.727MB/sec Release 80MHz HW rev1
SHA256 rate 10.961MB/sec Release 240MHz HW rev1
SHA256 rate 9.966MB/sec Release 240MHz HW rev1 + PRAM workaround
SHA256 rate 10.974MB/sec Debug 240MHz HW rev3
SHA256 rate 4.362MB/sec Release 80MHz HW rev3
SHA256 rate 13.207MB/sec Release 240MHz HW rev3
Debug = Og, assertions enabled
Release = O2, assertions disabled
2019-12-15 20:46:20 +00:00
baohongde
a82215d161
components/bt: Fix AVRC metadata length error
2019-12-14 05:48:26 +00:00
KonstantinKondrashov
dcbcb5fe58
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:46:27 +08:00
Ivan Grokhotkov
23e6b47a28
esp-tls: check return value of fcntl
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
85656ca77d
newlib: define fcntl as strong symbol
...
Closes https://github.com/espressif/esp-idf/issues/3694
Closes https://github.com/espressif/esp-idf/issues/4407
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
6f0f5d79f9
newlib: add definitions of system, raise
...
Closes IDF-1220
Closes IDFGH-1811
Closes https://github.com/espressif/esp-idf/pull/4020
2019-12-13 14:12:36 +00:00
Jakob Hasse
314a0443ad
nvs: Added nvs tests, minor corrections
...
* closes IDF-1135:
same namespace was used in different tests which
could lead to conflicts when re-running tests
* removes duplicated functions declarations
* correct argument order for test case macros
2019-12-13 17:06:27 +08:00
Angus Gratton
3ba9eae86c
Merge branch 'feature/ci_optimize_artifact_download_v4.0' into 'release/v4.0'
...
CI: optimize example build and artifact download (backport v4.0)
See merge request espressif/esp-idf!6940
2019-12-13 11:36:04 +08:00
Angus Gratton
a8e01de0e4
ci: Keep build artifacts for 4 days
2019-12-12 06:30:13 +00:00
Angus Gratton
0104a24a36
Merge branch 'bugfix/server_down_message_v4.0' into 'release/v4.0'
...
tools: Produce user friendly error during install when the server is down (v4.0)
See merge request espressif/esp-idf!6958
2019-12-12 08:12:36 +08:00
Angus Gratton
643757bfad
Merge branch 'bugfix/doc_package_versions_v4.0' into 'release/v4.0'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v4.0)
See merge request espressif/esp-idf!6974
2019-12-12 06:31:07 +08:00
Angus Gratton
30ac846112
Merge branch 'bugfix/cmake_secure_boot_v4.0' into 'release/v4.0'
...
secure boot: CMake bug fixes (v4.0)
See merge request espressif/esp-idf!6630
2019-12-12 06:30:37 +08:00
KonstantinKondrashov
8e54ee3f16
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-11 19:28:20 +08:00
Jiang Jiang Jian
ba11fed9c1
Merge branch 'bugfix/mesh_stop_recv_crash_4.0' into 'release/v4.0'
...
Bugfix/mesh stop recv crash 4.0
See merge request espressif/esp-idf!6948
2019-12-11 19:25:36 +08:00
Jiang Jiang Jian
bf01dd61f7
Merge branch 'doc/update_several_ble_mesh_docs_v4.0' into 'release/v4.0'
...
doc: update ble mesh docs based on the feature and example update (v4.0)
See merge request espressif/esp-idf!6966
2019-12-11 19:00:20 +08:00
chenyudong
ee6ba0eb47
mesh: fix mesh stop recv crash
2019-12-11 05:54:39 +00:00
He Yin Ling
45a50ed701
test: fix incorrect error type in xunit result
2019-12-11 15:57:49 +11:00
He Yin Ling
fd481d9cdd
ci: fix fetch submodule error on python3
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
ec8e057e4c
ci: remove dependencies from link_check job
2019-12-11 15:57:49 +11:00
Angus Gratton
510ec904c9
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-12-11 15:57:49 +11:00
He Yin Ling
fbdedee4cb
ci: reduce number of unit test cases
2019-12-11 15:57:49 +11:00
Anton Maklakov
f8e1ee35e2
soc: fix unit tests not included in the build
...
Regression from 9eccd7c082
2019-12-11 15:57:49 +11:00
He Yin Ling
06aa755265
ci: unit test use binary to built by cmake
2019-12-11 15:57:49 +11:00
He Yin Ling
48786c1da0
CI: remove not exist file from executable-list.txt
2019-12-11 15:57:49 +11:00
He Yin Ling
e9be102224
CI: build system do not check submodule for CI
2019-12-11 15:57:49 +11:00
He Yin Ling
3691ebc273
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2019-12-11 15:57:49 +11:00
He Yin Ling
31b9329d36
CI: raise import error instead of exit for ble tools
2019-12-11 15:57:49 +11:00
He Yin Ling
d00acce7b2
CI: support only download artifacts by request:
...
use CI dependencies could waste a lot bandwidth for target test jobs, as
example binary artifacts are very large. Now we will parse required
artifacts first, then use API to download required files in artifacts.
2019-12-11 15:57:49 +11:00
He Yin Ling
6e05a79536
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-11 15:57:49 +11:00
He Yin Ling
978bf09f83
CI: add utility gitlab_api
2019-12-11 15:57:49 +11:00
He Yin Ling
7a5d17e1b7
tiny-test-fw: move to tools/esp_python_packages:
...
make `tiny_test_fw` as a package and move to root path of idf python
packages
2019-12-11 15:57:49 +11:00
He Yin Ling
d3e0301aee
tiny-test-fw: only load module from the same file one time:
...
we should only load one module once.
if we load one module twice, python will regard the same object loaded in the first time and second time as different objects.
it will lead to strange errors like `isinstance(object, type_of_this_object)` return False
2019-12-11 15:57:49 +11:00
He Yin Ling
69c0e6243e
unit-test-app: fix test script error when handling multiple unit test configs in one config file:
...
If we have multiple configs, we need to flash DUT with different binaries. But if we don't close DUT before apply new config, the old DUT will be reused, so new config name will not be applied.
2019-12-11 15:57:49 +11:00
He Yin Ling
cffe7bf3a1
ci: use more flexible assign for unit test cases
2019-12-11 15:57:49 +11:00
He Yin Ling
1041bc800c
unit-test-app: print config name in test script
2019-12-11 15:57:49 +11:00
He Yin Ling
dd74a331c7
tiny-test-fw: print useful debug info when assign test:
...
* total requirements (number of required jobs vs tags)
* unused CI jobs
* missing jobs (number of missing jobs vs tags)
2019-12-11 15:57:49 +11:00
He Yin Ling
6ee7492512
ci: optimize unit test assignment:
...
Currently we use config and test function as filter when assign cases to one CI job. It's not necessary as the runner can run test with different configs / test functions. Now we will try to assign as many cases to a job as possible, to reduce the amount of jobs required.
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
9bf656e12e
examples: fix sdkconfig warnings
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
6ae4c29191
examples: update wifi/iperf to use the new builder
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
3fcecdd12e
ci: don't add build_examples_make as a target_test dependency
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
f3c8907cef
ci: reimplement build_examples_cmake using {find,build}_apps.py
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
7db756fbd9
tiny-test-fw: add build config and target options
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
1d72766f1a
tools: add build warnings checking script
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
5d03ae7428
tools: add {find,build}_apps.py, scripts to build multiple apps
...
This commit adds a pair of scripts, find_apps.py and build_apps.py.
These scripts are intended to be used in various CI jobs, building
multiple applications with different configurations and targets.
The first script, find_apps.py, is used to prepare the list of builds:
1. It finds apps for the given build system.
2. For each app, it finds configurations (sdkconfig files) which need
to be built.
3. It filters out the apps and configurations which are not compatible
with the given target.
4. It outputs the list of builds into stdout or a file. Currently the
format is a list of lines, each line a JSON string. In the future,
the tool can be updated to output YAML files.
The lists of builds can be concatenated and processed with standard
command line tools, like sed.
The second script, build_apps.py, executes the builds from the list.
It can execute a subset of builds based on --parallel-count and
--parallel-index arguments.
These two scripts are intended to replace build_examples_make,
build_examples_cmake, and the custom unit-test-app logic (in the
Makefile and idf_ext.py).
Closes IDF-641
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
bfbc10e2d8
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
2019-12-11 15:57:49 +11:00
Angus Gratton
1fd0e6f482
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:39:09 +11:00
Jiang Jiang Jian
21995978e1
Merge branch 'optimize_tcp_random_close_for_4.0' into 'release/v4.0'
...
optimize tcp random close for v4.0
See merge request espressif/esp-idf!6949
2019-12-10 16:47:36 +08:00
lly
e0b6ad0d1a
doc: update ble mesh docs based on the feature and example update
2019-12-10 14:02:20 +08:00
xueyunfei
2b5a8fe5ea
optimize tcp random close for v4.0
2019-12-10 11:53:22 +08:00
Roland Dobai
bb7e52a4a8
tools: Produce user friendly error during install when the server is down
...
Closes https://github.com/espressif/esp-idf/issues/4329
2019-12-09 15:51:38 +01:00
Jiang Jiang Jian
c0597aaf69
Merge branch 'bugfix/phy_critical_v4.0' into 'release/v4.0'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6941
2019-12-09 14:17:54 +08:00
Jiang Jiang Jian
87c30adfed
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
See merge request espressif/esp-idf!6939
2019-12-09 13:43:46 +08:00
Angus Gratton
3636bf5813
Merge branch 'bugfix/update_libexpat_v4.0' into 'release/v4.0'
...
expat: Update library from 2.2.5 to 2.2.9 (v4.0)
See merge request espressif/esp-idf!6921
2019-12-09 13:21:28 +08:00
Tian Hao
ea2959af36
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing
critical sections, such like operating on I2C, but it may not effect
when both the CPU core call it. It may cause accessing I2C blocking
and cannot recover by esp_restart(), until do HW reboot.
2019-12-09 12:45:52 +08:00
Jiang Jiang Jian
585654388f
Merge branch 'bugfix/improve_lwip_performance_v4.0' into 'release/v4.0'
...
LW-IP: fix bug for performance lose when update lw-ip to 2.1.2
See merge request espressif/esp-idf!6938
2019-12-09 12:42:04 +08:00
Jack
939d5a0f6a
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-09 12:17:16 +08:00
Angus Gratton
4d3c650b49
Merge branch 'bugfix/macos_link_toomany_open_files_v4.0' into 'release/v4.0'
...
build system: explicitly disable LTO plugin to reduce the number of simultaneously open files (backport v4.0)
See merge request espressif/esp-idf!6867
2019-12-09 06:19:30 +08:00
Jiang Jiang Jian
2318e6828d
Merge branch 'Bugfix/add_netif_assert' into 'release/v4.0'
...
fix bug for netif add crash
See merge request espressif/esp-idf!6895
2019-12-07 17:33:39 +08:00
xueyunfei
262acbc0a8
fix bug for improve performance
2019-12-07 16:16:57 +08:00
Jiang Jiang Jian
2b2f0d0f28
Merge branch 'feature/reorganise_bluetooth-bluedroid-hci_v4.0' into 'release/v4.0'
...
Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci. (v4.0)
See merge request espressif/esp-idf!6915
2019-12-06 12:09:16 +08:00
Chinmay Chhajed
2887131b39
Changes in menuconfig options to not compile any host when using hci
...
examples as no host is required there.
2019-12-06 12:09:16 +08:00
xueyunfei
104299353d
fix bug for netif add crash
2019-12-06 10:54:12 +08:00
Jiang Jiang Jian
19d394a366
Merge branch 'bugfix/ramdom_tcp_crash_for_4.0' into 'release/v4.0'
...
fix bug for random tcp close for 4.0
See merge request espressif/esp-idf!6841
2019-12-05 20:27:39 +08:00
xueyunfei
e4312f8ab5
fix bug for random tcp close for 4.0
2019-12-05 18:41:42 +08:00
Jiang Jiang Jian
1930c56bd2
Merge branch 'bugfix/lwip_rx_buff_free_v4.0' into 'release/v4.0'
...
lw-IP: Adapted lw-ip port layer to use 2.1.2-esp in 4.0 (v4.0)
See merge request espressif/esp-idf!6857
2019-12-05 18:39:38 +08:00
David Cermak
5e67f9578d
lwip: Adapted lwip port layer to use 2.1.2-esp in 4.0
2019-12-05 16:24:04 +08:00
Roland Dobai
46a172178a
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:17:39 +01:00
Angus Gratton
e6006a6bdf
Merge branch 'bugfix/remove_mbedtls_would_block_v40' into 'release/v4.0'
...
Remove check for would_block in mbedtls (Backport v4.0)
See merge request espressif/esp-idf!6913
2019-12-05 07:37:15 +08:00
Jiang Jiang Jian
a5b803540a
Merge branch 'bugfix/btdm_allow_start_adv_again_v4.0' into 'release/v4.0'
...
component/bt: allow to send stop adv again and fix tx prog crash(backport v4.0)
See merge request espressif/esp-idf!6653
2019-12-04 20:24:07 +08:00
Kedar Sovani
673ccaa1e5
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-12-04 17:28:15 +05:30
Angus Gratton
08e55b8a66
Merge branch 'bugfix/ethernet_add_reference_counter_v4.0' into 'release/v4.0'
...
ethernet: add reference counter v4.0 (v4.0)
See merge request espressif/esp-idf!6780
2019-12-04 14:59:45 +08:00
morris
0508ad525a
ethernet: add pm lock
2019-12-03 17:37:45 +08:00
morris
97defec6cd
ethernet:a bunch of bugfix from master
2019-12-03 17:37:35 +08:00
morris
96e6049dab
ethernet:add start stop control
2019-12-03 17:36:48 +08:00
morris
37154d4c08
ethernet:add reference counter
2019-12-03 15:53:39 +08:00
suda-morris
14dd44c05f
doc: move common Ethernet config explanation into a single file
2019-12-03 15:53:39 +08:00
suda-morris
42a462d584
ethernet: add gpio number into config structure
2019-12-03 15:53:39 +08:00
Angus Gratton
c68bd605f8
Merge branch 'bugfix/idf_tool_git_worktree_v4.0' into 'release/v4.0'
...
tools: Don't use git work-tree in idf_tools.py and try to parse IDF version from C header (v4.0)
See merge request espressif/esp-idf!6821
2019-12-03 09:22:29 +08:00
Mahavir Jain
f37837f785
Merge branch 'NimBLE/fix_send_after_controller_ready_v4.0' into 'release/v4.0'
...
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
See merge request espressif/esp-idf!6793
2019-12-01 17:53:50 +08:00
Prasad Alatkar
69c86bc37e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
2019-12-01 17:53:49 +08:00
Ivan Grokhotkov
14f1a30e38
build system: move -fno-rtti link option next to the compile option
...
Previous commit has added `link_options` to the root CMakeLists.txt,
can use it to collect such global link options now.
2019-11-28 11:02:30 +01:00
Ivan Grokhotkov
afeed3cc6f
build system: explicitly disable LTO plugin
...
... to reduce the number of simultaneously open files at link time.
When plugin support is enabled in the linker, BFD's (and the
corresponding file handles) are cached for the plugin to use. This
results in quite a large number of simultaneously open files, which
hits the default limit on macOS (256 files).
Since we aren't using LTO now, disable it explicitly when invoking the
linker.
Closes IDF-923
Closes IDFGH-1764
Closes https://github.com/espressif/esp-idf/issues/3989
2019-11-28 11:02:18 +01:00
Jiang Jiang Jian
139913baa2
Merge branch 'bugfix/config_assert_thread_safety_backport_v4.0' into 'release/v4.0'
...
freertos: Fix configASSERT thread safety (backport v4.0)
See merge request espressif/esp-idf!6662
2019-11-28 11:51:13 +08:00
Jiang Jiang Jian
e324013ed6
Merge branch 'bugfix/hfp_client_indication_v4.0' into 'release/v4.0'
...
component/bt: Fix bugs in HFP feature v4.0
See merge request espressif/esp-idf!6851
2019-11-27 22:49:03 +08:00
zhiweijian
8d189d9fb4
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 20:15:08 +08:00
weitianhua
e7a6fdca54
component/bt: Fix bugs in HFP feature
2019-11-27 16:48:26 +08:00
Jiang Jiang Jian
48dfbe05a4
Merge branch 'fixed_queue_v4.0' into 'release/v4.0'
...
component_bt/: Fix_pointer_type_fixed_queue v4.0
See merge request espressif/esp-idf!6846
2019-11-27 16:39:51 +08:00
weitianhua
5d00321d07
fix_pointer_type_fixed_queue
2019-11-27 15:06:15 +08:00
Jiang Jiang Jian
2e8ad19e35
Merge branch 'bugfix/ble_mesh_device_with_wrong_name_on_ios_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh device with wrong name on iOS (v4.0)
See merge request espressif/esp-idf!6521
2019-11-27 10:31:01 +08:00
Roland Dobai
c45830d03f
tools: Don't use git work-tree in idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/4355
2019-11-26 08:56:34 +01:00
Angus Gratton
7725ce4999
Merge branch 'fix/esp_flash_no_qe_4.0' into 'release/v4.0'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips (backport v4.0)
See merge request espressif/esp-idf!6423
2019-11-26 11:34:14 +08:00
Roland Dobai
97488fe806
Menuconfig: Don't ask to save configuration when nothing has changed
...
Closes https://github.com/espressif/esp-idf/issues/4303
2019-11-25 11:29:58 +01:00
Jiang Jiang Jian
e3f0854771
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v4.0' into 'release/v4.0'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v4.0)
See merge request espressif/esp-idf!6769
2019-11-22 17:38:06 +08:00
Michael (XIAO Xufeng)
b5d04a21fb
esp_flash: fix the quad issue for some GD flash chips
...
The GD flash with product ID 40H, is already used in Wrover-nosufix modules.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
337b1df430
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
41e64bd79c
esp_flash: rename internal variables for better readability
...
chip_drv in HAL are renamed as host
2019-11-21 12:26:14 +08:00
Michael (XIAO Xufeng)
2b7681ec4f
esp_flash: fix set qe bit and write command issues
...
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.
The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.
This commit:
1. Cancel the dummy phase
2. Set and clear the QE bit according to chip settings, allowing tests
for QE bits. However for some chips (Winbond for example), it's not
forced to clear the QE bit if not able to.
3. Also refactor to allow chip_generic and other chips to share the same
code to read and write qe bit; let common command and read command share
configure_host_io_mode.
4. Rename read mode to io mode since maybe we will write data with quad
mode one day.
2019-11-21 12:26:14 +08:00
Angus Gratton
668c0dfb9b
Merge branch 'bugfix/idfpy_before_flash_option_v4.0' into 'release/v4.0'
...
idf.py: Add --before flag to esptool.py call (v4.0)
See merge request espressif/esp-idf!6625
2019-11-21 06:40:14 +08:00
Angus Gratton
0b0f8d6d6c
Merge branch 'feature/windows_ccache_enable_v4.0' into 'release/v4.0'
...
tools: export IDF_CCACHE_ENABLE on Windows by default (backport v4.0)
See merge request espressif/esp-idf!6664
2019-11-21 06:39:27 +08:00
Jiang Jiang Jian
a8f956e590
Merge branch 'bugfix/warning_fix_latest_freertos_v4.0' into 'release/v4.0'
...
Fixed warnings for components driver, esp32 and mbedtls (v4.0)
See merge request espressif/esp-idf!6759
2019-11-20 12:20:02 +08:00
Jiang Jiang Jian
3b879ce8c3
Merge branch 'bugfix/put_more_rx_code_to_iram_v4.0' into 'release/v4.0'
...
Put some rx code to iram (backport v4.0)
See merge request espressif/esp-idf!6492
2019-11-20 11:19:20 +08:00
Jack
5102308b2b
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-19 22:51:28 +08:00
Shubham Kulkarni
f95a723412
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:02:02 +05:30
Jiang Jiang Jian
88cbc26f4d
Merge branch 'bugfix/btdm_run_out_of_frame_element_v4.0' into 'release/v4.0'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6700
2019-11-19 17:01:32 +08:00
Mahavir Jain
1b53af2e88
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-11-19 04:42:27 +00:00
Darian Leung
376107b2ae
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-11-19 04:42:27 +00:00
Jiang Jiang Jian
c9294aff6f
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v4.0' into 'release/v4.0'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6725
2019-11-19 12:15:36 +08:00
Angus Gratton
99fb9a3f7c
Merge branch 'bugfix/miscellaneous_cmake_fixes' into 'release/v4.0'
...
CMake bugfixes
See merge request espressif/esp-idf!6654
2019-11-19 06:52:07 +08:00
xiehang
e5773cc2fe
esp_wifi: Put some rx code to iram and update phy4180
2019-11-18 02:54:46 +00:00
He Yin Ling
4e6c575fed
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v4.0' into 'release/v4.0'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v4.0)
See merge request espressif/esp-idf!6603
2019-11-18 10:44:20 +08:00
baohongde
8353ecdf36
components/bt: Disable some unsupported security mask
2019-11-17 13:45:32 +08:00
Angus Gratton
5bb0b39700
ci: Add test configs for 32kHz crystals
2019-11-16 17:06:14 +08:00
Jiang Jiang Jian
9214c887f7
Merge branch 'bugfix/asio_examples_v4.0' into 'release/v4.0'
...
asio: fix asio test code to start the test after ip address received from common example code (v4.0)
See merge request espressif/esp-idf!6699
2019-11-15 23:50:22 +08:00
Mahavir Jain
ebc2e7bce0
Merge branch 'fix/NimBLE_protocomm_mngr' into 'release/v4.0'
...
NimBLE: Fix bug in `protocomm_nimble` chararcteristic access callback (release/v4.0)
See merge request espressif/esp-idf!6703
2019-11-15 19:11:19 +08:00
Jiang Jiang Jian
065e386c57
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v4.0' into 'release/v4.0'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v4.0)
See merge request espressif/esp-idf!6692
2019-11-14 19:26:29 +08:00
Prasad Alatkar
c595b2fa8c
NimBLE: Fix bug in protocomm_nimble chararcteristic access callback (release/v4.0)
...
Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.
2019-11-14 15:24:47 +05:30
lly
eb95bc68c4
ble_mesh: fix ble mesh device with wrong name on iOS
2019-11-14 16:56:34 +08:00
Jiang Jiang Jian
2b208eecde
Merge branch 'feat/ble_mesh_4_1_new_features_v4.0' into 'release/v4.0'
...
ESP BLE Mesh new features (v4.0)
See merge request espressif/esp-idf!6698
2019-11-14 16:48:44 +08:00
baohongde
f9f49107ca
components/bt: Fix assert due to no free element form
2019-11-14 15:20:54 +08:00
KonstantinKondrashov
fae116bb2e
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-14 12:26:43 +08:00
David Cermak
8d90156c07
asio: fix asio test code to start the test after ip address received from common example code
...
Previously set to wait until IP address got from tcpip_adapter, but since common example connect code blocks until both IP4 and IPv6 address received it could happen that test code might have started connection to the ASIO counter-part while ESP32 still waiting for IPv6 address
2019-11-14 12:12:15 +08:00
lly
f22d46515b
ble_mesh: miscellaneous modifications
...
1. Clean up client_common.c
2. Clean up esp_ble_mesh directory
3. Update Kconfig.in
4. Format esp_ble_mesh files
2019-11-14 11:59:21 +08:00
lly
27cb3d7f72
ble_mesh: adapt ble mesh with nimble host
2019-11-14 10:42:30 +08:00
lly
e0e62232e0
ble_mesh: update ble mesh examples
2019-11-14 10:42:16 +08:00
lly
a302d210b9
ble_mesh: add events for configuration server model
2019-11-14 10:39:55 +08:00
lly
a32c72a1b2
ble_mesh: add Generic/Sensor/Time and Scenes/Lighting Server models
2019-11-14 10:39:49 +08:00
lly
f1850b54f3
ble_mesh: add proxy client functionality
2019-11-14 10:39:40 +08:00
lly
c85abf87b5
ble_mesh: add ble mesh friend node event
2019-11-14 10:39:17 +08:00
lly
9029ccd21b
ble_mesh: add low power node api and event
2019-11-14 10:39:13 +08:00
lly
eaeb36375a
ble_mesh: add heartbeat message recv callback
2019-11-14 10:39:08 +08:00
lly
805bc06127
ble_mesh: modify health server model callbacks
2019-11-14 10:39:04 +08:00
lly
4702cd1b51
ble_mesh: add separate advertising buffers for relay packets
2019-11-14 10:38:59 +08:00
Jiang Jiang Jian
720528ef11
Merge branch 'feature/nimble_host_esp_ble_mesh_v4.0' into 'release/v4.0'
...
components/bt: Add support of NimBLE host in ESP BLE Mesh (backport v4.0)
See merge request espressif/esp-idf!6619
2019-11-13 21:32:23 +08:00
zhangyanjiao
d934badaa7
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 17:37:26 +08:00
Jiang Jiang Jian
35b91ebf2d
Merge branch 'bugfix/dockerfile_set_idf_branch_v4.0' into 'release/v4.0'
...
tools/docker: use correct branch and commit of IDF when building (backport v4.0)
See merge request espressif/esp-idf!6665
2019-11-13 16:25:53 +08:00
Jiang Jiang Jian
6c7f72cc1b
Merge branch 'bugfix/http_client_buffer_overflow_v4.0' into 'release/v4.0'
...
Fix HTTP client buffer overflow (v4.0)
See merge request espressif/esp-idf!6666
2019-11-13 16:24:51 +08:00
Jiang Jiang Jian
7061c8aec2
Merge branch 'bugfix/mdns_invalid_hostname_queries_v4.0' into 'release/v4.0'
...
mdns: fix crash for hostname queries (backport v4.0)
See merge request espressif/esp-idf!6504
2019-11-13 16:19:19 +08:00
David Cermak
3ba8ae7a62
http_client: added comments to http header generation function
2019-11-12 09:59:50 +01:00
David Cermak
2c27c55679
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-12 09:59:50 +01:00
Ivan Grokhotkov
68ad6ad63a
tools/docker: use correct branch and commit of IDF when building
2019-11-12 09:57:15 +01:00
Ivan Grokhotkov
981b2496cb
tools: export IDF_CCACHE_ENABLE on Windows by default
2019-11-12 09:54:57 +01:00
Jiang Jiang Jian
077b727608
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v4.0' into 'release/v4.0'
...
esp_wifi: fix some WiFi bugs 1009 (backport v4.0)
See merge request espressif/esp-idf!6299
2019-11-12 11:27:40 +08:00
Angus Gratton
79f36e85d5
Merge branch 'fix/ci_ut_psram_wroverb_v4.0' into 'release/v4.0'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v4.0)
See merge request espressif/esp-idf!6592
2019-11-11 18:38:53 +08:00
Renz Christian Bagaporo
d49077c13b
spiffs: fix build issue on clean project
...
From issue:
I did some poking around in components/spiffs/project_include.cmake and
it looks like what is failing is it isn't getting an offset from
parttool.py. I think what the problem is that the parttool.py cannot
determine the offset of the storage partition as I can't run menuconfig
to set the custom partitions.
I have tested that this problem is solvable by manually setting the
custom partitions in sdkconfig and that is a workaround but there should
be at least a better error message in the configuration when it cannot
find the partition as this would also happen if the partition name was
misspelled.
Closes https://github.com/espressif/esp-idf/issues/4236
2019-11-11 18:11:12 +08:00
Renz Christian Bagaporo
0c2202ef3e
examples: fix idf as library example build on macOS
...
GCC prefixes underscore on symbol names on macOS, and so the set
undefined symbol `-u app_main` won't work. However, this is unecessary,
as the source file that defines it is specified directly to the
executable, and not through a static library.
Closes https://github.com/espressif/esp-idf/issues/4168
2019-11-11 18:09:52 +08:00
Renz Christian Bagaporo
e4137cc6ca
cmake: support git worktree
...
Use rev-parse to get the HEAD directory instead of manually looking for
it. This method works in the main repository, worktrees and submodules.
Closes https://github.com/espressif/esp-idf/issues/4136
2019-11-11 18:09:15 +08:00
Renz Christian Bagaporo
308e4fcce1
cmake: do not check if sdkconfig exists
2019-11-11 18:06:48 +08:00
Renz Christian Bagaporo
a6d40e3583
docs: cmake docs fixes
2019-11-11 18:05:35 +08:00
Renz Christian Bagaporo
95b5745c3c
cmake: treat unregistered components as unresolved
2019-11-11 18:03:26 +08:00
Renz Christian Bagaporo
bc3134594d
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-11-11 18:02:32 +08:00
Renz Christian Bagaporo
8300945189
cxx: force pthread to appear later in link line
2019-11-11 18:01:45 +08:00
Renz Christian Bagaporo
c9ca3a05fc
docs: fix typo of build component aliases name
2019-11-11 18:01:00 +08:00
Renz Christian Bagaporo
ecce2bc926
cmake: introduce BUILD_COMPONENT_ALIASES
...
This commit makes it so that BUILD_COMPONENT holds only the component,
and a new property BUILD_COMPONENT_ALIASES hold the full name of the
component.
This also removes erroneous check for duplicate components, as this can
never happen:
(1) if two components have the same name but different prefixes,
the internal names are still unique between them
(2)if two components happen to have the same name and same prefix, the
latter would override the former
2019-11-11 18:01:00 +08:00
Renz Christian Bagaporo
b69898257a
cmake: make build components available before immediately
...
Previous implementation only builds list of components included in the
build during component registration.
Since the build components is known as the requirements expansion is
ongoing, update the list here instead.
2019-11-11 18:00:50 +08:00
Renz Christian Bagaporo
22548d0ea4
cmake: hide internal targets
...
Use imported library, which does not create additional rules, but still
allows attaching arbitraty properties instead of custom targets. This
allows the targets to not appear in the target list of IDEs such as
CLion.
2019-11-11 17:58:02 +08:00
Ivan Grokhotkov
088ac409d7
Merge branch 'bugfix/partition_cmake_md5_v4.0' into 'release/v4.0'
...
cmake: fix partition_table cmake when using md5 checksum (v4.0)
See merge request espressif/esp-idf!6640
2019-11-09 21:17:08 +08:00
Jiang Jiang Jian
14ce4cde2e
Merge branch 'bugfix/wifi_internal_memory_v4.0' into 'release/v4.0'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v4.0)
See merge request espressif/esp-idf!6627
2019-11-09 13:47:33 +08:00
Wu Jian Gang
83cd515817
cmake: fix partition_table cmake when using md5 checksum
2019-11-08 18:52:18 +08:00
Angus Gratton
d48d9a1c88
Merge branch 'bugfix/i2s-bootloader-random-disable_v4.0' into 'release/v4.0'
...
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
See merge request espressif/esp-idf!6602
2019-11-08 17:12:02 +08:00
Michael (XIAO Xufeng)
f54cab62a2
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-08 08:25:35 +00:00
Angus Gratton
c64d4236fb
secure boot: In Reflashable mode, make sure the bootloader digest updates
...
... whenever the bootloader.bin is updated
2019-11-08 11:39:01 +08:00
Angus Gratton
90568fbf00
secure boot: Fix bug where verification key was not embedded in app
2019-11-08 11:39:01 +08:00
Angus Gratton
475a746e46
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:37:46 +08:00
Angus Gratton
947fc14a3f
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:37:46 +08:00
tatsutaigu
6f6629e568
idf.py: Add --before flag to esptool.py call
...
Merges https://github.com/espressif/esp-idf/pull/4125
2019-11-07 17:37:18 +01:00
Jiang Jiang Jian
4c4b1da7e7
Merge branch 'bugfix/ws_client_fixes_v4.0' into 'release/v4.0'
...
ws_client: various fixes (v4.0)
See merge request espressif/esp-idf!6446
2019-11-07 13:29:50 +08:00
Hrishikesh Dhayagude
9cc272978c
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-11-06 18:27:14 +05:30
Hrishikesh Dhayagude
5cb6a49c1e
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-11-06 18:26:30 +05:30
Hrishikesh Dhayagude
56d1e4411e
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-11-06 18:24:56 +05:30
Ivan Grokhotkov
05510e513b
Merge branch 'feature/update_toolchain_esp-2019r2_v4.0' into 'release/v4.0'
...
Introduce esp-2019r2 toolchain (backport v4.0)
See merge request espressif/esp-idf!6582
2019-11-06 16:15:27 +08:00
Marius Vikhammer
5e042803a2
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-11-05 11:31:18 +00:00
Chen Zheng Wei
74d06101b1
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 17:18:13 +08:00
Anton Maklakov
2cd3018c0a
Introduce esp-2019r2 toolchain
2019-11-04 16:21:56 +07:00
David Cermak
1a8e5a40d6
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
2019-11-02 14:12:11 +01:00
David Cermak
b529c6f282
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
2019-11-02 14:12:11 +01:00
David Cermak
7a05879024
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
2019-11-02 14:12:11 +01:00
David Cermak
1611386431
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING
...
Closes https://github.com/espressif/esp-idf/issues/3890
Closes https://github.com/espressif/esp-idf/issues/4138
2019-11-02 14:12:11 +01:00
Jiang Jiang Jian
6181686489
Merge branch 'bugfix/ws_client_fix_event_blocking_v4.0' into 'release/v4.0'
...
ws_client: fixed posting to event loop with websocket timeout (v4.0)
See merge request espressif/esp-idf!6450
2019-11-02 17:29:26 +08:00
Jiang Jiang Jian
0562281353
Merge branch 'bugfix/ws_buffer_overflow_fix_v4.0' into 'release/v4.0'
...
tcp_transport: fix possible buffer overflow in ws transport connect (v4.0)
See merge request espressif/esp-idf!6447
2019-11-02 17:28:12 +08:00
Jiang Jiang Jian
8bc1f6e2f5
Merge branch 'bugfix/ws_opcodes_fix_v4.0' into 'release/v4.0'
...
ws_client: fix for not sending ping responses, updated to pass events also for... (v4.0)
See merge request espressif/esp-idf!6451
2019-11-02 17:24:40 +08:00
Jiang Jiang Jian
dd99a6dbe8
Merge branch 'bugfix/ws_client_fixed_path_query_uri_v4.0' into 'release/v4.0'
...
websocket_client: fix URI parsing to include also query part in websocket connection path (v4.0)
See merge request espressif/esp-idf!6452
2019-11-02 17:19:44 +08:00
Jiang Jiang Jian
5a686d7ad1
Merge branch 'bugfix/mdns_answer_ip6_size_v4.0' into 'release/v4.0'
...
mdns: use constant size of AAAA answer instead of lw_IP struct size (v4.0)
See merge request espressif/esp-idf!6453
2019-11-02 17:17:45 +08:00
Jiang Jiang Jian
0ca0e7d3cc
Merge branch 'bugfix/mdns_BCT_fix_v4.0' into 'release/v4.0'
...
mdns: fixes to have the BCT passing with latest IDF/lw-IP (v4.0)
See merge request espressif/esp-idf!6454
2019-11-02 17:17:38 +08:00
Jiang Jiang Jian
f06ef95610
Merge branch 'bugfix/bugs_in_a2dp_task_v4.0' into 'release/v4.0'
...
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
See merge request espressif/esp-idf!6532
2019-11-02 17:17:07 +08:00
liu zhifu
0078896347
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix 5.5M signal test bug
2019-11-01 22:16:30 +08:00
David Cermak
44599d3a84
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-11-01 14:14:15 +00:00
David Cermak
0fa7dcb946
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
2019-11-01 14:07:15 +00:00
David Cermak
d3a8dcb929
tcp_transport: fix possible buffer overflow in ws transport connect
...
closes IDF-692
2019-11-01 14:05:04 +00:00
David Cermak
4e8c1b91c0
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
2019-11-01 14:02:58 +00:00
Jiang Jiang Jian
4ed0d006b4
Merge branch 'bugfix/fix_wifi_deinit_memory_leak_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi deinit memory leak (backport v4.0)
See merge request espressif/esp-idf!6539
2019-11-01 21:39:56 +08:00
baohongde
e85804824e
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
2019-11-01 20:12:24 +08:00
Jiang Jiang Jian
304f6a577a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v4.0' into 'release/v4.0'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6534
2019-11-01 18:20:07 +08:00
David Cermak
29690afc57
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
2019-11-01 09:50:42 +00:00
David Cermak
98450e80e5
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
2019-11-01 07:51:49 +00:00
Jiang Jiang Jian
1007473a3b
Merge branch 'bugfix/btdm_check_avrc_connected_error_4.0' into 'release/v4.0'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6440
2019-11-01 14:14:13 +08:00
Jiang Jiang Jian
e875f59ed5
Merge branch 'feature/esp-ble-mesh-documentation-v4.0' into 'release/v4.0'
...
Provide BLE Mesh documentation (v4.0)
See merge request espressif/esp-idf!6560
2019-11-01 14:02:26 +08:00
Jiang Jiang Jian
4f946ea00e
Merge branch 'bugfix/can_critical_section_compliance_backport_v4.0' into 'release/v4.0'
...
CAN: Fix critical section compliance (backport v4.0)
See merge request espressif/esp-idf!6568
2019-11-01 14:01:42 +08:00
Darian Leung
666f87109f
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:14:39 +08:00
Jiang Jiang Jian
154f315a49
Merge branch 'Bugfix/close_nonblocking_tcp_crash_for_4.0' into 'release/v4.0'
...
Bugfix/close nonblocking tcp crash for 4.0
See merge request espressif/esp-idf!6517
2019-11-01 11:24:13 +08:00
Ivan Grokhotkov
b175ec77ad
Merge branch 'feature/cxx_rtti_preparation_v3_v4.0' into 'release/v4.0'
...
C++: re-add provisions for optional RTTI support (backport v4.0)
See merge request espressif/esp-idf!6557
2019-10-31 23:27:33 +08:00
Krzysztof Budzynski
f9fa039826
Provide BLE Mesh documentation
2019-10-31 17:08:26 +08:00
Ivan Grokhotkov
b54528696a
Merge branch 'doc/support_policy_v4.0' into 'release/v4.0'
...
docs: Add ESP-IDF support period policy (v4.0)
See merge request espressif/esp-idf!6528
2019-10-31 15:46:43 +08:00
Anton Maklakov
fae64f79bb
C++: prepare RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
Also, for full RTTI support, libstdc++.a in the toolchain should be built
in both with RTTI and w/o RTTI options. Multilib with -fno-rtti
flag is used for that.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-31 13:27:39 +07:00
Anton Maklakov
4f297ed3fa
Revert "C++: add provisions for optional RTTI support"
...
This reverts commit 3d0466ccd1 .
2019-10-31 13:26:53 +07:00
Jiang Jiang Jian
8eaa440221
Merge branch 'bugfix/jump_time_54_sec_v4.0' into 'release/v4.0'
...
esp_timer: Fix time jumps back ~ 54sec (v4.0)
See merge request espressif/esp-idf!6456
2019-10-31 12:31:39 +08:00
Jiang Jiang Jian
56d5548747
Merge branch 'bugfix/btdm_backports_v4.0_1028' into 'release/v4.0'
...
bt: backport btdm controller fixes to v4.0
See merge request espressif/esp-idf!6514
2019-10-30 15:39:11 +08:00
xueyunfei
665a341147
fix bug for close nonblocking tcp crash
2019-10-30 10:44:36 +08:00
baohongde
cab589af9d
components/bt: Fix error in checking AVRC connected
2019-10-30 02:34:33 +00:00
liu zhifu
19e355e080
esp_wifi: fix WiFi deinit memory leak
2019-10-29 22:32:17 +08:00
baohongde
1cf2da8d67
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 19:58:52 +08:00
Jiang Jiang Jian
744625f234
Merge branch 'bugfix/btdm_disable_bt_gatt_v4.0' into 'release/v4.0'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6503
2019-10-29 18:15:54 +08:00
Angus Gratton
5e505898df
docs: Add ESP-IDF support period policy
2019-10-29 16:26:13 +11:00
Jiang Jiang Jian
3a1d0e9352
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v4.0' into 'release/v4.0'
...
fix bug that semaphore may schedule out in ISR locking
See merge request espressif/esp-idf!6426
2019-10-28 18:45:17 +08:00
baohongde
8afd0de501
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-28 15:10:23 +08:00
baohongde
1f7a66a22e
components/bt: Fix LMP sniff req timeout
2019-10-28 15:09:49 +08:00
baohongde
bcc19b7826
components/bt: Disable BR/EDR GATT
2019-10-28 11:21:09 +08:00
Jiang Jiang Jian
0a03a55c1e
Merge branch 'bugfix/fix_mesh_proxy_adv_with_wrong_dev_name_v4.0' into 'release/v4.0'
...
ble_mesh: using bt device name in mesh proxy adv (v4.0)
See merge request espressif/esp-idf!6439
2019-10-26 20:59:28 +08:00
Jiang Jiang Jian
61f26c985e
Merge branch 'bugfix/can_reset_mode_entry_v4.0' into 'release/v4.0'
...
Bugfix/can reset mode entry v4.0
See merge request espressif/esp-idf!6497
2019-10-26 20:57:52 +08:00
Angus Gratton
165e778d7e
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-26 16:45:23 +08:00
Darian Leung
859ddcdb63
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-26 16:45:10 +08:00
Tian Hao
c599d7aa49
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-25 12:01:06 +08:00
Jiang Jiang Jian
da636bd4ac
Merge branch 'bugfix/msys2_toolchain_path_note_v4.0' into 'release/v4.0'
...
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v4.0)
See merge request espressif/esp-idf!6455
2019-10-25 11:39:04 +08:00
Jiang Jiang Jian
834893d8e4
Merge branch 'feature/esptool_v2.8_v4.0' into 'release/v4.0'
...
esptool: Bump to v2.8 release (v4.0)
See merge request espressif/esp-idf!6460
2019-10-25 11:38:09 +08:00
Angus Gratton
059052acaa
Merge branch 'bugfix/select_with_sdmmc_mount_v4.0' into 'release/v4.0'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v4.0)
See merge request espressif/esp-idf!6429
2019-10-24 10:49:24 +08:00
Angus Gratton
996db972f0
esptool: Bump to v2.8 release
2019-10-23 09:04:43 +11:00
David Cermak
4ddc6916c3
docs: fix minor parameter description inconsistency for idf_component_set_property
2019-10-22 21:21:31 +02:00
David Cermak
c06519a759
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces
2019-10-22 21:21:21 +02:00
KonstantinKondrashov
f1e8a49836
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-22 23:43:28 +08:00
KonstantinKondrashov
09cc922b42
esp32: Add UTs to check the System time does not jump back
2019-10-22 23:43:28 +08:00
lly
34c33f7440
ble_mesh: using bt device name in mesh proxy adv
2019-10-22 15:48:00 +08:00
Roland Dobai
5464aaac45
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-21 14:54:48 +02:00
Jiang Jiang Jian
054e2dbb44
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val_v4.0' into 'release/v4.0'
...
ble_mesh: fix not restoring ble mesh cfg value (v4.0)
See merge request espressif/esp-idf!6276
2019-10-21 20:16:50 +08:00
Jiang Jiang Jian
59a186b27e
Merge branch 'bugfix/mqtt_example_url_update_v4.0' into 'release/v4.0'
...
MQTT: update default broker URL for examples (backport v4.0)
See merge request espressif/esp-idf!6410
2019-10-21 10:52:44 +08:00
Jiang Jiang Jian
62a609190d
Merge branch 'feature/idf_tools_installer_v2.1_v4.0' into 'release/v4.0'
...
IDF tools installer: extra fixes, bump version to v2.1 (backport 4.0)
See merge request espressif/esp-idf!6401
2019-10-21 10:49:12 +08:00
Jiang Jiang Jian
9f1d992ef9
Merge branch 'bugfix/idf_py_fix_property_dict_v4.0' into 'release/v4.0'
...
idf.py: Fix PropertyDict implementation (v4.0)
See merge request espressif/esp-idf!6249
2019-10-21 10:37:31 +08:00
Jiang Jiang Jian
7cb3d5bc4a
Merge branch 'bugfix/apps_esp_ble_mesh_v4.0' into 'release/v4.0'
...
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately (v4.0)
See merge request espressif/esp-idf!6374
2019-10-21 10:37:09 +08:00
Jiang Jiang Jian
de27a71a56
Merge branch 'bugfix/freertos_xTaskNotifyGive_v4.0' into 'release/v4.0'
...
freertos: remove semicolon in xTaskNotifyGive (v4.0)
See merge request espressif/esp-idf!6269
2019-10-21 10:35:56 +08:00
Jiang Jiang Jian
ed8ddf7e76
Merge branch 'bugfix/mqtt_reference_latest_version_4.0' into 'release/v4.0'
...
mqtt: updated to latest version to include latest fixes, support for global CA (backport 4.0)
See merge request espressif/esp-idf!6386
2019-10-21 10:34:56 +08:00
Jiang Jiang Jian
3860753818
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v4.0' into 'release/v4.0'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v4.0)
See merge request espressif/esp-idf!6393
2019-10-21 10:33:50 +08:00
Jiang Jiang Jian
2056b891d3
Merge branch 'bugfix/ext_flash_load_partitions_v4.0' into 'release/v4.0'
...
spi_flash: ensure partition table loaded when esp_partition_register_external is called (backport v4.0)
See merge request espressif/esp-idf!6402
2019-10-21 10:33:01 +08:00
Jiang Jiang Jian
c6a6740e3f
Merge branch 'feature/cxx_rtti_preparation_v2_v4.0' into 'release/v4.0'
...
C++: add provisions for optional RTTI support (backport v4.0)
See merge request espressif/esp-idf!6403
2019-10-21 10:31:52 +08:00
Jiang Jiang Jian
dd1615d57c
Merge branch 'bugfix/can_driver_assertions_v4.0' into 'release/v4.0'
...
drivers/can: fix skipped function calls when assertions disabled (backport v4.0)
See merge request espressif/esp-idf!6405
2019-10-21 10:27:16 +08:00
Mahavir Jain
106f066254
Merge branch 'bugfix/spi_flash_read_changes_for_less_than_16_bytes_v4.0' into 'release/v4.0'
...
Bugfix/spi flash read changes for less than 16 bytes v4.0(backport v4.0)
See merge request espressif/esp-idf!6247
2019-10-19 15:00:00 +08:00
Ajita Chavan
32b8b60dc5
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:00:00 +08:00
Marius Vikhammer
4283b59dde
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-18 17:32:33 +08:00
Ivan Grokhotkov
be894757ff
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:26:05 +02:00
Ivan Grokhotkov
3d0466ccd1
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-18 11:22:39 +02:00
Ivan Grokhotkov
92adc524a2
examples/ext_flash_fatfs: print out data partitions, add CI test
2019-10-18 11:15:10 +02:00
Ivan Grokhotkov
0fc30f4379
spi_flash: load partition table before adding an external partition
...
esp_partition_register_external did not call load_partitions, so if
it was called before any call to esp_partition_find, then the main
partition table would never be loaded. Introduce new function,
ensure_partitions_loaded, and call it both from esp_partition_find and
esp_partition_register_external.
Closes https://github.com/espressif/esp-idf/issues/4116
2019-10-18 11:14:32 +02:00
Ivan Grokhotkov
905fdbc1ad
docs: update get-started to use Tools Installer v2.1
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
3a115a1ad2
tools: bump windows tools installer version to v2.1
...
Includes the following changes:
80ad09f23 allow changing the installation path
(a fix for https://github.com/espressif/esp-idf/issues/3806 )
9c5284e7b verify that IDF_PATH doesn't contain spaces
aaf3dcbda fix quoting of IDF_TOOLS_PATH
(a fix for https://github.com/espressif/esp-idf/issues/3807 )
e6e179294 tools: update idf_exe to 1.0.1
76dc87e9a idf_exe: fix NULL pointer passed to WriteFile
(fixes for https://github.com/espressif/esp-idf/issues/3740 )
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
019c72e4fc
tools: update Windows installer build script
...
Replace the outdated build_installer.sh with the steps used in CI,
call build_installer.sh from CI. Move the signing part into the new
script, sign_installer.sh.
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
21ecf51a40
idf_tools.py: add workaround for PermissionError in os.rename
...
Closes https://github.com/espressif/esp-idf/issues/4063
Closes https://github.com/espressif/esp-idf/issues/3819
2019-10-18 11:10:41 +02:00
X-Ryl669
3c97f7e42e
idf_tools.py: pass --work-tree instead of -C option to git
...
Older versions of git do not support -C option. Use --work-tree option
instead.
Closes https://github.com/espressif/esp-idf/issues/4018
Merges https://github.com/espressif/esp-idf/pull/4019
2019-10-18 11:10:40 +02:00
Roland Dobai
de9b0b1c56
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:27:37 +02:00
Mahavir Jain
57a13b09cc
Merge branch 'NimBLE/fix_esp_nimble_hci_delay_v4.0' into 'release/v4.0'
...
NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport v4.0)
See merge request espressif/esp-idf!6321
2019-10-18 13:18:09 +08:00
Prasad Alatkar
6a60c4a046
NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport 4.0)
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
- Update NimBLE submodule: Fix for #4028 , #4012
2019-10-18 13:18:09 +08:00
David Cermak
f96c02adac
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
backport of 640eac84fa
2019-10-17 16:45:29 +02:00
suda-morris
9351ae7dc9
freertos: remove semicolon in xTaskNotifyGive
2019-10-17 08:06:57 +00:00
Angus Gratton
2cde888a6d
Merge branch 'feature/enable_ethernet_unit_test_4.0' into 'release/v4.0'
...
ethernet: enable unit test (v4.0)
See merge request espressif/esp-idf!6220
2019-10-17 12:54:53 +08:00
Angus Gratton
c94434917d
Merge branch 'bugfix/ut_adjtime_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6348
2019-10-17 12:51:35 +08:00
Hrishikesh Dhayagude
fb32429387
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately
...
The new value should be printed in the set function and not the previous
one.
2019-10-16 15:19:14 +08:00
Jiang Jiang Jian
1cc6d2ef62
Merge branch 'docs/update_bootloader_chip_revision_print_v4.0' into 'release/v4.0'
...
bootloader_support: fix logging prints around chip revision (v4.0)
See merge request espressif/esp-idf!6336
2019-10-14 22:14:25 +08:00
Jiang Jiang Jian
128d650d7d
Merge branch 'bugfix/alt_exit_idf_monitor_v4.0' into 'release/v4.0'
...
idf_monitor: Exit with CTRL+X in menu (v4.0)
See merge request espressif/esp-idf!6289
2019-10-14 21:46:32 +08:00
Jiang Jiang Jian
090dd78355
Merge branch 'bugfix/multi_heap_printf_backport_v4.0' into 'release/v4.0'
...
heap: Fix printf usage in heap poisoning (backport v4.0)
See merge request espressif/esp-idf!6092
2019-10-14 21:28:36 +08:00
KonstantinKondrashov
706df7ab12
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:04 +08:00
Mahavir Jain
cfa355c705
Merge branch 'bugfix/set_url_discards_username_password_v4.0' into 'release/v4.0'
...
fixes : set_url discards username and password (v4.0)
See merge request espressif/esp-idf!6333
2019-10-14 11:09:10 +08:00
Mahavir Jain
a87e699104
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:16 +05:30
ganeshlandge
7566bfb548
fixes : set_url discards username and password
2019-10-12 10:50:11 +05:30
Angus Gratton
57335cfc26
Merge branch 'feature/add_chip_revision_to_image_header_4.0' into 'release/v4.0'
...
Add chip revision into image header(v4.0)
See merge request espressif/esp-idf!6127
2019-10-11 13:22:12 +08:00
Angus Gratton
7a6faa093b
Merge branch 'bugfix/fixes_from_kconfiglib_update_v4.0' into 'release/v4.0'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes (v4.0)
See merge request espressif/esp-idf!6308
2019-10-11 13:06:46 +08:00
Darian Leung
a389312750
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-11 03:10:56 +00:00
lly
7d267a340f
ble_mesh: fix not callback net_key when device is provisioned
2019-10-11 10:05:12 +08:00
Roland Dobai
783ef22dd3
Fix cmake typo
2019-10-10 09:11:01 +02:00
Roland Dobai
4f193dfa71
tools: Fix idf.py menuconfig characters in MSYS2
2019-10-10 09:11:01 +02:00
Roland Dobai
c875e5698a
Cosmetic Kconfig fixes
2019-10-10 09:11:01 +02:00
Angus Gratton
4cafa3e76e
Merge branch 'feature/add_psram_workaround_option_4.0' into 'release/v4.0'
...
make psram workaround depend on chip revison(v4.0)
See merge request espressif/esp-idf!6115
2019-10-10 11:00:29 +08:00
suda-morris
1e5ea2827c
ethernet: fix crash in unit test
2019-10-10 10:43:42 +08:00
suda-morris
cf5331b9f1
ethernet: enable unit test
2019-10-10 10:42:48 +08:00
Ivan Grokhotkov
28a2e6a775
Merge branch 'bugfix/deprecated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
Handle deprecated values in sdkconfig.defaults (v4.0)
See merge request espressif/esp-idf!6254
2019-10-09 23:50:05 +08:00
Per-Olov Jernberg
34a327791c
idf_monitor: Exit with CTRL+X in menu
...
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.
This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.
Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-09 10:27:50 +02:00
Mahavir Jain
8bcf5a19d5
Merge branch 'bugfix/esp_tls_add_header_in_esp_tls_h_v4.0' into 'release/v4.0'
...
ESP32/esp_tls: include esp_err.h in esp_tls.h (v4.0)
See merge request espressif/esp-idf!6264
2019-10-09 13:31:38 +08:00
lly
66a46de2a7
ble_mesh: fix not restoring ble mesh cfg value
2019-10-08 16:37:20 +08:00
suda-morris
bcd496be49
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-08 02:45:36 +00:00
suda-morris
79923d0199
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-10-08 02:45:36 +00:00
Aditya Patwardhan
858b3d2277
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 17:47:51 +05:30
Roland Dobai
dedaf624db
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-03 10:13:42 +02:00
Sergei Silnov
9ca33a260f
idf.py: Fix PropertyDict implementation
2019-10-01 17:49:51 +02:00
Jiang Jiang Jian
abdf12dc9e
Merge branch 'bugfix/coex_fix_some_bugs_v4.0' into 'release/v4.0'
...
Coexist: fix some coexist bugs(backport v4.0)
See merge request espressif/esp-idf!6088
2019-09-30 17:01:32 +08:00
Xia Xiaotian
10d26549fa
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to
make MDNS test pass.
2. Improve stability of WiFi performance with a little sacrifice
of throughput.
3. Improve BLE advertising and connection performance with
dynamic priority. It sacrifices a little WiFi throughput, but
achieves balance between WiFi and Bluetooth.
2019-09-30 11:42:05 +08:00
Jiang Jiang Jian
26676c2b8f
Merge branch 'bugfix/fix_wifi_stop_leads_to_watchdog_v4.0' into 'release/v4.0'
...
Fixed the bug that WiFi stop leads to task watchdog (backport v4.0)
See merge request espressif/esp-idf!6228
2019-09-30 11:00:53 +08:00
zhangyanjiao
d9cfb05eb6
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
4. Put g_promis_buf to IRAM
2019-09-29 11:38:11 +08:00
Jiang Jiang Jian
4322e89006
Merge branch 'bugfix/ble_mesh_client_invalid_addr_access_4.0' into 'release/v4.0'
...
ble_mesh: fix client model invalid address access (v4.0)
See merge request espressif/esp-idf!6218
2019-09-29 10:24:04 +08:00
Ivan Grokhotkov
96748f3037
Merge branch 'refactor/update_spi_ethernet_api_v4.0' into 'release/v4.0'
...
update spi ethernet api (v4.0)
See merge request espressif/esp-idf!6177
2019-09-27 19:43:15 +08:00
lly
5a94142481
ble_mesh: fix client model invalid address access
2019-09-27 15:28:10 +08:00
Ivan Grokhotkov
e5ff431b35
Merge branch 'fix/esp_flash_coredump_4.0' into 'release/v4.0'
...
esp_flash: fix coredump issues (backport v4.0)
See merge request espressif/esp-idf!6136
2019-09-26 21:26:53 +08:00
Ivan Grokhotkov
c225801b3e
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_4.0' into 'release/v4.0'
...
spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses (backport v4.0)
See merge request espressif/esp-idf!6107
2019-09-26 21:25:20 +08:00
Ivan Grokhotkov
610e3cac31
Merge branch 'bugfix/gnu_make_windows_paths_v4.0' into 'release/v4.0'
...
build: In GNU Make, use "cygpath -m" to avoid backslashes (v4.0)
See merge request espressif/esp-idf!6155
2019-09-26 21:24:48 +08:00
Jiang Jiang Jian
c776991233
Merge branch 'bugfix/kconfig_corrections_v4.0' into 'release/v4.0'
...
Fix Kconfig issues discovered by upstream Kconfiglib (v4.0)
See merge request espressif/esp-idf!6195
2019-09-25 16:26:40 +08:00
Jiang Jiang Jian
041fcceddf
Merge branch 'feat/esp_flash_support_encrypt_4.0' into 'release/v4.0'
...
esp_flash: add support for encrypted read and write (backport v4.0)
See merge request espressif/esp-idf!6106
2019-09-25 16:17:31 +08:00
Jiang Jiang Jian
899957f521
Merge branch 'feature/cmake_check_mconf_version_v4.0' into 'release/v4.0'
...
cmake: check mconf-idf binary version (backport v4.0)
See merge request espressif/esp-idf!6067
2019-09-25 16:15:26 +08:00
Jiang Jiang Jian
815d7674ef
Merge branch 'bugfix/openocd_instructions_v4.0' into 'release/v4.0'
...
docs: jtag-debugging: update for IDF Tools installation method (backport v4.0)
See merge request espressif/esp-idf!6066
2019-09-25 16:15:07 +08:00
Jiang Jiang Jian
57527ba6f9
Merge branch 'doc/build_system_requirements_v4.0' into 'release/v4.0'
...
docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail (v4.0)
See merge request espressif/esp-idf!6054
2019-09-25 16:13:48 +08:00
Jiang Jiang Jian
a21eb04cc6
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0(backport v4.0)
See merge request espressif/esp-idf!5940
2019-09-25 16:12:43 +08:00
Jiang Jiang Jian
116d0c8145
Merge branch 'bugfix/ble_mesh_queue_task_init_check_v4.0' into 'release/v4.0'
...
ble_mesh: check ble mesh queue and task init status (v4.0)
See merge request espressif/esp-idf!6193
2019-09-25 15:08:23 +08:00
suda-morris
dda49709fe
ethernet: update spi-ethernet api
2019-09-25 06:34:39 +00:00
suda-morris
ebffa5f9f2
ethernet: test apps can build with ethernet disabled
2019-09-25 06:34:39 +00:00
Roland Dobai
fc738680f8
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-25 08:25:51 +02:00
Jiang Jiang Jian
1c586ebcfd
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v4.0' into 'release/v4.0'
...
BT/Bluedroid: Add support to set min encryption key size requirement (backport v4.0)
See merge request espressif/esp-idf!6180
2019-09-25 11:57:22 +08:00
Prasad Alatkar
499accb652
BT/Bluedroid: Add support to set min encryption key size requirement (backport)
...
- Backport of IDF MR!6122.
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:57:21 +08:00
Jiang Jiang Jian
988147a451
Merge branch 'bugfix/btdm_loop_in_feature_req_ext_v4.0' into 'release/v4.0'
...
components/bt: Fix sending LMP_features_req_ext in a loop
See merge request espressif/esp-idf!6023
2019-09-25 11:52:10 +08:00
lly
9e6c56f9f2
ble_mesh: check ble mesh queue and task init status
2019-09-25 11:03:18 +08:00
Jiang Jiang Jian
1b6eb69f53
Merge branch 'NimBLE/mbedTLS_option_for_tinycrypty_v4.0' into 'release/v4.0'
...
NimBLE: Add optional mbedTLS support to NimBLE (backport)
See merge request espressif/esp-idf!6146
2019-09-23 21:37:40 +08:00
Prasad Alatkar
daa65b6f91
NimBLE: Add optional mbedTLS support to NimBLE (backport)
...
- NimBLE: Additional menuconfig option to enable mbedTLS instead of Tinycrypt from
NimBLE, changes `component.mk` & `CMakeLists.txt` for the same.
- Addition of NimBLE stack size configuration and misc changes.
- mbedTLS: Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Example: Minor changes to `app_mesh.c` application.
2019-09-23 21:37:40 +08:00
Jiang Jiang Jian
7f9626d378
Merge branch 'cleanup/make_supp_headers_private_v4.0' into 'release/v4.0'
...
wpa_supplicant: Make internal crypto headers private (backport v4.0)
See merge request espressif/esp-idf!6061
2019-09-23 18:00:43 +08:00
wangmengyang
6cad60f34b
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-09-23 03:22:34 +00:00
Jiang Jiang Jian
b4c7ed999c
Merge branch 'bugfix/remove_v40_deprecations_v4.0' into 'release/v4.0'
...
Remove features deprecated before ESP-IDF V4.0 (v4.0)
See merge request espressif/esp-idf!6150
2019-09-20 19:51:51 +08:00
Jiang Jiang Jian
8a5c08df98
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v4.0' into 'release/v4.0'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done (backport v4.0)
See merge request espressif/esp-idf!6072
2019-09-20 14:02:19 +08:00
Angus Gratton
b1eac64865
build: In GNU Make, use "cygpath -m" to avoid backslashes
...
Fixes issues where backslashes in KCONFIG paths are later expanded as shell escape sequences.
2019-09-19 21:33:56 +10:00
xiehang
4e7b559101
Delete extra '/'
2019-09-19 19:22:44 +08:00
xiehang
43616f6f05
esp_wifi: Update wifi lib
2019-09-19 17:49:18 +08:00
Angus Gratton
3b9ab9caa6
idf_test: Disable tests for Wi-Fi auto reconnect
...
Disable one, remove IDF tag from the other
2019-09-19 18:49:37 +10:00
Jack
0dc9ddb77c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-19 18:49:37 +10:00
Jack
9ab92331c4
dport: remove clock_en and reset bitname which is not suitable
2019-09-19 18:49:37 +10:00
Angus Gratton
08416d05ba
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:49:37 +10:00
Angus Gratton
200c82561a
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros
...
Deprecated before ESP-IDF V1.0!
2019-09-19 18:49:37 +10:00
Angus Gratton
2e05c6020f
mbedtls: Remove esp_aes_encrypt/decrypt
...
Deprecated in ESP-IDF V3.1
Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.
2019-09-19 18:49:37 +10:00
Angus Gratton
d139c851f3
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:49:37 +10:00
Angus Gratton
365e3fd685
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-19 18:49:37 +10:00
Angus Gratton
71fad5e2c0
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
94ba3a20cb
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
5a7d3ef319
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
e4a4e6ed81
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
8094e880c6
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
35b9223cf4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
fe97d14e0f
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-19 18:48:14 +10:00
Angus Gratton
2c16557ee7
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:48:14 +10:00
Ivan Grokhotkov
5f8e5db268
esp32/test: fix usage of deprecated fields
2019-09-19 18:48:14 +10:00
Angus Gratton
a9fe3165c4
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum
...
Removes deprecated ways of setting/getting CPU freq, light sleep freqs.
Deprecated since ESP-IDF V3.2
2019-09-19 18:48:13 +10:00
Angus Gratton
b01036e13e
driver: Remove features deprecated pre-IDF V4.0
2019-09-19 18:47:15 +10:00
Angus Gratton
10649ae23b
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
c4306f7942
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
62be877ada
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-19 18:45:36 +10:00
suda-morris
546026d018
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:50:53 +08:00
Jiang Jiang Jian
05d3665a14
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh get timer remaining time (v4.0)
See merge request espressif/esp-idf!6059
2019-09-18 16:38:31 +08:00
michael
0bba92b2a0
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:16:00 +08:00
Michael (XIAO Xufeng)
399477cd10
coredump: use esp_flash api in coredump
...
Also put esp_flash functions into noflash region, when
ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables
the re-enabling of the CPU-cache when it's disabled during coredump.
This requires all the coredump functions including the flash API to be
in the D/IRAM.
2019-09-18 15:14:53 +08:00
Michael (XIAO Xufeng)
d3b54ec84a
esp_flash: fix the coredump issue
...
During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.
Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
2019-09-18 14:30:23 +08:00
Michael (XIAO Xufeng)
e4b44f3488
esp_flash: fix coredump for legacy spi flash API
...
When legacy mode is used, the coredump still fails during linking
because "esp_flash_init_default_chip", "esp_flash_app_init" and
"esp_flash_default_chip " are not compiled and linked.
Instead of using ``if`` macros in callers, these functions are protected
by ``if`` macros in the header, and also not compiled in the sources.
"esp_flash_default_chip" variable is compiled with safe default value.
2019-09-18 14:28:12 +08:00
Nachiket Kukade
ca80b0445d
wpa_supplicant: Make internal crypto headers private (backport v4.0)
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-09-17 13:28:30 +00:00
lly
1e01accaa4
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:30:03 +08:00
Martin Thierer
2ca3735edd
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:17:42 +08:00
Michael (XIAO Xufeng)
b9a2639ab4
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-16 17:10:08 +08:00
lly
77f186a7b9
ble_mesh: make unicast elem lookup O(1)
2019-09-16 15:06:52 +08:00
lly
89e848c820
ble_mesh: use adv report flow control for ble mesh
2019-09-16 14:44:34 +08:00
Angus Gratton
5e0cc123ee
Merge branch 'bugfix/cmake_sdkconfig_path' into 'release/v4.0'
...
fix bug for cmake build system
See merge request espressif/esp-idf!6102
2019-09-16 14:20:38 +08:00
jiangguangming
536c131114
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-16 11:18:04 +08:00
Angus Gratton
ef17d8bba1
Merge branch 'bugfix/httpd_sess_close_v4.0' into 'release/v4.0'
...
httpd_sess_close: Check for session validity before closing (v4.0)
See merge request espressif/esp-idf!5742
2019-09-16 08:21:37 +08:00
Angus Gratton
3194e12479
Merge branch 'bugfix/uart_select_free_v4.0' into 'release/v4.0'
...
VFS: Fix memory access after free() in UART select() (v4.0)
See merge request espressif/esp-idf!6085
2019-09-13 14:49:46 +08:00
Angus Gratton
bb52613bea
Merge branch 'bugfix/use_local_kconfiglib_v4.0' into 'release/v4.0'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v4.0)
See merge request espressif/esp-idf!6079
2019-09-13 14:47:07 +08:00
Piyush Shah
4ee065df79
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-09-12 08:41:31 +00:00
Roland Dobai
63c2834d7b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-12 08:38:31 +02:00
Jiang Jiang Jian
dbf2c3d480
Merge branch 'bugfix/btdm_config_msbc_v4.0' into 'release/v4.0'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5979
2019-09-12 13:23:54 +08:00
Jiang Jiang Jian
582d5de497
Merge branch 'bugfix/coex_bb_reset_lock_v4.0' into 'release/v4.0'
...
fix some coex bugs
See merge request espressif/esp-idf!6056
2019-09-12 11:04:10 +08:00
Jiang Jiang Jian
5a351af83f
Merge branch 'bugfix/flash_encryption_disable_plaintext_v4.0' into 'release/v4.0'
...
flash encryption: Always disable plaintext reflashes in Release mode (v4.0)
See merge request espressif/esp-idf!6070
2019-09-12 10:40:34 +08:00
Roland Dobai
a6fc9bf246
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:28:39 +02:00
Jiang Jiang Jian
d52b244ae8
Merge branch 'bugfix/openocd_ulp_install_instructions_v4.0' into 'release/v4.0'
...
docs: ulp: update for IDF Tools installation method (backport v4.0)
See merge request espressif/esp-idf!6065
2019-09-11 16:06:52 +08:00
Angus Gratton
00e3cb672b
Merge branch 'bugfix/flash_encryption_regressions_v4.0' into 'release/v4.0'
...
fix flash encryption regressions, add tests (backport v4.0)
See merge request espressif/esp-idf!6068
2019-09-11 12:06:02 +08:00
zhangyanjiao
67eb732dbe
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:37:29 +08:00
Jiang Jiang Jian
c53a5ee427
Merge branch 'bugfix/http_header_parser_resolution_v4.0' into 'release/v4.0'
...
(backport v4.0) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6041
2019-09-11 10:20:36 +08:00
Angus Gratton
69241907a5
bootloader: Link RTC clock functions to the iram_loader section
...
As flash encryption & secure boot needs these functions after the app is loaded.
Fixes regression introduced in fb72a6f629
2019-09-11 10:16:43 +10:00
Angus Gratton
d4ee21bd6d
docs: Small cleanup of flash encryption docs
2019-09-11 10:16:43 +10:00
Angus Gratton
5b69614e32
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
3e12967535
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80 has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
d9f1219a21
efuse: set timing configuration before writing
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
f3fc4916d2
ci: add jobs for flash encryption tests
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
b17ca9cb38
unit-test-app: add config with flash encryption enabled
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
801010dac6
spi_flash: fix mmap unit tests for flash encryption
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
f84394e550
examples/flash_encryption: refactor, add test
...
1. Clean up the example code
2. Add demonstration of partition read/write operations
3. Add example test
2019-09-10 17:19:44 +02:00
Ivan Grokhotkov
a0256b9e9d
flash encryption: add option to require flash encryption to be enabled
...
In testing environment, to avoid accidentally enabling flash
encryption on a device, CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED
can be set. If set, the bootloader will refuse to boot if flash
encryption is not enabled, instead of enabling it.
2019-09-10 17:19:08 +02:00
Ivan Grokhotkov
a37694741c
tiny-test-fw: support testing apps with flash encryption
...
If CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT is set, pass
--encrypted flag to esptool.py.
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
fae124a2c1
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
Closes https://github.com/espressif/esp-idf/issues/3907
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
ad100e497a
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
da8c09c463
cmake: check mconf-idf binary version
...
Print a warning if an outdated version of mconf-idf is found in
the PATH.
2019-09-10 17:15:15 +02:00
suda-morris
6df148aa54
docs: jtag-debugging: update translation
2019-09-10 17:12:48 +02:00
Ivan Grokhotkov
3fc9b022b6
docs: jtag-debugging: update for IDF Tools installation method
...
- rely on OPENOCD_SCRIPTS variable in all cases, remove -s flags
- replace installation section with a reference to the Getting Started
guides
- add Windows-specific commands in a few cases
2019-09-10 17:12:48 +02:00
suda-morris
28ee1c0da2
doc: update translation of ulp install instuctions
2019-09-10 17:10:17 +02:00
Ivan Grokhotkov
05b306bae1
docs: ulp: update for IDF Tools installation method
...
binutils-esp32ulp is installed automatically by install.sh/install.bat
or the IDF Tools Installer for Windows.
2019-09-10 17:10:17 +02:00
lly
8dbb2083ea
ble_mesh: fix ble mesh get timer remaining time
2019-09-10 17:01:03 +08:00
Tian Hao
a8590c7e8e
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-09-10 15:58:42 +08:00
Chinmay Chhajed
8876cda09b
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-10 05:58:49 +00:00
Angus Gratton
cec1c5f856
docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail
...
Including an example.
2019-09-10 15:10:30 +10:00
Jiang Jiang Jian
a7107d9bbd
Merge branch 'bugfix/ble_mesh_related_bugfixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh related bugfixes v4.0
See merge request espressif/esp-idf!6042
2019-09-10 09:48:36 +08:00
Angus Gratton
850684438b
Merge branch 'bugfix/ethernet_rx_length_check_v4.0' into 'release/v4.0'
...
ethernet: bugfix and optimize (v4.0)
See merge request espressif/esp-idf!6028
2019-09-10 07:58:46 +08:00
Angus Gratton
9d00f3b420
Merge branch 'deprecate/spi_common_claim_macros_v4.0' into 'release/v4.0'
...
spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0)
See merge request espressif/esp-idf!6006
2019-09-10 06:42:32 +08:00
Andrew
72264ca9b9
spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0)
2019-09-10 06:42:31 +08:00
Angus Gratton
da2025a74a
Merge branch 'bugfix/newlib_time_test_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6014
2019-09-10 06:40:09 +08:00
Angus Gratton
93bad7a0de
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v4.0' into 'release/v4.0'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v4.0)
See merge request espressif/esp-idf!6020
2019-09-10 06:39:19 +08:00
lly
55f687c763
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 18:10:52 +08:00
lly
329388fa47
ble_mesh: fix ble mesh btc may caused memory leak
2019-09-09 18:10:47 +08:00
lly
0f36dabcaf
ble_mesh: fix publication period timestamp initialization
2019-09-09 18:10:42 +08:00
lly
0299e22dd0
ble_mesh: remove useless mesh_opcode
2019-09-09 18:10:34 +08:00
lly
f072c5af4e
ble_mesh: fix bt_mesh_net_resend() caused compiling error
2019-09-09 17:47:56 +08:00
lly
6982663380
ble_mesh: fix adhering to the configured Friend Queue size
2019-09-09 17:47:47 +08:00
lly
1d970ad276
ble_mesh: remove useless code bt_mesh_trans_resend()
2019-09-09 17:47:30 +08:00
lly
a73cc70af9
ble_mesh: lpn remove msg from cache on rejection
2019-09-09 17:47:24 +08:00
lly
225ee8e5d1
ble_mesh: introduce a helper for send callback function
2019-09-09 17:47:18 +08:00
lly
fa4cd56d00
ble_mesh: fix heartbeat sending on friendship established/lost
2019-09-09 17:47:07 +08:00
lly
15f8b0fccc
ble_mesh: fix checking for active heartbeat publication
2019-09-09 17:46:49 +08:00
lly
97080afba2
ble_mesh: fix starting iv update when not on primary subnet
2019-09-09 17:46:43 +08:00
lly
612822d8c9
ble_mesh: fix canceling publication retransmit timer
2019-09-09 17:46:35 +08:00
lly
ff6cb921c3
ble_mesh: fix resending segments on correct bearer
2019-09-09 17:46:27 +08:00
lly
6f7b7c552d
ble_mesh: fix not sending all segments through the Friend Queue
2019-09-09 17:46:19 +08:00
lly
e00186e683
ble_mesh: fix canceled buffer memory leak
2019-09-09 17:46:06 +08:00
lly
a734b3b1bc
ble_mesh: remove some useless copy during ecdh calculation
2019-09-09 17:45:59 +08:00
lly
6de637811f
ble_mesh: move heartbeat sending to transport layer
2019-09-09 17:45:52 +08:00
lly
6ec0c6743a
ble_mesh: fix provisioning send error handling
2019-09-09 17:45:44 +08:00
lly
299c86cc84
ble_mesh: fix rejecting invalid remote public key
2019-09-09 17:45:27 +08:00
lly
d123f6c04b
ble_mesh: add error checks for scan start/stop
2019-09-09 17:45:20 +08:00
lly
3c17bf1a6f
ble_mesh: rename reset_link() to reset_adv_link()
2019-09-09 17:45:14 +08:00
lly
8fb20e4529
ble_mesh: fix public key mismatch error handling
2019-09-09 17:45:06 +08:00
lly
e020d1055a
ble_mesh: update protocol error timeout from zephyr
2019-09-09 17:44:17 +08:00
lly
05e4b28a74
ble_mesh: fix segmented message RPL behavior
2019-09-09 17:44:11 +08:00
lly
27bc688ed8
ble_mesh: clear LPN sent_req on failure
2019-09-09 17:43:59 +08:00
lly
a214fb2821
ble_mesh: update proxy sar operation from zephyr
2019-09-09 17:43:46 +08:00
lly
6b7b9d1550
ble_mesh: fix postponing storage deadline indefinitely
2019-09-09 17:43:40 +08:00
lly
18b873b2e3
ble_mesh: fix RPL storage timeout handling
2019-09-09 17:43:29 +08:00
lly
d1755c1484
ble_mesh: fix output MIC with additional data
2019-09-09 17:43:23 +08:00
lly
152ebb104d
ble_mesh: remove non-standard relay opearation
2019-09-09 17:43:13 +08:00
lly
e3b304997f
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
2019-09-09 17:43:04 +08:00
lly
1e20ed4849
ble_mesh: fix failed to set device role caused mem leak
2019-09-09 17:42:50 +08:00
lly
59b663c43d
ble_mesh: ble mesh btc miscellaneous modifications
2019-09-09 17:42:43 +08:00
lly
e9e28c1265
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:42:35 +08:00
lly
7030d612e2
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:42:20 +08:00
lly
2c852b0d74
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:42:08 +08:00
lly
708bff3b17
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:42:00 +08:00
lly
317f4c5ff5
ble_mesh: reorganize ble mesh model files
2019-09-09 17:41:54 +08:00
lly
2c025824d7
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:41:41 +08:00
lly
9b95064018
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:41:34 +08:00
Jiang Jiang Jian
ecdffe531e
Merge branch 'bugfix/reset_periph_modules_v4.0' into 'release/v4.0'
...
driver: Add a reset before enabling if a module is off (v4.0)
See merge request espressif/esp-idf!6015
2019-09-08 23:06:31 +08:00
Jiang Jiang Jian
31be6be147
Merge branch 'fix/esp_flash_set_get_wp_4.0' into 'release/v4.0'
...
esp_flash: fix the set/get write protection functions (backport v4.0)
See merge request espressif/esp-idf!5832
2019-09-08 16:34:40 +08:00
suda-morris
305a4a1b57
ethernet: bugfix and optimize
...
1. check frame length before pass to stack
2. replace semaphore with task notify
2019-09-06 15:46:18 +08:00
Jiang Jiang Jian
e659f1b15a
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v4.0' into 'release/v4.0'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v4.0)
See merge request espressif/esp-idf!6010
2019-09-06 14:52:58 +08:00
Jiang Jiang Jian
2c49592216
Merge branch 'refactor/move_smartconfig_ack_to_wifi_v4.0' into 'release/v4.0'
...
smartconfig: move smartconfig_ack to esp_wifi conponent (v4.0)
See merge request espressif/esp-idf!5999
2019-09-06 14:27:29 +08:00
baohongde
6afb2743e7
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:04:16 +08:00
KonstantinKondrashov
f7b458841f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-06 11:59:03 +08:00
KonstantinKondrashov
f1e9b8299f
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-06 11:59:03 +08:00
Konstantin Kondrashov
9ce1b8986a
rmt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
c5bea8dddb
pcnt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
ba6b502cc9
sdmmc_host/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
3b0b5f92a7
i2s/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
d6bc1b3cbc
can/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
199c4e55f2
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-09-06 11:34:53 +08:00
KonstantinKondrashov
61339353e9
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-06 11:30:01 +08:00
zhangyanjiao
3b2dda5197
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
...
2. fix the bug for softAP set authmode
2019-09-05 20:34:34 +08:00
Jiang Jiang Jian
1b8ed9abf0
Merge branch 'bugfix/btdm_crash_in_sket_ist_v4.0' into 'release/v4.0'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5947
2019-09-05 12:02:26 +08:00
Jiang Jiang Jian
f9453ef93d
Merge branch 'bugfix/btdm_config_but_task_size_fail_v4.0' into 'release/v4.0'
...
Bugfix/btdm config but task size fail v4.0
See merge request espressif/esp-idf!5962
2019-09-05 11:26:56 +08:00
suda-morris
dcf571c1cd
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-09-05 10:44:00 +08:00
Angus Gratton
538c56426a
Merge branch 'bugfix/err_code_collision_v4.0' into 'release/v4.0'
...
Fix error code collisions and re-enable CI check (v4.0)
See merge request espressif/esp-idf!5984
2019-09-04 09:10:19 +08:00
Roland Dobai
1402e78844
Fix error code collision and CI check
2019-09-03 08:07:16 +02:00
baohongde
01f0c8ef16
components/bt: Rename some macros
2019-09-03 10:28:49 +08:00
Zac Bond
a774406b91
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:28:12 +08:00
Jiang Jiang Jian
c9bff93080
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length_v4.0' into 'release/v4.0'
...
mbedtls: keep asymmetric tls buffer length option enabled by default (v4.0)
See merge request espressif/esp-idf!5970
2019-09-02 23:25:06 +08:00
Jiang Jiang Jian
4b8e4ff248
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0_v4.0' into 'release/v4.0'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5967
2019-09-02 22:22:22 +08:00
Jiang Jiang Jian
9dbf979cf3
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig_v4.0' into 'release/v4.0'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5951
2019-09-02 22:21:12 +08:00
baohongde
ad70ab8957
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:55:17 +08:00
Jiang Jiang Jian
cd5dc4d05f
Merge branch 'doc/add_ble_mesh_example_description_v4.0' into 'release/v4.0'
...
ble_mesh: add ble mesh example description(backport v4.0)
See merge request espressif/esp-idf!5948
2019-09-02 14:29:13 +08:00
Angus Gratton
ebb9384681
Merge branch 'bugfix/various_cmake_fixes_v4.0' into 'release/v4.0'
...
CMake: Various backports
See merge request espressif/esp-idf!5933
2019-09-02 12:46:40 +08:00
Jiang Jiang Jian
0d3fde04ff
Merge branch 'bugfix_kconfig_deps_missing_v4.0' into 'release/v4.0'
...
kconfig: Add -MP option so .d files include empty targets (v4.0)
See merge request espressif/esp-idf!5845
2019-09-02 12:43:28 +08:00
Jiang Jiang Jian
0552ec5791
Merge branch 'update/cjson_v1_7_12_v4.0' into 'release/v4.0'
...
Update cJSON to v1.7.12 (v4.0)
See merge request espressif/esp-idf!5850
2019-09-02 12:41:30 +08:00
Jiang Jiang Jian
524eef9225
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v4.0' into 'release/v4.0'
...
test: fix nvs compatible case error (backport v4.0)
See merge request espressif/esp-idf!5891
2019-09-02 12:40:46 +08:00
Jiang Jiang Jian
955f7e2877
Merge branch 'test/fix_mesh_test_case_4.0' into 'release/v4.0'
...
test: fix test case MESH_EST_2403 (backport 4.0)
See merge request espressif/esp-idf!5907
2019-09-02 12:38:51 +08:00
lly
e28834aa15
ble_mesh: add ble mesh example description
2019-09-02 12:17:47 +08:00
Jiang Jiang Jian
ac03786412
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v4.0' into 'release/v4.0'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v4.0)
See merge request espressif/esp-idf!5952
2019-09-02 12:04:49 +08:00
Mahavir Jain
a5dae2ff43
mbedtls: keep asymmetric tls buffer length option enabled by default
2019-08-31 10:24:37 +05:30
baohongde
1d0142d25d
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-30 17:56:01 +08:00
Angus Gratton
65ef597da6
Merge branch 'bugfix/test_esp_efuse_table_on_host_v4.0' into 'release/v4.0'
...
CI: Fix path in the Efuse table test (v4.0)
See merge request espressif/esp-idf!5953
2019-08-30 16:27:47 +08:00
Jiang Jiang Jian
310beae373
Merge branch 'bugfix/revert_optimize_wifi_rx_v4.0' into 'release/v4.0'
...
esp_wifi: revert WiFi RX optimization
See merge request espressif/esp-idf!5941
2019-08-30 10:59:20 +08:00
liu zhifu
cf0caaec11
esp_wifi: revert WiFi RX optimization
...
Revert following commit since it has compatibility issue:
commit 45dd6175cd
esp32: optimize wifi rx
2019-08-29 21:26:42 +08:00
baohongde
4af9504a65
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:58 +08:00
Roland Dobai
64bece146c
Fix path in the Efuse table test
2019-08-29 09:50:38 +02:00
Nachiket Kukade
6b348b94e3
wps: Relax the check on older config methods in case of WPS2.0 (backport
...
v4.0)
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-29 13:05:02 +05:30
baohongde
6222040888
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:31:57 +08:00
Angus Gratton
ea1037742d
Merge branch 'bugfix/confgen_msys_path_v4.0' into 'release/v4.0'
...
Fix sdkconfig.rename paths for confgen.py in MSYS (v4.0)
See merge request espressif/esp-idf!5904
2019-08-29 10:15:21 +08:00
Mahavir Jain
465d46e9dd
Merge branch 'bugfix/cmake_src_exclude_issue_v4.0' into 'release/v4.0'
...
cmake: fix issue with handling of EXCLUDE_SRCS (v4.0)
See merge request espressif/esp-idf!5900
2019-08-28 14:42:20 +08:00
Renz Christian Bagaporo
e71e4da388
cmake: check include directories
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
c711e969cc
components: fix incorrect include dir args
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
3f1ec39a8d
cmake: fix issue with checking build process args
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
f62798cb8b
cmake: make default version 1
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
b6c89984a9
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
520ecb0c4d
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2019-08-28 10:28:17 +08:00
Per Malmberg
b669495d97
Make sure ESP_PLATFORM is defined when processing CMake files.
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
8778c551eb
cmake: set build dir for mconf-idf
...
Fixes an issue where if idf_build_process is called in a CMake
subdirectory, menuconfig looks for the mconf-idf binary in the wrong
place (in the subdirectory build dir instead of root binary dir).
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
c34d313a86
mbedtls: add source files to appropriate library
2019-08-28 10:28:17 +08:00
Jiang Jiang Jian
ebcb3a22b8
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice_v4.0' into 'release/v4.0'
...
Component/bt: fix some BLE bugs (backport v4.0)
See merge request espressif/esp-idf!5909
2019-08-27 18:49:55 +08:00
Renz Christian Bagaporo
6781d01e89
cmake: fix encrypted project flash arg file generation
2019-08-27 13:35:39 +08:00
Renz Christian Bagaporo
4c9f30a869
cmake: set component properties
2019-08-27 13:35:21 +08:00
baohongde
61ba1c3026
components/bt: backport 2 BT bugfix about controller
...
1.Bugfix btdm sleep twice after wakeup request
2.Set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-27 10:42:40 +08:00
zhiweijian
90bbea65c1
Component/bt: fix some BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 20:29:01 +08:00
chenyudong
672e9f4abc
test: fix test case MESH_EST_2403
2019-08-26 20:26:46 +08:00
Roland Dobai
cb3d458050
Fix sdkconfig.rename paths for confgen.py in MSYS
...
Closes https://github.com/espressif/esp-idf/issues/3950
2019-08-26 11:12:44 +02:00
Mahavir Jain
b72ff61899
cmake: fix issue with handling of EXCLUDE_SRCS
2019-08-26 11:49:30 +05:30
He Yin Ling
83b9727c42
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-25 20:46:56 +08:00
Jiang Jiang Jian
7bb8b5ba9e
Merge branch 'Bugfix/nonblocking_udp_is_zero_for_4.0' into 'release/v4.0'
...
fix bug for nonblocking udp is zero for v4.0
See merge request espressif/esp-idf!5855
2019-08-23 10:50:45 +08:00
xueyunfei
1f5f6adcb6
fix bug for nonblocking udp is zero for v4.0
2019-08-21 17:07:45 +08:00
Angus Gratton
aa0bb29404
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:40:50 +10:00
Angus Gratton
2264ea7714
kconfig: Add -MP option so .d files include empty targets
...
Prevents make-level errors when switching IDF versions, as headers may be removed.
Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-21 18:20:47 +10:00
Michael (XIAO Xufeng)
a626b26cf9
esp_flash: improve the comments a bit
2019-08-20 14:05:35 +08:00
Michael (XIAO Xufeng)
1cc860216e
esp_flash: fix the set/get write protection functions
...
Add support for get write protection support, fixed the duplicated
set_write_protection link.
All the write_protection check in the top layer are removed. The lower
levels (chip) should ensure to disable write protection before the
operation start.
2019-08-20 14:05:35 +08:00
Angus Gratton
16ee476a77
Merge branch 'bugfix/config_panic_gdbstub_build_issue_v4.0' into 'release/v4.0'
...
esp32_gdbstub: fix build error with esp32-2019r1 toolchain (v4.0)
See merge request espressif/esp-idf!5764
2019-08-20 13:11:24 +08:00
Angus Gratton
674ecc3b56
Merge branch 'bugfix/vfs_concurrent_select_v4.0' into 'release/v4.0'
...
VFS: Support concurrent VFS select calls & improve the documentation (backport v4.0)
See merge request espressif/esp-idf!5797
2019-08-20 12:49:03 +08:00
Angus Gratton
43efee5232
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling_v4.0' into 'release/v4.0'
...
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors (v4.0)
See merge request espressif/esp-idf!5768
2019-08-20 12:28:56 +08:00
Angus Gratton
5dab23ea98
Merge branch 'bugfix/confserver_temporaryfile_windows_v4.0' into 'release/v4.0'
...
confserver: Fix NamedTemporaryFile use on Windows (v4.0)
See merge request espressif/esp-idf!5818
2019-08-20 12:28:16 +08:00
Angus Gratton
79afd2d580
confserver: Fix NamedTemporaryFile use on Windows
...
Can't have the file open twice, so need to close and delete after reopening.
2019-08-19 17:44:18 +10:00
Roland Dobai
a8e8919bbf
tools: Support sdkconfig.rename files from outside IDF in confgen.py
2019-08-19 17:44:18 +10:00
Angus Gratton
ba0f4f17ed
Merge branch 'bugfix/doc_pip_requirements_v4.0' into 'release/v4.0'
...
Add -r flag to pip install command from file (backport v4.0)
See merge request espressif/esp-idf!5798
2019-08-16 13:16:04 +08:00
Angus Gratton
a63b3c4fe6
Merge branch 'feature/dport_eco_revision2_v4.0' into 'release/v4.0'
...
make dport workaround depend on chip revision (v4.0)
See merge request espressif/esp-idf!5765
2019-08-16 13:15:18 +08:00
Angus Gratton
6b8c75d87c
Merge branch 'bugfix/hwcrypt_fault_inj_v4.0' into 'release/v4.0'
...
AES & SHA fault injection checks (backport v4.0)
See merge request espressif/esp-idf!5748
2019-08-16 05:29:54 +08:00
Luke Bayes
68d82abe52
Added -r flag to pip install command from file
...
Closes https://github.com/espressif/esp-idf/pull/3874
Closes https://github.com/espressif/esp-idf/issues/3915
2019-08-15 14:23:49 +02:00
Roland Dobai
ec31f235e9
docs: Correct and extend the documentation about VFS select()
2019-08-15 14:11:51 +02:00
Roland Dobai
7e9d90b180
VFS: Support concurrent VFS select calls
...
Closes https://github.com/espressif/esp-idf/issues/3392
2019-08-15 14:11:37 +02:00
Angus Gratton
d4fcbe37f3
Merge branch 'bugfix/idf_tool_default_encoding_v4.0' into 'release/v4.0'
...
idf_tool: fix UnicodeDecodeError (v4.0)
See merge request espressif/esp-idf!5720
2019-08-15 16:35:58 +08:00
Angus Gratton
b9a5f764ba
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v4.0' into 'release/v4.0'
...
bugfix(flash): add spi dio address bitlen configure in psram init (backprot v4.0)
See merge request espressif/esp-idf!5790
2019-08-15 12:08:56 +08:00
chenjianqiang
764b70d7e6
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:52:56 +08:00
Angus Gratton
a1496b90e5
Merge branch 'bugfix/fix_ledc_clock_select_bug_v4.0' into 'release/v4.0'
...
driver(ledc): fixed ledc clock selection bug for v4.0
See merge request espressif/esp-idf!5757
2019-08-14 10:44:39 +08:00
Mahavir Jain
622d6d5504
mbedtls: use errno instead of SO_ERROR for getting socket errors
...
As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html
Fixes https://github.com/espressif/esp-azure/issues/51
2019-08-13 13:11:24 +05:30
suda-morris
1b903111b6
efuse: update the scheme of getting chip revision
2019-08-13 14:37:17 +08:00
Mahavir Jain
69ef694178
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
...
Fixes https://github.com/espressif/esp-idf/issues/3866
Closes https://github.com/espressif/esp-idf/issues/3834
2019-08-13 11:38:28 +05:30
Angus Gratton
81651b47a4
Merge branch 'ci/disable_nimble_tests_v4.0' into 'release/v4.0'
...
ci: Temporarily disable NimBLE tests in CI (v4.0)
See merge request espressif/esp-idf!5754
2019-08-13 10:42:38 +08:00
Jiang Jiang Jian
30dc86179c
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v4.0' into 'release/v4.0'
...
fix wifi bugs for authmode and multi ssid (backport v4.0)
See merge request espressif/esp-idf!5725
2019-08-12 23:34:43 +08:00
kooho
eff3ac05b3
driver(ledc): fixed ledc clock selection bug for release/v4.0
2019-08-12 17:16:52 +08:00
Angus Gratton
e5349d47a8
ci: Temporarily disable NimBLE tests in CI
2019-08-12 17:14:54 +10:00
zhangyanjiao
4253adf42b
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-12 02:38:44 +00:00
zhangyanjiao
088ed65194
wifi: fix wifi bugs for authmode and multi ssid
2019-08-12 02:38:44 +00:00
Angus Gratton
0ce94950b7
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Angus Gratton
ae8b2684d7
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Angus Gratton
9c51f679a7
Merge branch 'bugfix/update_example_docs_build_instructions_to_cmake_v4.0' into 'release/v4.0'
...
examples: change default build instructions in docs to CMake (v4.0)
See merge request espressif/esp-idf!5704
2019-08-09 13:20:25 +08:00
suda-morris
5c07acad46
idf_tool: fix unicode decode error
...
Closes https://github.com/espressif/esp-idf/issues/3841
2019-08-07 21:27:29 +08:00
Mahavir Jain
70af759dd2
examples: change default build instructions in docs to CMake
2019-08-06 17:25:25 +05:30
Mahavir Jain
76191a0f55
Merge branch 'move/ble_example_v4.0' into 'release/v4.0'
...
examples/bluetooth: Move the demos to the appropriate locations (v4.0)
See merge request espressif/esp-idf!5687
2019-08-06 00:32:26 +08:00
Hrishikesh Dhayagude
f0c3114f2f
examples/bluetooth: Move the demos to the appropriate locations (v4.0)
2019-08-06 00:32:25 +08:00