Commit Graph

18514 Commits

Author SHA1 Message Date
Zhang Jun Hao
4d612ad053 esp_wifi: fix crash when csi enable 2021-06-10 16:30:50 +08:00
David Cermak
4cdc583ccd CI: Removed weekend network tests
Temporarily, before getting reworked and stable for running in the CI
2021-06-10 09:11:40 +02:00
David Cermak
32fb96734c CI/mqtt: Execute mqtt weekend tests from test apps 2021-06-10 09:10:16 +02:00
David Cermak
badcbe0fcb mqtt: Moved weekend tests to test apps 2021-06-10 09:09:14 +02:00
Angus Gratton
ad7ad185e3 Merge branch 'bugfix/c3_s3_apb_freq' into 'master'
esp_hw_support: Fix ESP32-C3/S3 APB frequency

See merge request espressif/esp-idf!13296
2021-06-09 23:42:09 +00:00
Michael (XIAO Xufeng)
1322a44588 Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
MCPWM: refactor driver and support ESP32-S3

Closes IDF-1765

See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Darian Leung
18f9dabce1 USB: Change IRP to URBs
This commit changes the IRP (I/O Request Packet) structure to
the URB (USB Request Block) in order to represent USB transfers
in the host stack. The new URB strcuture:

- Add extra safety with const fields
- Allows each layer of the stack to add their own overhead variables

The HCD layer API and tests have been updated to use this new URB structure
2021-06-09 22:09:46 +08:00
Omar Chebib
7dd499d1f4 i2c: commands can now be re-used without deleting and creating new cmd links
It is now possible to call `i2c_master_cmd_begin()` on the same
`i2c_cmd_handle_t` parameter. Thus, no extra allocation will be performed.
Moreover, as commands contains pointers to data, these can be modified
between two calls to `i2c_master_cmd_begin()`. This becomes very handy
for framebuffers.
2021-06-09 17:03:39 +08:00
Jiang Jiang Jian
1d1060e25b Merge branch 'bugfix/wapi_keymgmt' into 'master'
WAPI: Key mgmt type compability issue.

Closes WIFI-3717 and WIFI-3716

See merge request espressif/esp-idf!13752
2021-06-09 08:07:48 +00:00
Jakob Hasse
468b7ac6eb [test_utils]: added extern C decl to ccomp
Closes https://github.com/espressif/esp-idf/issues/7121
2021-06-09 15:37:21 +08:00
Angus Gratton
e20ccf4846 Merge branch 'feature/esp_log_level_get_pr6573' into 'master'
log: Add esp_log_level_get() function (PR)

Closes IDFGH-4770

See merge request espressif/esp-idf!13881
2021-06-09 07:32:39 +00:00
Omar Chebib
cfcbca1271 i2c: optimize space allocated for read or write buffers
Only a single command will be allocated now when a read or write is
prepared in the command list. The size of a command's buffer is not
limited to 255 bytes anymore.
2021-06-09 15:21:20 +08:00
Omar Chebib
e1f388f114 i2c: add i2c_cmd_link_create_static() to create commands from a given buffer
Application can now provide a buffer in order to allocate commands link.
Fixed few unclear details in the documentation.
Added wrappers to simplify I2C transfers.

Closes https://github.com/espressif/esp-idf/issues/5108
2021-06-09 15:21:20 +08:00
Island
74414cc5e3 Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure' into 'master'
ble_mesh: stack: Add the check of Provisioning Random & Confirmation sent and...

See merge request espressif/esp-idf!13886
2021-06-09 06:34:58 +00:00
Angus Gratton
bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720 mcpwm: refactor unit test 2021-06-09 12:27:01 +08:00
morris
d4fe219c49 mcpwm: refactor driver 2021-06-09 12:27:01 +08:00
Angus Gratton
0716520423 Merge branch 'feature/s3_doc_build' into 'master'
build docs: enable building of S3 docs

Closes IDF-3284

See merge request espressif/esp-idf!13661
2021-06-09 04:09:55 +00:00
wangjialiang
48979803e8 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-09 03:24:35 +00:00
Island
63e22a1860 Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash' into 'master'
component/bt: fix enable gattc nvs cache lead to crash

See merge request espressif/esp-idf!13887
2021-06-09 02:47:34 +00:00
Michael (XIAO Xufeng)
afe9b42cbf Merge branch 'typo_fix/fix_typo_in_comment_in_uart_ll' into 'master'
Fix typo in `include/hal/uart_ll.h`

Closes IDFGH-5320

See merge request espressif/esp-idf!13826
2021-06-09 02:13:36 +00:00
He Yin Ling
97a09e51ce example: set example wifi scan method to all channel:
in CI example test we could have runners with same SSID in the same lab.
Use scan on all channel will let DUT connect to the AP with best RSSI.
2021-06-09 10:01:17 +08:00
Marius Vikhammer
fbd6e9e320 docs: remove duplicate label 2021-06-09 09:30:42 +08:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Angus Gratton
d995086621 Merge branch 'bugfix/memprot_bypass' into 'master'
System/Security: Memprot bypassing mitigation

Closes IDF-2700

