Merge branch 'feature/esp32p4_sdmmc_on_real_chip' into 'master'

sdmmc: p4 sdmmc on real chip (relies ldo on real chip)

Closes IDF-6502

See merge request espressif/esp-idf!27762
This commit is contained in:
Armando (Dou Yiwen)
2024-01-05 11:43:30 +08:00
10 changed files with 112 additions and 41 deletions
@@ -59,6 +59,7 @@ esp_err_t esp_dma_calloc(size_t n, size_t size, uint32_t flags, void **out_ptr,
typedef enum {
ESP_DMA_BUF_LOCATION_INTERNAL, ///< DMA buffer is in internal memory
ESP_DMA_BUF_LOCATION_PSRAM, ///< DMA buffer is in PSRAM
ESP_DMA_BUF_LOCATION_AUTO, ///< Auto detect buffer location, under this condition API will loop to search the buffer location
} esp_dma_buf_location_t;
/**
@@ -9,16 +9,12 @@
#include <stdint.h>
#include <stdbool.h>
#include "esp_err.h"
#include "hal/ldo_types.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_LDO_ID_1 0 ///< See datasheet `VFB/VO1`
#define ESP_LDO_ID_2 1 ///< See datasheet `VFB/VO2`
#define ESP_LDO_ID_3 2 ///< See datasheet `VFB/VO3`
#define ESP_LDO_ID_4 3 ///< See datasheet `VFB/VO4`
/**
* @brief Type of LDO unit handle
*/