From 46137ebd4d59d7a91d0b8d98d846a3fd2ec70f5c Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 22 Feb 2014 23:17:16 +0100 Subject: simulator: Fully simulate external storage. The external storage will be created during make install, as simext folder in the build directory. Upon pressing the e key the sim will mount (virtually ) this into the root directory. It can be accessed in the same way as an sd/mmc card on real targets. This requires quite some path trickery in io.c. Change-Id: I2fa9070a3146101ec5655b5b4115ca349d1d4bf4 --- firmware/export/mv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export/mv.h') diff --git a/firmware/export/mv.h b/firmware/export/mv.h index 0d98ed1211..05c9c6349f 100644 --- a/firmware/export/mv.h +++ b/firmware/export/mv.h @@ -56,6 +56,12 @@ #define VOL_NAMES "" #define VOL_ENUM_POS 3 #endif /* CONFIG_STORAGE */ + +#ifdef HAVE_HOTSWAP +bool volume_removable(int volume); +bool volume_present(int volume); +#endif + #else /* empty definitions if no multi-volume */ #define IF_MV(x...) #define IF_MV_NONVOID(x...) void -- cgit v1.2.3