Commit Graph

22843 Commits

Author SHA1 Message Date
Peter Marcisovsky
d786f187e9 feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-02-21 12:34:04 +01:00
Jiang Jiang Jian
4a3f224fe1 Merge branch 'bugfix/esp32c2_eap_auth_v5.2' into 'release/v5.2'
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.2)

See merge request espressif/esp-idf!28824
2024-02-21 14:31:32 +08:00
Mahavir Jain
c05940a0fb Merge branch 'ci/test_limit_main_cleanup_v5.2' into 'release/v5.2'
ci(test_apps): limit dependencies for misc test_apps (v5.2)

See merge request espressif/esp-idf!29135
2024-02-21 11:44:05 +08:00
Jiang Jiang Jian
7e9a9b35ea Merge branch 'bugfix/mbo_api_flag_v5.2' into 'release/v5.2'
fix(wpa_supplicant):Add MBO config flag for mbo apis(v5.2)

See merge request espressif/esp-idf!28698
2024-02-21 11:08:09 +08:00
Jiang Jiang Jian
8a0132aacf Merge branch 'bugfix/ble_mesh_ble_advtype_v5.2' into 'release/v5.2'
ble_mesh: update ble mesh ble adv type(backport v5.2)

See merge request espressif/esp-idf!28916
2024-02-21 11:05:21 +08:00
Jiang Jiang Jian
62dbf69c0a Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.2' into 'release/v5.2'
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.2)

See merge request espressif/esp-idf!28926
2024-02-21 11:04:04 +08:00
Jiang Jiang Jian
7a9b686174 Merge branch 'bugfix/struct_init_order_blemesh_v5.2' into 'release/v5.2'
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.2)

See merge request espressif/esp-idf!28928
2024-02-21 11:01:01 +08:00
Marius Vikhammer
f1561c6bc9 Merge branch 'contrib/github_pr_12867_v5.2' into 'release/v5.2'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.2)

See merge request espressif/esp-idf!29111
2024-02-21 11:00:38 +08:00
Jiang Jiang Jian
3c7c5829b7 Merge branch 'h2_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.2)

See merge request espressif/esp-idf!28714
2024-02-21 10:49:16 +08:00
Marius Vikhammer
da6412b216 Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.2' into 'release/v5.2'
fix(bootloader): add legacy retained memory CRC calculation (backport v5.2)

See merge request espressif/esp-idf!28937
2024-02-21 10:43:50 +08:00
Marius Vikhammer
bab0fa8a03 ci(test_apps): limit dependencies for misc test_apps
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-21 09:34:29 +08:00
Aditya Patwardhan
546e9e0b6e Merge branch 'bugfix/anti_rollback_check_regression_v5.2' into 'release/v5.2'
fix(bootloader_support): check the secure version only for app image (v5.2)

See merge request espressif/esp-idf!29127
2024-02-20 23:30:04 +08:00
Simon H
7e9fdf598e
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

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

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-20 19:43:12 +08:00
morris
7fafe4a9f4 Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
USB Host: Collective backport to v5.2

See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Marius Vikhammer
08a50af080 Merge branch 'bugfix/heap_task_includes_v5.2' into 'release/v5.2'
fix(heap): fixed missing include in esp_heap_task_info.h (v5.2)

See merge request espressif/esp-idf!29116
2024-02-20 18:24:30 +08:00
Mahavir Jain
b2cdc06789
fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 14:45:27 +05:30
Shu Chen
dbbe2cf173 Merge branch 'backport5.2/openthread_backport' into 'release/v5.2'
some openthread changes backport to release/v5.2

See merge request espressif/esp-idf!28637
2024-02-20 17:01:36 +08:00
Marius Vikhammer
cb270eebd6 Merge branch 'bugfix/remove_o0_bootloader_v5.2' into 'release/v5.2'
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4 (v5.2)

See merge request espressif/esp-idf!28752
2024-02-20 16:52:33 +08:00
Jiang Jiang Jian
5cb1e9f6f4 Merge branch 'feat/support_get_bluedroid_status_v5.2' into 'release/v5.2'
Support get status of bluedroid host (backport v5.2)

