Merge pull request #111 from Icarus113/feature/essl_sdio_c6
essl_sdio: support communicating with esp32c6 sdio slave
This commit is contained in:
commit
25f60c0686
|
@ -1,3 +1,7 @@
|
||||||
|
## 1.1.0
|
||||||
|
|
||||||
|
- Supported communicating with ESP32C6 SDIO Slave
|
||||||
|
|
||||||
## 1.0.1
|
## 1.0.1
|
||||||
|
|
||||||
- Fixed build failure issue on chip which doesn't support SDMMC host
|
- Fixed build failure issue on chip which doesn't support SDMMC host
|
||||||
|
@ -5,4 +9,4 @@
|
||||||
|
|
||||||
## 1.0.0
|
## 1.0.0
|
||||||
|
|
||||||
- Inititial version
|
- Inititial version
|
||||||
|
|
|
@ -12,3 +12,7 @@
|
||||||
essl_sdio_def_t ESSL_SDIO_DEF_ESP32 = {
|
essl_sdio_def_t ESSL_SDIO_DEF_ESP32 = {
|
||||||
.new_packet_intr_mask = BIT(23),
|
.new_packet_intr_mask = BIT(23),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
essl_sdio_def_t ESSL_SDIO_DEF_ESP32C6 = {
|
||||||
|
.new_packet_intr_mask = BIT(23),
|
||||||
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: "1.0.1"
|
version: "1.1.0"
|
||||||
description: "Espressif Serial Slave Link Library"
|
description: "Espressif Serial Slave Link Library"
|
||||||
url: https://github.com/espressif/idf-extra-components/tree/master/esp_serial_slave_link
|
url: https://github.com/espressif/idf-extra-components/tree/master/esp_serial_slave_link
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include "driver/sdmmc_host.h"
|
#include "driver/sdmmc_host.h"
|
||||||
|
|
||||||
#include "esp_serial_slave_link/essl.h"
|
#include "esp_serial_slave_link/essl.h"
|
||||||
|
#include "essl_sdio_defs.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -24,13 +25,6 @@ typedef struct {
|
||||||
int recv_buffer_size; ///< The pre-negotiated recv buffer size used by both the host and the slave.
|
int recv_buffer_size; ///< The pre-negotiated recv buffer size used by both the host and the slave.
|
||||||
} essl_sdio_config_t;
|
} essl_sdio_config_t;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
//interrupts
|
|
||||||
uint32_t new_packet_intr_mask;
|
|
||||||
} essl_sdio_def_t;
|
|
||||||
|
|
||||||
/// Definitions of ESP32 SDIO Slave hardware
|
|
||||||
extern essl_sdio_def_t ESSL_SDIO_DEF_ESP32;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize the ESSL SDIO device and get its handle.
|
* @brief Initialize the ESSL SDIO device and get its handle.
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
/**
|
||||||
|
* This file contains SDIO Slave hardware specific requirements
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
//interrupts
|
||||||
|
uint32_t new_packet_intr_mask;
|
||||||
|
} essl_sdio_def_t;
|
||||||
|
|
||||||
|
/// Definitions of ESP32 SDIO Slave hardware
|
||||||
|
extern essl_sdio_def_t ESSL_SDIO_DEF_ESP32;
|
||||||
|
/// Definitions of ESP32C6 SDIO Slave hardware
|
||||||
|
extern essl_sdio_def_t ESSL_SDIO_DEF_ESP32C6;
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
Loading…
Reference in New Issue