mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "hal/sdmmc_hal.h"
|
||||
#include "hal/sdmmc_ll.h"
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
void sdmmc_hal_init(sdmmc_hal_context_t *hal)
|
||||
{
|
||||
hal->dev = SDMMC_LL_GET_HW(0);
|
||||
}
|
||||
Reference in New Issue
Block a user