Commit Graph

12345 Commits

Author SHA1 Message Date
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
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
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
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
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
Jiacheng Guo
c88e1e3712 openthread: fix wrong OpenThread uart read return value handling 2021-06-08 19:49:37 +08: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
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
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
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
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
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
Anton Maklakov
e5faf4f924 ci: fix test_build_system* fails 2021-06-07 18:48:38 +07:00
xiewenxiang
96811de932 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 17:28:12 +08:00
alex.li
db165da4b8 WAPI: Key mgmt type compability issue. 2021-06-07 17:11:01 +08:00
Anton Maklakov
343cc5025b make build system: fix build for undefined _lock_* funcs 2021-06-07 12:53:45 +07:00
Anton Maklakov
b46b50eaa6 newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips 2021-06-07 12:53:45 +07:00
Anton Maklakov
5a982ffe7a hal: fix ee.get_gpio_in command for esp32-s3 2021-06-07 12:52:50 +07:00
Angus Gratton
0f1b24891b Merge branch 'bugfix/esp32_u4wdh_quad_io' into 'master'
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip

Closes IDFGH-4353

See merge request espressif/esp-idf!13111
2021-06-07 04:50:54 +00:00
Angus Gratton
18e3055f75 Merge branch 'bugfix/repl_on_another_uart' into 'master'
console: fix a bug preventing us from starting a CLI on non-default UART

Closes IDFGH-5114

See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
wangmengyang
775465c140 components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP 2021-06-07 11:31:15 +08:00
Marius Vikhammer
19a492bc8d soc: add base support for ESP32-S3
Updates the following with changes from verification branches:

 * esp_rom linker files
 * rtc_cntl and system reg and struct headers

Also updates:
 * GDMA driver with new register layout
 * esptool submodule commit
2021-06-07 10:40:14 +08:00
Jan Brudný
325deed208 esp32: update copyright notice 2021-06-04 11:51:06 +02:00
Michael (XIAO Xufeng)
dc6d6f225e spi_flash: reverted unwilling cs_setup argument
Partially reverted 08f1bbe0c7.

The host should have this flexibility, which is consistent to the cs_hold argument.

However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Michael (XIAO Xufeng)
1596e336a1 Merge branch 'bugfix/spi_flash_cs_setup' into 'master'
spi_flash: fix cs line setup to make the flash driver more stable

Closes IDF-3240

See merge request espressif/esp-idf!13623
2021-06-04 07:05:05 +00:00
Angus Gratton
65f70b946f Merge branch 'bugfix/misc_ci_fixes' into 'master'
ci: esp_err_to_name and check_readme_links fixes

See merge request espressif/esp-idf!13859
2021-06-04 06:46:27 +00:00
Jakob Hasse
1dfdf803b3 [unity]: deleted unuseful comment for linux target 2021-06-04 14:03:31 +08:00
Jiang Jiang Jian
5cbea220b0 Merge branch 'feature/decouple_esp_phy' into 'master'
esp_phy: decouple esp_phy component from esp_wifi and bt

See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Marius Vikhammer
018582dc64 ULP: reduce max possible memory reserved for ULP coprocessor
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.

Closes https://github.com/espressif/esp-idf/issues/7073
2021-06-04 12:15:52 +08:00
Marius Vikhammer
2f705136e9 bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-06-04 12:15:52 +08:00
Jiacheng Guo
a4f263948c mdns: fix test script delayed response 2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2 mdns: fix wrong SRV/PTR record handling 2021-06-04 10:44:36 +08:00
Jiacheng Guo
439b31d065 mdns: fix wrong service hostname after mangling 2021-06-04 10:44:36 +08:00
Jiacheng Guo
7bbb72d865 mdns: fix empty address change announce packets 2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984 mdns: fix mdns probe/reply behavior
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d mdns: make delegate host address a list
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096 mdns: add remove delegate host api 2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1 mdns: add mdns delegation
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
5f244c86f2 mdns: fix memory free issue when repeating the query in reply
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-06-04 10:44:36 +08:00
Angus Gratton
2aa48c9558 Merge branch 'doc/performance_guide' into 'master'
doc: Add performance guides for execution speed, binary size, RAM usage

Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408

