From d8d37ffdb8bed39df5d021afa9e09bf087b45d0d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 17 Oct 2020 16:57:51 -0400 Subject: Define a USB storage type, and hook it up for hosted targets Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2 --- firmware/export/config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index 7e8d751090..547c359d8d 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -32,14 +32,16 @@ #define STORAGE_SD_NUM 2 #define STORAGE_NAND_NUM 3 #define STORAGE_RAMDISK_NUM 4 -#define STORAGE_HOSTFS_NUM 5 -#define STORAGE_NUM_TYPES 6 +#define STORAGE_USB_NUM 5 +#define STORAGE_HOSTFS_NUM 6 +#define STORAGE_NUM_TYPES 7 #define STORAGE_ATA (1 << STORAGE_ATA_NUM) #define STORAGE_MMC (1 << STORAGE_MMC_NUM) #define STORAGE_SD (1 << STORAGE_SD_NUM) #define STORAGE_NAND (1 << STORAGE_NAND_NUM) #define STORAGE_RAMDISK (1 << STORAGE_RAMDISK_NUM) +#define STORAGE_USB (1 << STORAGE_USB_NUM) /* meant for APPLICATION targets (implicit for SIMULATOR) */ #define STORAGE_HOSTFS (1 << STORAGE_HOSTFS_NUM) -- cgit v1.2.3