Commit Graph

32592 Commits

Author SHA1 Message Date
Li Shuai
0dea30c2f2 change(esp_hw_support): add adc retention module and it is dependencies on the clock modem 2024-05-14 19:34:37 +08:00
Li Shuai
c9b1618a3e change(esp_hw_support): dump sleep retention context to io stream 2024-05-14 19:34:37 +08:00
Li Shuai
7cc3c78447 change(ieee802154): use new sleep retention api to implement ieee802154 mac retention 2024-05-14 19:34:37 +08:00
Li Shuai
2f7a2e0965 change(bt): use new retention api to implement BT mac and bb retention 2024-05-14 19:34:37 +08:00
Li Shuai
08a05ec562 change(esp_hw_support): use new retention api to implement gdma retention 2024-05-14 19:34:37 +08:00
Li Shuai
b7b90fc394 change(wifi): use new retention api to implement wifi mac and bb retention 2024-05-14 19:34:32 +08:00
Li Shuai
0cb0890145 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-05-14 17:50:59 +08:00
Li Shuai
031f56e294 change(esp_hw_support): some system peripherals to use a retention module number 2024-05-14 17:50:59 +08:00
Li Shuai
83cb32cd70 feat(esp_hw_support): implement of sleep retention module initialize and dependency management 2024-05-14 17:50:59 +08:00
Li Shuai
38b3341863 change(esp_hw_support): modify the style of module argument from bitmap to number 2024-05-14 17:50:59 +08:00
Li Shuai
7d738cae1c change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-05-14 17:50:59 +08:00
Li Shuai
44644845f3 change(esp_hw_support): rename sleep retention module to created module 2024-05-14 17:50:59 +08:00
Alexey Gerenkov
a2215bd122 Merge branch 'fix/gcov_fault_v5.1' into 'release/v5.1'
fix(gcov): fix exceptions on gcov task_tick_hook (v5.1)

See merge request espressif/esp-idf!30026
2024-05-14 17:45:03 +08:00
Alexey Gerenkov
1751ffe936 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318_v5.1' into 'release/v5.1'
feat(tools): update openocd version to v0.12.0-esp32-20240318 (v5.1)

See merge request espressif/esp-idf!30046
2024-05-14 17:44:07 +08:00
Jiang Jiang Jian
784e95b2d7 Merge branch 'fix/fix_some_esp32c6_wifi_bugs_v5.1' into 'release/v5.1'
fix(wifi): fix some wifi bugs (Backport v5.1)

See merge request espressif/esp-idf!30820
2024-05-14 15:18:51 +08:00
Jin Cheng
16794dc48f fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-05-14 11:54:25 +08:00
xuxiao
07edad1af5 fix(wifi): fix some wifi bugs (Backport v5.1) 2024-05-14 11:33:42 +08:00
Jiang Jiang Jian
5423b20c4a Merge branch 'bugfix/fix_mesh_packet_tx_issue_v5.1' into 'release/v5.1'
fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero (v5.1)

See merge request espressif/esp-idf!30791
2024-05-14 11:01:11 +08:00
gongyantao
090a7755cc fix(bt/ble): fix some issues in bluetooth controller
1: fix assert 1024 issue when bt tx and wifi coexist on esp32
2: fix ble scan backoff
3: parse out the correct packet types from host parameters for
   hci command hci_enhanced_setup_synchronous_connection
2024-05-14 10:04:42 +08:00
Roland Dobai
ca9c86da77 Merge branch 'set_gdb_remotetimeout_v5.1' into 'release/v5.1'
tools(gdbinit): set remote timeout for the gdb connection (v5.1)

See merge request espressif/esp-idf!30806
2024-05-13 23:07:14 +08:00
Marius Vikhammer
03f7927325 Merge branch 'bugfix/coredump_switch_stack_v5.1' into 'release/v5.1'
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack (backport v5.1)

See merge request espressif/esp-idf!29527
2024-05-13 20:53:37 +08:00
Erhan Kurubas
ce2c90fcce change(gdbinit): set remote timeout for the gdb connection 2024-05-13 13:49:35 +02:00
zwl
7e4a26970e ble: update sdkconfig.defaults.esp32c6 file for blufi example 2024-05-13 17:49:35 +08:00
zwl
130b5a03e1 ble: update sdkconfig.defaults.esp32c2 file for blufi example 2024-05-13 17:49:35 +08:00
zwl
45b9ccfb1f ble: optimize bt cmakelists.txt file 2024-05-13 17:49:35 +08:00
zwl
5e2679a02f ble: support only legacy adv and slave function on esp32c2 2024-05-13 17:49:35 +08:00
Darian Leung
d41515f948
refactor(hal/usb): Add new USB PHY related HAL API
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:

- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-05-13 17:36:34 +08:00
Darian Leung
4f996fc421
feat(hal/usb): Update USB WRAP and USJ LL
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-05-13 17:36:34 +08:00
Darian Leung
06821a8fe6
refactor(hal/usb): Refactor usb_wrap_ll.h
This commit rewrite the 'usb_wrap_ll.h' API as follows:

- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-05-13 17:36:33 +08:00
Darian Leung
c776d40df1
refactor(hal/usb): Remove usb_fsls_phy_ll.h
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.

This commit does the following:

- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-05-13 17:36:33 +08:00
Darian Leung
75498cdb7a
refactor(hal/usj): Add USB PHY related functions to USJ LL 2024-05-13 17:36:32 +08:00
wuzhenghui
57ef28a6c6
docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-05-13 16:24:56 +08:00
morris
9808619d52 Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)

See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
wuzhenghui
2e21a74d85
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-05-13 15:58:15 +08:00
Rahul Tank
9ac8768650 fix(nimble): Free controller memory if init fails 2024-05-13 12:00:16 +05:30
Jiang Jiang Jian
ae1cf0594c Merge branch 'doc/update_bt_sleep_process_v5.1' into 'release/v5.1'
docs: Update the process of Bluetooth entering sleep in the sleep_modes.rst(v5.1)

See merge request espressif/esp-idf!30734
2024-05-13 14:29:06 +08:00
Mahavir Jain
bbd9fe21f3 Merge branch 'backport/support_tls1_3_v5.1' into 'release/v5.1'
https_mbedtls: update example to support TLS 1.3 connection

See merge request espressif/esp-idf!30606
2024-05-13 14:11:02 +08:00
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
Rahul Tank
7ad7f84f0f Merge branch 'bugfix/fix_ble_issues_5.1' into 'release/v5.1'
fix(nimble): Bugfix/fix ble issues 5.1

See merge request espressif/esp-idf!30246
2024-05-13 13:55:15 +08:00
zhangyanjiao
10a837db5f fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 11:31:13 +08:00
Jiang Jiang Jian
a79bd17e39 Merge branch 'bugfix/bt_bss_in_extram_v5.1' into 'release/v5.1'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.1)

See merge request espressif/esp-idf!30636
2024-05-13 11:01:50 +08:00
Jiang Jiang Jian
af5579d3f2 Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)

See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00
Jiang Jiang Jian
309ec787b9 Merge branch 'doc/update_espnow_example_v5.1' into 'release/v5.1'
docs(wifi): change the magic varible from int to uint32_t on the receiving side (v5.1)

See merge request espressif/esp-idf!30308
2024-05-13 10:44:42 +08:00
Jiang Jiang Jian
db65d0b71e Merge branch 'feature/disable_pmk_caching_v5.1' into 'release/v5.1'
feat(esp_wifi): Provide API to disable PMK caching (v5.1)

See merge request espressif/esp-idf!30290
2024-05-13 10:43:22 +08:00
Jiang Jiang Jian
80de3e63a9 Merge branch 'bugfix/fix_ble_appearance_v5.1' into 'release/v5.1'
Fixed BLE appearance category ranges (v5.1)

See merge request espressif/esp-idf!30286
2024-05-13 10:43:05 +08:00
Jiang Jiang Jian
a2bbd59755 Merge branch 'support/esp_sleep_enable_ext1_wakeup_io_v5.1' into 'release/v5.1'
Support/esp sleep enable ext1 wakeup io(backport v5.1)

See merge request espressif/esp-idf!30164
2024-05-13 10:42:20 +08:00
Jiang Jiang Jian
17e072ea01 Merge branch 'bugfix/add_workaround_for_ble_rtc_hw_issue_backport_v5.1' into 'release/v5.1'
fix(ble): add workaround for ble RTC not enabled issue (v5.1)

See merge request espressif/esp-idf!30133
2024-05-13 10:40:36 +08:00
Jiang Jiang Jian
50da12dafc Merge branch 'feat/set_cpu_freq_after_pm_config_changed_v5.1' into 'release/v5.1'
fix(esp_pm): update CPU frequency immediately after updating pm_config (v5.1)

See merge request espressif/esp-idf!30071
2024-05-13 10:39:28 +08:00
Jiang Jiang Jian
eb639cd917 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v5.1' into 'release/v5.1'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v5.1)

See merge request espressif/esp-idf!29987
2024-05-13 10:38:27 +08:00
Jiang Jiang Jian
ffbb69e9d5 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.1' into 'release/v5.1'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.1)

See merge request espressif/esp-idf!29922
2024-05-13 10:37:35 +08:00