See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Marius Vikhammer
1ddaef7fc3 system: regenerate esp_err_to_name.c 2021-06-04 10:07:38 +08:00
Shu Chen
246e006aab esp_phy: update esp-phy-lib and esp32-wifi-lib submodules 2021-06-03 19:08:04 +08:00
Michael (XIAO Xufeng)
b5d2e9478b Merge branch 'bugfix/spi_ll_intr_bits' into 'master'
spi: Fix wrong target register for interrupt disable

See merge request espressif/esp-idf!13646
2021-06-03 10:22:25 +00:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
David Čermák
72f1c47554 Merge branch 'bugfix/mdns_interface_del_crash' into 'master'
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets

See merge request espressif/esp-idf!13613
2021-06-03 07:31:36 +00:00
Shu Chen
480fcfd7a6 Merge branch 'feature/uprev-openthread-210603' into 'master'
openthread: update openthread version

See merge request espressif/esp-idf!13839
2021-06-03 07:25:29 +00:00
Mahavir Jain
d0a8ff12ec Merge branch 'bugfix/esp_https_ota' into 'master'
esp_https_ota: Add  check for HTTP error codes and documentation updates

Closes IDFGH-5285 and IDFGH-5298

See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Angus Gratton
f19d6df8eb Merge branch 'update_copyright_notice_bootloader' into 'master'
bootloader: update copyright notice, part 1

See merge request espressif/esp-idf!13494
2021-06-03 04:22:51 +00:00
Jiacheng Guo
84cc1b8e96 openthread: update openthread version
Uprev OpenThread to check in TCP message leak fix.
2021-06-03 12:02:17 +08:00
Angus Gratton
1281895785 lwip: Add a note that enabling debug increases the binary size 2021-06-03 13:55:34 +10:00
Angus Gratton
dc6b950257 doc: Add performance guides for execuion speed, binary size, RAM usage
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
Shu Chen
e470e7c4c3 Merge branch 'feature/ot-lwip-interface' into 'master'
openthread: add lwIP network interface

See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Suren Gabrielyan
03de74a728 mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-02 13:43:54 +00:00
Jan Brudný
dffe49f305 bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
Shubham Kulkarni
3064487c20 esp_https_ota: Add check for HTTP error codes and corresponding error logs
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-02 11:19:30 +00:00
Michael (XIAO Xufeng)
e25e02e06d Merge branch 'feature/usb_esp32s3_add_host_support' into 'master'
usb/hal/soc: add USB Host support on ESP32-S3

Closes IDF-2713

See merge request espressif/esp-idf!13522
2021-06-02 09:57:58 +00:00
Alex Lisitsyn
46020fe13a usb/hal/soc: initial copy of usbh support from esp32s2
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00
Angus Gratton
a69e6a1a37 Merge branch 'bugfix/rtc_retain_mem_addr' into 'master'
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2

See merge request espressif/esp-idf!13811
2021-06-02 09:12:19 +00:00
Jiacheng Guo
52a68cb7fe openthread: integrate OpenThread network interface with esp_netif 2021-06-02 17:03:54 +08:00
Andrey Starodubtsev
8488055711 Fix typo in include/hal/uart_ll.h
s/final state machine/finite-state machine/g

Signed-off-by: bizhuangyang <bizhuangyang@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/7076
2021-06-02 15:37:30 +08:00
David Čermák
4b7a7e559a Merge branch 'bugfix/esp_netif_list_match_improvement' into 'master'
esp-netif: Improve netif list operations (GitHub PR)

Closes IDFGH-5289

