33 lines
489 B
C
33 lines
489 B
C
|
|
/*
|
||
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#define EXAMPLE_MAX_CHAR_SIZE 64
|
||
|
|
#define MOUNT_POINT "/sdcard"
|
||
|
|
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
const char** names;
|
||
|
|
const int* pins;
|
||
|
|
} pin_configuration_t;
|
||
|
|
|
||
|
|
|
||
|
|
void check_sd_card_pins(pin_configuration_t *config, const int pin_count);
|
||
|
|
|
||
|
|
void flux_sd_init(void);
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|