See merge request espressif/esp-idf!13795
2021-06-09 00:02:30 +00:00
Mahavir Jain
3a65e38bfa Merge branch 'bugfix/check_for_eof' into 'master'
esp_http_server, protocomm: Close the connection when recv() returns 0

Closes IDFGH-4735

See merge request espressif/esp-idf!12747
2021-06-08 14:41:33 +00:00
Shu Chen
43278fda3e Merge branch 'bugfix/openthread-uart-error' into 'master'
openthread: fix wrong OpenThread uart read return value handling

See merge request espressif/esp-idf!13909
2021-06-08 13:53:08 +00:00
Jiacheng Guo
c88e1e3712 openthread: fix wrong OpenThread uart read return value handling 2021-06-08 19:49:37 +08:00
He Yin Ling
0ea9ae2920 Merge branch 'ci/asio_example_test_connect_fail' into 'master'
CI: fix connection failures in asio example tests

Closes IDFCI-509

See merge request espressif/esp-idf!13697
2021-06-08 08:56:08 +00:00
Angus Gratton
5b12cd4a76 esp_hw_support: Fix ESP32-C3/S3 APB frequency
Regression in e6edf34e82, APB frequency
accidentally set at 81MHz not 80MHz.
2021-06-08 07:52:32 +00:00
Angus Gratton
6961e4b3d5 Merge branch 'bugfix/ulp_overflow_rtc_mem' into 'master'
ulp: ULP_COPROC_RESERVE_MEM limitation

See merge request espressif/esp-idf!13814
2021-06-08 07:20:46 +00:00
Krzysztof Budzynski
aaa377f6f7 Merge branch 'docs/translate_example_for_WiFi_Coexistence' into 'master'
docs: provide EN translation for ble_mesh_wifi_coexist readme

Closes DOC-1409

See merge request espressif/esp-idf!13718
2021-06-08 07:18:04 +00:00
Krzysztof Budzynski
93334ea73a Merge branch 'docs/update_CN_trans_startup_debugging-example' into 'master'
docs:update CN translation for startup and debugging-example

See merge request espressif/esp-idf!13791
2021-06-08 07:09:27 +00:00
Fu Hanxi
a624d3bf32 ci: retry download artifacts 2021-06-08 15:04:06 +08:00
Angus Gratton
7529355597 Merge branch 'bugfix/remove_unnecessary_cmake_comment' into 'master'
[unity]: deleted unuseful comment for linux target

See merge request espressif/esp-idf!13865
2021-06-08 06:57:11 +00:00
Angus Gratton
6c44fe291c esp_log: Refactor esp_log_level_get() into a common static function
Removes duplicate code for a small runtime & size overhead if
esp_log_level_get() is not called in the firmware.

Follow-up to https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
0xFEEDC0DE64
fc85f8a47d esp_log: Implemented esp_log_level_get(TAG)
Closes https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
Marius Vikhammer
4786f2d88a aes/sha/rsa: update registers for ESP32-S3
Updates register headers for ESP32-S3 and default
crypto accelerators for S3 to enabled
2021-06-08 14:15:18 +08:00
Mahavir Jain
664c9a343a Merge branch 'feature/prov_mgr_reset_state' into 'master'
wifi_provisioning: Add API to erase credentials and reset provisioning state

See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Shu Chen
eae45bb41e Merge branch 'example/ot_tcp_socket' into 'master'
openthread: add ot tcp/udp socket example

See merge request espressif/esp-idf!13730
2021-06-08 05:57:58 +00:00
Siarhei Volkau
ba15970abb esp_http_server, protocomm: Consider a connection as closed if recv() returns 0
This check prevents infinite loop on closed sockets

Closes https://github.com/espressif/esp-idf/pull/6541

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-06-08 05:48:30 +00:00
daiziyan
bb6a02ae53 docs:update CN translation for startup and debugging-example 2021-06-08 11:18:27 +08:00
daiziyan
37c1060462 docs: update both CN and EN vesion for WiFI Coexistence example 2021-06-08 11:02:46 +08:00
Michael (XIAO Xufeng)
b94c61497d Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
spi_flash: reverted unwilling cs_setup argument

See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
Anton Maklakov
2e47854c10 Merge branch 'ci/unify_all_target_test_artifacts_paths' into 'master'
ci: unify target test artifacts to all .log file and $LOG_PATH

Closes IDFCI-661

See merge request espressif/esp-idf!13838
2021-06-07 15:54:22 +00:00
zhangwenxu
7bc44ad5aa openthread: add ot tcp and udp socket example 2021-06-07 21:50:19 +08:00
Shubham Kulkarni
f06d1cdc75 wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal 2021-06-07 12:23:28 +00:00
Shubham Kulkarni
ad0399b2f8 wifi_prov_mgr: Add Kconfig option to restart provisioning 2021-06-07 12:23:28 +00:00
Shubham Kulkarni
34bdbf9ee2 wifi_provisioning: Add API to reset state if provisioning fails 2021-06-07 12:23:28 +00:00
Michael (XIAO Xufeng)
e005ec0899 Merge branch 'feature/s3_base_support' into 'master'
soc: S3 base support

See merge request espressif/esp-idf!13827
2021-06-07 12:07:08 +00:00