mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 17:17:14 +00:00
feat(sdmmc): supported sd2.0 on esp32p4
This commit is contained in:

committed by
Armando (Dou Yiwen)

parent
1685dbc985
commit
70314b56d5
@@ -1,16 +1,8 @@
|
||||
// Copyright 2015-2020 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "soc/sdmmc_periph.h"
|
||||
|
||||
@@ -29,6 +21,33 @@ const sdmmc_slot_info_t sdmmc_slot_info[SOC_SDMMC_NUM_SLOTS] = {
|
||||
}
|
||||
};
|
||||
|
||||
const sdmmc_slot_io_info_t sdmmc_slot_gpio_num[SOC_SDMMC_NUM_SLOTS] = {
|
||||
{
|
||||
.clk = -1,
|
||||
.cmd = -1,
|
||||
.d0 = -1,
|
||||
.d1 = -1,
|
||||
.d2 = -1,
|
||||
.d3 = -1,
|
||||
.d4 = -1,
|
||||
.d5 = -1,
|
||||
.d6 = -1,
|
||||
.d7 = -1,
|
||||
},
|
||||
{
|
||||
.clk = -1,
|
||||
.cmd = -1,
|
||||
.d0 = -1,
|
||||
.d1 = -1,
|
||||
.d2 = -1,
|
||||
.d3 = -1,
|
||||
.d4 = -1,
|
||||
.d5 = -1,
|
||||
.d6 = -1,
|
||||
.d7 = -1,
|
||||
}
|
||||
};
|
||||
|
||||
const sdmmc_slot_io_info_t sdmmc_slot_gpio_sig[SOC_SDMMC_NUM_SLOTS] = {
|
||||
{
|
||||
.clk = SDHOST_CCLK_OUT_1_IDX,
|
||||
|
Reference in New Issue
Block a user