See merge request espressif/esp-idf!13636
2021-06-01 12:47:18 +00:00
David Čermák
a660594e71 Merge branch 'bugfix/esp_netif_ppp_set_auth_fail' into 'master'
esp_netif: Fix failing ppp_set_auth() due to wrong arg check

Closes IDFGH-5284

See merge request espressif/esp-idf!13602
2021-06-01 11:30:29 +00:00
Angus Gratton
f486736cbf bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
Regression in 83bf2e1ac1, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 18:58:55 +10:00
Jiang Jiang Jian
2a27e46cd9 Merge branch 'bugfix_fix_ble_ANON_ADV_addr_err' into 'master'
Fixed BLE ANON_ADV address error

Closes BT-1706

See merge request espressif/esp-idf!13789
2021-06-01 08:44:54 +00:00
Cao Sen Miao
08f1bbe0c7 spi_flash: fix cs line setup to make the flash driver more stable 2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad console: fix a bug preventing us from starting a CLI on non-default UART
It is now possible to start a REPL CLI on another UART than the default
one.

Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Angus Gratton
fe94de0310 Merge branch 'update_copyright_notice_efuse' into 'master'
efuse: update copyright notice

See merge request espressif/esp-idf!13782
2021-06-01 06:54:49 +00:00
Angus Gratton
c49c915bcc Merge branch 'feature/allow_efuses_be_nested_in_efuse_table' into 'master'
efuse: Adds support describe structures of efuses in efuse_table

Closes IDF-3200

See merge request espressif/esp-idf!13643
2021-06-01 06:31:20 +00:00
David Cermak
8ae19ed332 esp_netif: Fix failing ppp_set_auth() due to wrong arg check
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-01 05:32:39 +00:00
zhiweijian
a85890dd9d Fixed ANON_ADV address error 2021-06-01 11:43:40 +08:00
Martin Vychodil
1e58eb6928 system/security: Memprot bypassing mitigation
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.

Closes IDF-2700
2021-06-01 00:07:09 +02:00
Ivan Grokhotkov
5f0ec8c9b7 Merge branch 'feature/log_linux' into 'master'
[log]: Normal log works on Linux

Closes IDF-3245

See merge request espressif/esp-idf!13610
2021-05-31 17:16:43 +00:00
Gustavo Henrique Nihei
c1b3d77dcf spi: Fix wrong target register for interrupt disable 2021-05-31 11:25:32 -03:00
Mahavir Jain
863c3ae12f Merge branch 'update_copyright_notice_esp_tls_http_server_client' into 'master'
esp-tls, esp_http_client and esp_http_server: update copyright notice

See merge request espressif/esp-idf!13781
2021-05-31 12:06:15 +00:00
Jan Brudny
967e057906 esp-tls, esp_http_client and esp_http_server: update copyright notice 2021-05-31 20:06:09 +08:00
KonstantinKondrashov
4d35b1fc5b efuse: Updates common_efuse_table for all chips 2021-05-31 08:42:57 +00:00
KonstantinKondrashov
29f853633d efuse: Adds support structure of efuses in efuse_table
Supported a new format of efuse description using '.' in the name.
It means that RD_DIS.KEYx belongs to the range of the RD_DIS name.
RD_DIS,                           EFUSE_BLK0,   32,    7,     Read protection
    RD_DIS.KEY0,                  EFUSE_BLK0,   32,    1,     Read protection for EFUSE_BLK4.
    RD_DIS.KEY1,                  EFUSE_BLK0,   33,    1,     Read protection for EFUSE_BLK5.
2021-05-31 08:42:57 +00:00
Michael (XIAO Xufeng)
ff29aded19 Merge branch 'bugfix/i2s_apll_disable_issue' into 'master'
i2s: fix driver uninstall issue

Closes IDF-3129

See merge request espressif/esp-idf!13238
2021-05-31 08:16:21 +00:00
Mahavir Jain
64f9bc06ac Merge branch 'esp32c3/coredump_bt_summary' into 'master'
coredump: Parse backtrace info for RISCV

