From a0fca0c7bf3bd1c121667a1e66614646a6b96752 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 16 Sep 2017 23:29:50 +0200 Subject: Add simulator support for the A860 This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf --- firmware/export/hostfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/hostfs.h') diff --git a/firmware/export/hostfs.h b/firmware/export/hostfs.h index a24d009ca9..fa916870f3 100644 --- a/firmware/export/hostfs.h +++ b/firmware/export/hostfs.h @@ -60,6 +60,9 @@ extern int hostfs_driver_type(int drive); # define hostfs_driver_type(drive) (STORAGE_NAND_NUM) # elif (CONFIG_STORAGE & STORAGE_RAMDISK) # define hostfs_driver_type(drive) (STORAGE_RAMDISK_NUM) +/* we may have hostfs without application when building sims for applications! */ +# elif (CONFIG_STORAGE & STORAGE_HOSTFS) +# define hostfs_driver_type(drive) (STORAGE_HOSTFS_NUM) # else # error Unknown storage driver # endif /* CONFIG_STORAGE */ -- cgit v1.2.3