mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'fix/fix_ble_rtc_register_issue_after_reset' into 'master'
fix(ble): fix ble rtc reset issues on esp32-h4 and esp32-s31 Closes BLERP-2934, BLERP-2935, and BLERP-2937 See merge request espressif/esp-idf!50057
This commit is contained in:
Submodule components/bt/controller/lib_esp32h4/esp32h4-bt-lib updated: 09b1bc34ce...8257501289
Submodule components/bt/controller/lib_esp32s31/esp32s31-bt-lib updated: 589a3a2bde...0a0fbbec19
@@ -106,10 +106,39 @@ extern hci_driver_ops_t hci_driver_vhci_ops;
|
||||
#endif // UC_BT_CTRL_HCI_INTERFACE_USE_RAM
|
||||
|
||||
#if UC_BT_CTRL_HCI_INTERFACE_USE_UART
|
||||
extern hci_driver_ops_t hci_driver_uart_ops;
|
||||
#if UC_BT_CTRL_UART_HCI_DMA_MODE
|
||||
extern hci_driver_ops_t hci_driver_uart_dma_ops;
|
||||
#endif // UC_BT_CTRL_UART_HCI_DMA_MODE
|
||||
/**
|
||||
* @brief Reconfigure the UART pins for the HCI driver.
|
||||
*
|
||||
* This function changes the UART pin configuration for the HCI driver.
|
||||
*
|
||||
* @param tx_pin The pin number for the UART TX (transmit) line.
|
||||
* @param rx_pin The pin number for the UART RX (receive) line.
|
||||
* @param cts_pin The pin number for the UART CTS (clear to send) line.
|
||||
* @param rts_pin The pin number for the UART RTS (request to send) line.
|
||||
*
|
||||
* @return int Returns 0 on success, or a negative error code on failure.
|
||||
*/
|
||||
int hci_driver_uart_dma_reconfig_pin(int tx_pin, int rx_pin, int cts_pin, int rts_pin);
|
||||
#define hci_uart_reconfig_pin hci_driver_uart_dma_reconfig_pin
|
||||
#else
|
||||
extern hci_driver_ops_t hci_driver_uart_ops;
|
||||
/**
|
||||
* @brief Reconfigure the UART pins for the HCI driver.
|
||||
*
|
||||
* This function changes the UART pin configuration for the HCI driver.
|
||||
*
|
||||
* @param tx_pin The pin number for the UART TX (transmit) line.
|
||||
* @param rx_pin The pin number for the UART RX (receive) line.
|
||||
* @param cts_pin The pin number for the UART CTS (clear to send) line.
|
||||
* @param rts_pin The pin number for the UART RTS (request to send) line.
|
||||
*
|
||||
* @return int Returns 0 on success, or a negative error code on failure.
|
||||
*/
|
||||
int hci_driver_uart_reconfig_pin(int tx_pin, int rx_pin, int cts_pin, int rts_pin);
|
||||
#define hci_uart_reconfig_pin hci_driver_uart_reconfig_pin
|
||||
#endif // CONFIG_BT_LE_UART_HCI_DMA_MODE
|
||||
#endif // UC_BT_CTRL_HCI_INTERFACE_USE_UART
|
||||
|
||||
#endif // H_ESP_HCI_DRIVER_
|
||||
|
||||
Reference in New Issue
Block a user