See merge request espressif/esp-idf!13455
2021-05-31 08:12:46 +00:00
Michael (XIAO Xufeng)
aecf85e74b Merge branch 'update_copyright_notice_driver_part_2' into 'master'
driver: update copyright notice, part 2

See merge request espressif/esp-idf!13650
2021-05-31 07:52:19 +00:00
Michael (XIAO Xufeng)
4fac9668c8 Merge branch 'update_copyright_notice_driver_part_3' into 'master'
driver: update copyright notice, part 3

See merge request espressif/esp-idf!13651
2021-05-31 07:50:31 +00:00
Michael (XIAO Xufeng)
dd47340d0e Merge branch 'update_copyright_notice_driver_part_4' into 'master'
driver: update copyright notice, part 4

See merge request espressif/esp-idf!13652
2021-05-31 07:37:19 +00:00
Michael (XIAO Xufeng)
23d2d2768a Merge branch 'refactor/apply_general_check_to_timer' into 'master'
driver/timer: apply genral check

See merge request espressif/esp-idf!13746
2021-05-31 07:22:03 +00:00
Angus Gratton
164ccef52c Merge branch 'docs/fix_allow_external_stack_mem_config_description' into 'master'
Freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description

See merge request espressif/esp-idf!13739
2021-05-31 05:55:52 +00:00
Jan Brudný
1bac0d1e42 efuse: update copyright notice 2021-05-31 06:43:23 +02:00
Island
cf44d2f6ef Merge branch 'bugfix/bt_impersonation_passkey_fix' into 'master'
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.

See merge request espressif/esp-idf!13754
2021-05-28 13:43:14 +00:00
Michael (XIAO Xufeng)
fe7993ead4 Merge branch 'feature/usb_hcd_intr_and_isoc_support' into 'master'
USB HCD: Add support for interrupt and isochronous pipes

Closes IDF-3110

See merge request espressif/esp-idf!12807
2021-05-28 10:14:46 +00:00
Chinmay Chhajed
b75e034b3c Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-05-28 14:28:54 +05:30
Wang Meng Yang
3a7dc7a595 Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address' into 'master'
Bugfix/ble fix reconnect failed when using rpa public address

Closes BT-1680

See merge request espressif/esp-idf!13741
2021-05-28 08:03:18 +00:00
Michael (XIAO Xufeng)
dd0c1c7d95 Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly' into 'master'
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly

Closes IDFGH-5062

See merge request espressif/esp-idf!13399
2021-05-28 07:56:34 +00:00
Angus Gratton
b9911e01b3 Merge branch 'bugfix/stub_log_level' into 'master'
host stubs: Fix log level, add copyright & "this is a stub" notices

Closes IDFGH-5232

See merge request espressif/esp-idf!13637
2021-05-28 05:21:52 +00:00
Angus Gratton
d96e55f5d4 Merge branch 'bugfix/image_load_refactoring' into 'master'
bootloader: Fix a wrong offset in image_load after refactoring

See merge request espressif/esp-idf!13736
2021-05-28 05:02:26 +00:00
Jakob Hasse
ef2dba3921 Integrated linux log into fatfs and spiffs host tests 2021-05-28 11:05:55 +08:00
Jakob Hasse
0ea20caa71 [log]: Normal log works on Linux now
* also removed strlcpy dependency from log
* added Kconfig option for linux target

Closes IDF-3245
2021-05-28 11:05:22 +08:00
Angus Gratton
928e6c4d1c host tests: Add copyright notices and "This is a stub" notices to all stub files 2021-05-27 23:57:22 +00:00
Angus Gratton
da1f055e26 host tests: Fix log level in stub header
Reported on forum https://www.esp32.com/viewtopic.php?f=14&t=20838&p=76246
2021-05-27 23:57:22 +00:00
laokaiyao
3a6043900d driver/timer: apply genral check 2021-05-27 15:52:19 +08:00
zwj
8919322c76 Fixed BLE reconnect failed when using rpa public address 2021-05-27 14:08:47 +08:00
laokaiyao
b807f2a666 driver/i2c: add notes to i2c deleteing function 2021-05-27 12:43:22 +08:00
Michael (XIAO Xufeng)
62e1c8ec03 Merge branch 'bugfix/touch_ll_get_sleep_time' into 'master'
Fixed error in "touch_ll_get_sleep_time" function for ESP32

