From b6fce99046a3677f27373f8c701e6f200e290236 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 11 Apr 2021 09:10:55 -0400 Subject: ibasso: Implement proper PIVOT_ROOT filesystem access Including direct use of the external SD card mount Known issue: If SD card is inserted at startup, it must be ejected and reinserted to be registered. Change-Id: I5f420160bda32135cbb088c1e8b04b6e3a73018e --- firmware/export/config/ibassodx50.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'firmware/export/config/ibassodx50.h') diff --git a/firmware/export/config/ibassodx50.h b/firmware/export/config/ibassodx50.h index 6bebf5a278..bb4b2809e5 100644 --- a/firmware/export/config/ibassodx50.h +++ b/firmware/export/config/ibassodx50.h @@ -140,9 +140,14 @@ /* Define this if a programmable hotkey is mapped */ #define HAVE_HOTKEY -/* No special storage */ -#define CONFIG_STORAGE STORAGE_HOSTFS +/* Supports internal and microSD storage */ +#define CONFIG_STORAGE (STORAGE_HOSTFS|STORAGE_SD) +#define HOSTFS_VOL_DEC "Internal" #define HAVE_STORAGE_FLUSH +#define HAVE_MULTIDRIVE /* But _not_ CONFIG_STORAGE_MULTI */ +#define NUM_DRIVES 2 +#define HAVE_HOTSWAP +#define MULTIDRIVE_DIR "/mnt/external_sd" /* More common stuff */ #define BATTERY_DEV_NAME "battery" -- cgit v1.2.3