diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 5e4178cd4c..2a1cdb3416 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -27,12 +27,21 @@ | |||
27 | /* symbolic names for multiple choice configurations: */ | 27 | /* symbolic names for multiple choice configurations: */ |
28 | 28 | ||
29 | /* CONFIG_STORAGE (note these are combineable bit-flags) */ | 29 | /* CONFIG_STORAGE (note these are combineable bit-flags) */ |
30 | #define STORAGE_ATA 0x01 | 30 | #define STORAGE_ATA_NUM 0 |
31 | #define STORAGE_MMC 0x02 | 31 | #define STORAGE_MMC_NUM 1 |
32 | #define STORAGE_SD 0x04 | 32 | #define STORAGE_SD_NUM 2 |
33 | #define STORAGE_NAND 0x08 | 33 | #define STORAGE_NAND_NUM 3 |
34 | #define STORAGE_RAMDISK 0x10 | 34 | #define STORAGE_RAMDISK_NUM 4 |
35 | #define STORAGE_HOSTFS 0x20 /* meant for APPLICATION targets (implicit for SIMULATOR) */ | 35 | #define STORAGE_HOSTFS_NUM 5 |
36 | #define STORAGE_NUM_TYPES 6 | ||
37 | |||
38 | #define STORAGE_ATA (1 << STORAGE_ATA_NUM) | ||
39 | #define STORAGE_MMC (1 << STORAGE_MMC_NUM) | ||
40 | #define STORAGE_SD (1 << STORAGE_SD_NUM) | ||
41 | #define STORAGE_NAND (1 << STORAGE_NAND_NUM) | ||
42 | #define STORAGE_RAMDISK (1 << STORAGE_RAMDISK_NUM) | ||
43 | /* meant for APPLICATION targets (implicit for SIMULATOR) */ | ||
44 | #define STORAGE_HOSTFS (1 << STORAGE_HOSTFS_NUM) | ||
36 | 45 | ||
37 | /* CONFIG_TUNER (note these are combineable bit-flags) */ | 46 | /* CONFIG_TUNER (note these are combineable bit-flags) */ |
38 | #define S1A0903X01 0x01 /* Samsung */ | 47 | #define S1A0903X01 0x01 /* Samsung */ |
@@ -573,6 +582,8 @@ Lyre prototype 1 */ | |||
573 | #ifdef __PCTOOL__ | 582 | #ifdef __PCTOOL__ |
574 | #undef CONFIG_CPU | 583 | #undef CONFIG_CPU |
575 | #define CONFIG_CPU 0 | 584 | #define CONFIG_CPU 0 |
585 | #undef HAVE_MULTIVOLUME | ||
586 | #undef HAVE_MULTIDRIVE | ||
576 | #endif | 587 | #endif |
577 | 588 | ||
578 | #ifdef APPLICATION | 589 | #ifdef APPLICATION |
@@ -831,9 +842,11 @@ Lyre prototype 1 */ | |||
831 | * plenty of RAM. Both features can be enabled independently. */ | 842 | * plenty of RAM. Both features can be enabled independently. */ |
832 | #if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && !defined(__PCTOOL__) \ | 843 | #if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && !defined(__PCTOOL__) \ |
833 | && !defined(APPLICATION) | 844 | && !defined(APPLICATION) |
845 | #ifndef SIMULATOR | ||
834 | #define HAVE_DIRCACHE | 846 | #define HAVE_DIRCACHE |
847 | #endif | ||
835 | #ifdef HAVE_TAGCACHE | 848 | #ifdef HAVE_TAGCACHE |
836 | #define HAVE_TC_RAMCACHE | 849 | //#define HAVE_TC_RAMCACHE |
837 | #endif | 850 | #endif |
838 | #endif | 851 | #endif |
839 | 852 | ||
@@ -1178,7 +1191,7 @@ Lyre prototype 1 */ | |||
1178 | /* This attribute can be used to enable to detection of plugin file handles leaks. | 1191 | /* This attribute can be used to enable to detection of plugin file handles leaks. |
1179 | * When enabled, the plugin core will monitor open/close/creat and when the plugin exits | 1192 | * When enabled, the plugin core will monitor open/close/creat and when the plugin exits |
1180 | * will display an error message if the plugin leaked some file handles */ | 1193 | * will display an error message if the plugin leaked some file handles */ |
1181 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 1194 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined (SIMULATOR) |
1182 | #define HAVE_PLUGIN_CHECK_OPEN_CLOSE | 1195 | #define HAVE_PLUGIN_CHECK_OPEN_CLOSE |
1183 | #endif | 1196 | #endif |
1184 | 1197 | ||