Closes IDFGH-5111

See merge request espressif/esp-idf!13272
2021-05-26 17:12:09 +00:00
Darian Leung
7f42104893 HCD: Add support for interrupt and isochronous pipes
This commit adds support for interrupt and isochronous pipes to the HCD:
- HCD now internally uses double buffering
- Added test cases for interrupt and isochronous transfers
- Reorganized test cases for each transfer type
- Updated API comments and maintainer's notes

Some minor bugs were also fixed
2021-05-26 22:55:12 +08:00
David Čermák
5b8bcec333 Merge branch 'bugfix/tls_limit_esp_tls_structure_usage' into 'master'
esp_tls/tcp_transport: Transport to use esp_tcp_connect directly for plain TCP

Closes IDF-3005 and IDFGH-5162

See merge request espressif/esp-idf!13418
2021-05-26 14:26:13 +00:00
Darian Leung
787873b86b freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
This commit fixes the ambiguity in the description of the
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configuration option.
2021-05-26 21:04:28 +08:00
KonstantinKondrashov
071e00a088 bootloader: Fix a wrong offset in image_load after refactoring 2021-05-26 18:06:11 +08:00
Sergey Gorban
850de61e34 Fixed error in "touch_ll_get_sleep_time" function for ESP32
Merges https://github.com/espressif/esp-idf/pull/6895
2021-05-26 16:23:18 +08:00
Michael (XIAO Xufeng)
cd5f4ad4c2 Merge branch 'refactor/apply_general_check_to_ledc' into 'master'
ledc: apply general check macro

See merge request espressif/esp-idf!13499
2021-05-26 07:21:50 +00:00
Andrey Starodubtsev
614f1c175a Fix couple of UART issues
- there was a small race in `uart_pattern_link_free`:
  `rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
  `UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
  if these flags weren't set when function was called

Closes https://github.com/espressif/esp-idf/pull/7023
2021-05-26 15:07:00 +08:00
Michael (XIAO Xufeng)
41cc998856 Merge branch 'update_copyright_notice_driver_part_1' into 'master'
driver: update copyright notice, part 1

See merge request espressif/esp-idf!13649
2021-05-26 06:58:15 +00:00
Jan Brudný
690974e32f driver: update copyright notice 2021-05-25 17:43:57 +02:00
Jiang Jiang Jian
4c0ed8844d Merge branch 'bugfix/wifi_mac_sleep_issue' into 'master'
fix wifi mac sleep bug when wifi is initialized multiple times

Closes WIFI-3678

See merge request espressif/esp-idf!13591
2021-05-25 14:31:20 +00:00
Jiang Jiang Jian
bf71f494a1 Merge branch 'bugfix/attack_crash_for_release' into 'master'
bugfix/Fix crash when lmp flooding

Closes ESPCS-565

See merge request espressif/esp-idf!13327
2021-05-25 14:26:21 +00:00
Jiang Jiang Jian
6fd403b5e3 Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3' into 'master'
esp_wifi: support phy calibration data to nvs for s2 c3 & s3

See merge request espressif/esp-idf!13624
2021-05-25 14:19:43 +00:00
Krzysztof Budzynski
99e7aa1700 Merge branch 'docs/update_chip_comparsion_table' into 'master'
docs:translate chip series comparison table and update adc_types.h

Closes DOC-1278

