refactor(dma)!: remove deprecated functions

This commit is contained in:
morris
2025-05-22 22:03:14 +08:00
parent a8bf745f23
commit fb4b590941
30 changed files with 101 additions and 882 deletions

View File

@@ -63,7 +63,6 @@ typedef int sdspi_dev_handle_t;
.set_input_delayline = NULL, \
.dma_aligned_buffer = NULL, \
.pwr_ctrl_handle = NULL, \
.get_dma_info = NULL, \
.check_buffer_alignment = sdspi_host_check_buffer_alignment, \
.is_slot_set_to_uhs1 = NULL, \
}
@@ -223,19 +222,6 @@ esp_err_t sdspi_host_io_int_enable(sdspi_dev_handle_t handle);
*/
esp_err_t sdspi_host_io_int_wait(sdspi_dev_handle_t handle, TickType_t timeout_ticks);
/**
* @brief Get the DMA memory information for the host driver
*
* @deprecated This API is deprecated
*
* @param[in] slot Not used
* @param[out] dma_mem_info DMA memory information structure
* @return
* - ESP_OK: ON success.
* - ESP_ERR_INVALID_ARG: Invalid argument.
*/
esp_err_t sdspi_host_get_dma_info(int slot, esp_dma_mem_info_t *dma_mem_info) __attribute__((deprecated("This API is deprecated")));
/**
* @brief Check if the buffer meets the alignment requirements
*