Bogdan Kolendovskyy
224ba396f1
esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
...
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)
In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).
In esp_eth_test_common.c:
Add code to support changes made in Kconfig
In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32
In esp_eth_phy_802_3.h:
Make 802.3 API public.
In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.
In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.
In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.
In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.
In esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-08-03 13:18:44 +02:00
morris
c32cabc7f8
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
91ad084c15
bugfix(spi_flash): Add flash resuem in bootloader on esp32s3
2023-08-03 18:26:00 +08:00
Lou Tianhao
caddc10bf3
feat(pm/deepsleep): support pd hp aon domain in deepsleep
2023-08-03 17:23:02 +08:00
Roman Leonov
e297470e62
Merge branch 'bugfix/usb/host/urb_compliance_verification_add' into 'master'
...
feature(usb/host) added URB check args and transfer check compliance for regular EP transfer submit
See merge request espressif/esp-idf!24106
2023-08-03 16:20:49 +08:00
Island
b43914770f
Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
...
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.
See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00
Kapil Gupta
d0fb902789
Merge branch 'bugfix/update_supplicant_copyrights' into 'master'
...
change(esp_wifi): Update copyright info for wpa_supplicant
See merge request espressif/esp-idf!24919
2023-08-03 13:17:31 +08:00
Jin Cheng
79bb7b6c8a
fix(bt): Removed an incorrectly defined HCI error code
2023-08-03 12:15:03 +08:00
harshal.patil
031175d22a
feat(mpi): add MPI peripheral support for esp32p4
2023-08-03 09:44:02 +05:30
Rahul Tank
bae1838f66
Merge branch 'bugfix/handle_NULL_data_periodic_adv' into 'master'
...
fix(nimble): Add check to set length only if data is valid in periodic adv
Closes BLEQABR23-351
See merge request espressif/esp-idf!24498
2023-08-03 12:11:55 +08:00
Shyamal Khachane
e986bda085
fix(esp_wifi): Fix some OWE issues
...
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-03 09:41:43 +05:30
morris
956ec54aed
fix(heap): use _SAFE version of critical section
...
because we allow to call malloc and free in an ISR context
2023-08-03 12:02:09 +08:00
morris
fd3d1aa101
feat(async_memcpy): refactor driver code to support different DMA backen
...
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Cai Xin Ying
0de9a18d4d
Merge branch 'docs/update_api-reference/system_and_/inc' into 'master'
...
docs: update format issues for EN and CN files under api-reference/system and...
Closes DOC-5814
See merge request espressif/esp-idf!24971
2023-08-03 11:32:07 +08:00
Cai Xin Ying
03c15adc94
docs: update format issues for EN and CN files under api-reference/system and...
2023-08-03 11:32:07 +08:00
Chen Yu Dong
ad84b8f4b4
Merge branch 'ci/add_test_case_phy_tsens' into 'master'
...
ci: add new test tsens phy coexist
See merge request espressif/esp-idf!24298
2023-08-03 11:17:34 +08:00
Cao Sen Miao
4ccbec93e2
bugfix(temperature_sensor): Fix issue that get the value is negative
2023-08-03 11:16:42 +08:00
chenjianhua
e43e4b83fc
feat(bt/bluedroid): Support high duty adv interval setting
2023-08-03 11:14:38 +08:00
chenjianhua
6719002dd1
Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
...
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
Liu Ning
de409c2ec3
Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start' into 'master'
...
fix(esp_wifi): fix no mac retention at wifi start
Closes WIFI-6068 和 WIFI-3695
See merge request espressif/esp-idf!25122
2023-08-03 10:47:52 +08:00
Michael (XIAO Xufeng)
1317d9a5b5
Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh' into 'master'
...
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins
Closes IDF-4485
See merge request espressif/esp-idf!17665
2023-08-03 10:37:46 +08:00
morris
23585c9af4
Merge branch 'docs_provide_CN_trans_for_contribute_index.rst' into 'master'
...
docs:Provide CN translation for contribute/index.rst
Closes DOC-5844
See merge request espressif/esp-idf!25019
2023-08-03 10:32:46 +08:00
Marius Vikhammer
1ec1a69ed0
feature(console): updated console alloc config to use static config struct
...
No need to store the config in a separate variable, can re-use the config struct
2023-08-03 10:19:15 +08:00
Jiang Jiang Jian
494c33e8d1
Merge branch 'bugfix/fix_pmf_set_race' into 'master'
...
fix(wifi): Prevent PMF config overwritten by tx_cb
Closes WIFIBUG-42
See merge request espressif/esp-idf!25119
2023-08-03 09:36:18 +08:00
Aditya Patwardhan
ef320349fe
Merge branch 'bugfix/nitpick_in_esp_http_client' into 'master'
...
fix: nitpick in esp_http_client
See merge request espressif/esp-idf!25066
2023-08-03 02:49:51 +08:00
Mahavir Jain
36d42625af
Merge branch 'fix/mmu_hal_valid_vaddr_check' into 'master'
...
fix(hal): Fix the external memory vaddr region validity check
See merge request espressif/esp-idf!25101
2023-08-02 23:05:16 +08:00
Mahavir Jain
20b10ba914
ci: add secure OTA test for application built without secure padding
...
Covers issue reported in:
https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:40:27 +05:30
Mahavir Jain
56fb618733
fix(secure_ota): secure app verification issue without padding bytes
...
For the following configuration case:
- CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
- CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
- CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.
This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.
Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:31:20 +05:30
liuning
12b894fd5d
fix(esp_wifi): fix no mac retention at wifi start
2023-08-02 21:33:41 +08:00
Kapil Gupta
fb908dfe98
change(esp_wifi): Update copyright info for wpa_supplicant
2023-08-02 18:51:37 +05:30
Island
24d9ea4939
Merge branch 'ble_mesh/esp32c6_BLEQABR23-266' into 'master'
...
ble mesh: stack: return error when scanning failed to be enabled
See merge request espressif/esp-idf!24771
2023-08-02 21:08:10 +08:00
Wu Meng Shi
d57bf77699
ble mesh: stack: return error when scanning failed to be enabled
2023-08-02 21:08:10 +08:00
Kapil Gupta
2b18dd4899
fix(wifi): Prevent PMF config overwritten by tx_cb
2023-08-02 11:33:33 +00:00
Jiang Jiang Jian
7bab23130e
Merge branch 'bugfix/revert_send_wake_up_and_sleep_null_between_scanning' into 'master'
...
Fix(esp_wifi):revert send wake up and sleep null between scaning
See merge request espressif/esp-idf!25115
2023-08-02 18:28:37 +08:00
Harshit Malpani
8d95e45c05
fix: nitpick in esp_http_client
2023-08-02 13:48:14 +05:30
Mahavir Jain
172f086c6e
Merge branch 'feat/update_cjson_submodule' into 'master'
...
feat: Update cJSON version to v1.7.16
Closes IDF-7827
See merge request espressif/esp-idf!25064
2023-08-02 15:50:03 +08:00
Rahul Tank
a43c37ff75
fix (nimble): Add check to set length only if data is valid in periodic adv
2023-08-02 12:34:26 +05:30
Chip Weinberger
9178748ff3
[Console] add heap caps settings
2023-08-01 23:38:47 -07:00
Rahul Tank
4b6f22e3f8
Merge branch 'feature/add_duplicate_excep_list_vsc' into 'master'
...
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble
Closes BLEQABR23-390
See merge request espressif/esp-idf!24772
2023-08-02 14:35:56 +08:00
renpeiying
8163dbbbb4
docs:Provide CN translation for contribute/index.rst
2023-08-02 14:34:00 +08:00
Armando (Dou Yiwen)
92419363aa
Merge branch 'feat/const_ptr_adc_io_channel' into 'master'
...
feat(adc): use const pointer in io_to_channel APIs
See merge request espressif/esp-idf!24672
2023-08-02 14:10:35 +08:00
Laukik Hase
f281c08ce7
fix(hal): Fix the external memory vaddr region validity check
...
- For c6, h2 and p4, the vaddr end calculated was off by 1
byte.
2023-08-02 10:53:26 +05:30
Wan Lei
2975cc52b8
Merge branch 'example/mcpwm_svm_example' into 'master'
...
mcpwm: add foc svpwm example
Closes IDF-3662
See merge request espressif/esp-idf!23645
2023-08-02 12:46:15 +08:00
Mahavir Jain
56b8741e38
Merge branch 'esp32p4/add_ecc_support' into 'master'
...
esp32p4: Add ecc support
See merge request espressif/esp-idf!24984
2023-08-02 12:14:03 +08:00
Jiang Jiang Jian
1210a3e96b
Merge branch 'bugfix/vtasksteptick_assert_failed_issue' into 'master'
...
fix the issue of esp32c6 enable light sleep, vTaskStepTick assert failed caused by wifi baseband sleep retention linked list
Closes WIFI-6173
See merge request espressif/esp-idf!25039
2023-08-02 11:22:03 +08:00
Wu Zheng Hui
016cb6a19a
Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep' into 'master'
...
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data
Closes IDFCI-1760
See merge request espressif/esp-idf!25084
2023-08-02 11:02:01 +08:00
Jiang Jiang Jian
871943a63c
Merge branch 'update/openthread_lib' into 'master'
...
feat(openthread): update openthread lib
See merge request espressif/esp-idf!25088
2023-08-02 10:43:38 +08:00
Omar Chebib
0368aa5257
Merge branch 'feature/bootloader_ignore_extra_component' into 'master'
...
bootloader: add the possibility to ignore extra components
Closes IDF-7825
See merge request espressif/esp-idf!24806
2023-08-02 10:28:41 +08:00
Armando (Dou Yiwen)
aedc9f06fe
Merge branch 'bugfix/fix_potential_cache_msync_issue_on_psram_stack' into 'master'
...
cache: improve esp_cache_msync() test cases, added psram stack test
Closes IDF-7833
See merge request espressif/esp-idf!24837
2023-08-02 10:27:59 +08:00
Alexey Lapshin
a120ea823e
Merge branch 'contrib/github_pr_11569' into 'master'
...
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)
Closes IDF-7846 and IDFGH-10309
See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00