See merge request espressif/esp-idf!13596
2021-05-25 10:44:01 +00:00
David Cermak
f68d7d7023 esp_tls: Renamed public API to indicate the Plain TCP connection
Also added parameter checks if used from as a public API
and updated the `is_plein_tcp` description that it's possible to connect
directly using plain tcp transport with the new API.
2021-05-25 10:55:50 +02:00
David Cermak
38fd2ed10b tcp_transport: Rename common tcp/ssl internals to base-transport
Also uses INVALID_SOCKET macro instead of magic number (-1)
2021-05-25 10:55:45 +02:00
David Čermák
c90ee0a7d0 Merge branch 'bugfix/eth_w5500_io_intr_missed' into 'master'
esp_eth: w5500: Improve GPIO interrupt processing

See merge request espressif/esp-idf!13101
2021-05-25 07:36:24 +00:00
Angus Gratton
93d07d1f36 Merge branch 'update_copyright_notice_console_cxx' into 'master'
console, cxx: update copyright notice

See merge request espressif/esp-idf!13559
2021-05-25 07:26:52 +00:00
David Cermak
6cf077169e tcp_transport: Rework test to split test code and use fixtures 2021-05-25 07:04:02 +02:00
David Cermak
f249ddd9ae esp_transport: Use tcp_connect from esp_tls for plain TCP
so we don't have to allocate esp_tls structure (~2KB) to save heap when using plain TCP connection

Closes https://github.com/espressif/esp-idf/issues/6940
2021-05-25 07:04:02 +02:00
Jiri Schiebel
c01e259a98 esp_tls: esp_tls_connect: Reduce input params to err_handle
Pass only the error_handle instead of instead of the full config structure
2021-05-25 07:04:02 +02:00
David Cermak
45846f06cf esp_eth: Improve GPIO interrupt processing in w5500 driver
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-05-25 04:52:46 +00:00
David Cermak
0cd021adb1 esp_eth: Recover the w5500 driver from missed io interrupt
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-05-25 04:52:46 +00:00
David Čermák
557b1e9fe0 Merge branch 'docs/lwip_fuzzer_tests_document' into 'master'
Docs: Added README.md for lwip fuzzer tests

Closes IDFCI-540

See merge request espressif/esp-idf!13186
2021-05-25 04:12:10 +00:00
David Čermák
fbf68044b2 Merge branch 'bugfix/fix_disable_ipv6_build_fail' into 'master'
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail

Closes IDFGH-5157

See merge request espressif/esp-idf!13339
2021-05-25 04:11:38 +00:00
Mahavir Jain
f7e07fc4a5 Merge branch 'feature/update_esp_cryptoauthlib' into 'master'
secure_element: Update esp-cryptoauthlib submodule latest version.

See merge request espressif/esp-idf!13563
2021-05-25 04:10:01 +00:00
David Čermák
36e6938920 Merge branch 'feature/lwip_ipv6_automatic_coap_asio' into 'master'
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap

Closes IDF-2832

See merge request espressif/esp-idf!13616
2021-05-24 12:39:37 +00:00
David Čermák
5801712caf Merge branch 'bugfix/start_emac_after_phy_reset' into 'master'
esp_eth: speed up Ethernet start up process

Closes WIFI-3563, WIFI-3564, WIFI-3687, and IDFGH-5269

See merge request espressif/esp-idf!13461
2021-05-24 09:30:14 +00:00
Aditya Patwardhan
1abdfee3b7 secure_element: Update esp-cryptoauthlib submodule latest version.
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
liaowenhao
6bd7f30199 bugfix/fix crash when lmp flooding 2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
components/bt: Delete BLE ADV priority high

Closes BT-1573

See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Jan Brudný
a93daccabe driver: update copyright notice 2021-05-24 02:02:15 +02:00
Jan Brudný
6667c5dc2a driver: update copyright notice 2021-05-24 01:53:34 +02:00
Jan Brudný
58f79e6b00 driver: update copyright notice 2021-05-24 01:06:17 +02:00