See merge request espressif/esp-idf!28881
2024-02-20 14:33:46 +08:00
aditi_lonkar
a3ba6b299d fix(wpa_supplicant):Add MBO config flag for mbo apis 2024-02-20 13:54:20 +08:00
Rahul Tank
768bd4750d Merge branch 'feat/ble_gap_dev_auth_v5.2' into 'release/v5.2'
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)

See merge request espressif/esp-idf!29079
2024-02-20 12:38:35 +08:00
Marius Vikhammer
6b1413c3e9 fix(heap): fixed missing include in esp_heap_task_info.h
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-20 12:04:45 +08:00
morris
1156370c00 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.2' into 'release/v5.2'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.2)

See merge request espressif/esp-idf!28332
2024-02-20 11:25:00 +08:00
zwx
fff9980a5b feat(openthread): disable the rx on when idle in coex scenario 2024-02-20 10:41:10 +08:00
zwx
cb04df5ddf fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-20 10:41:00 +08:00
zwx
a64744883d fix(openthread): support uart ISR in IRAM 2024-02-20 10:32:10 +08:00
zwx
3a9bf62ed6 fix(802154): fix pending tx will be delayed issue 2024-02-20 10:32:00 +08:00
Shu Chen
c923dd4df4 feat(ieee802154): make the receive done handler feature mandatory 2024-02-20 10:31:29 +08:00
Shu Chen
1085fece61 feat(ieee802154): remove the ieee802154 lib submodule 2024-02-20 10:31:29 +08:00
zwx
51bc01b557 feat(openthread): support openthread radio caps rx on when idle 2024-02-20 10:31:29 +08:00
xiaqilin
dfb75ff2ac fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-02-20 10:31:29 +08:00
zwx
f978fc10c0 feat(802.15.4): introduce pending tx while rx feature 2024-02-20 10:31:29 +08:00
zwx
4184b48aa8 feat(openthread): integrate console command with ot command 2024-02-20 10:31:29 +08:00
Xu Si Yu
06cca86017 feat(openthread): add menuconfig for openthread address query 2024-02-20 10:31:29 +08:00
Xu Si Yu
4ddb253788 fix(openthread): set spinel frame buffer to member variables 2024-02-20 10:31:29 +08:00
Xu Si Yu
936bba8073 feat(openthread): support esp openthread radio spinel 2024-02-20 10:31:29 +08:00
Darshan Dobariya
d9de786520 feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2) 2024-02-19 16:27:45 +05:30
Rahul Tank
e0944287f3 Merge branch 'bugfix/backport_ble_nimble_fixes_5.2' into 'release/v5.2'
fix(nimble) : Bugfix/backport ble nimble fixes 5.2

See merge request espressif/esp-idf!29098
2024-02-19 18:04:35 +08:00
Darian Leung
471fe41828
refactor(soc): Remove soc/usb_types.h
This header has been removed for the following reasons:

- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-02-19 15:45:04 +08:00
Darian Leung
b07a43e630
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-02-19 15:45:04 +08:00
Darian Leung
50b3a35c52
refactor(soc): Deprecate usb pin mappings
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-02-19 15:45:03 +08:00
Darian Leung
86fb02efa4
refactor(hal): Remove usb_hal and usb_ll
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-02-19 15:45:03 +08:00
Tomas Rezucha
f57ef07e14
feat(usb/host): Calculate FIFO sizes based on USB configuration 2024-02-19 15:45:02 +08:00
Darian Leung
2f6e45c79b
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-19 15:45:02 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
Darian Leung
c1f0823795
refactor(hal/usb): Remove usage of old USB OTG config macros 2024-02-19 15:45:01 +08:00
Darian Leung
d08b90c5cc
refactor(soc/host): Update USB OTG struct fields
This commit updates the "*_struct.h" files for the USB OTG peripheral:

- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-19 15:45:00 +08:00
Darian Leung
bf9706dc31
refactor(hal/usb): Fix USB OTG compilation dependency
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-19 15:45:00 +08:00
Darian Leung
3964fb2d04
refactor(usb/host): reformat code with astyle_py 2024-02-19 15:45:00 +08:00