file based emmc emummc, some other stuff

This commit is contained in:
Christoph Baumann
2025-05-12 01:24:01 +02:00
parent 79b6df64d6
commit 76508c74e8
14 changed files with 143 additions and 113 deletions

View File

@@ -23,6 +23,7 @@
#include <storage/mbr_gpt.h>
#include <gfx_utils.h>
#include <utils/list.h>
#include <storage/emummc_file_based.h>
static u16 emmc_errors[3] = { 0 }; // Init and Read/Write errors.
static u32 emmc_mode = EMMC_MMC_HS400;

View File

@@ -1,4 +1,4 @@
#include "emummc.h"
#include "emummc_file_based.h"
#include <string.h>
#include <stdlib.h>
#include <libs/fatfs/ff.h>

View File

@@ -1,5 +1,5 @@
#ifndef EMUMMC_H
#define EMUMMC_H
#ifndef _EMUMMC_FILE_BASED_H
#define _EMUMMC_FILE_BASED_H
#include <bdk.h>

View File

@@ -29,7 +29,7 @@
#include <storage/emmc.h>
#include <storage/sd.h>
#include <storage/sdmmc.h>
#include <storage/emummc.h>
#include <storage/emummc_file_based.h>
#include <utils/types.h>
#define BIS_CLUSTER_SECTORS 32

View File

@@ -20,7 +20,7 @@
*/
#include <storage/emmc.h>
#include <storage/emummc.h>
#include <storage/emummc_file_based.h>
#include <string.h>
#include <usb/usbd.h>