NetBurner 3.1
EFFS/Fat/RamMinimal/src/cardtype.h
1 /*NB_REVISION*/
2 
3 /*NB_COPYRIGHT*/
4 
5 
6 /* Select the card type */
7 #ifndef _CARDTYPE_H
8 #define _CARDTYPE_H
9 
10 /*
11  Change between devices by uncommenting one or the other. You cannot
12  use both types at the same time. Whenever you change card types, you
13  should do a make clean on your project.
14 
15  Warning! You must have CFC bus interface hardware on your platform or
16  the code will repeatedly trap. If you are getting traps you will need to
17  perform an application download using the monitor program to recover.
18 */
19 #define USE_MMC // SD/MMC cards
20 //#define USE_CFC // Compact Flash cards
21 //#define USE_RAM // RAM FileSystem, See EFFS-RAM-minimal for details
22 //#define EXT_FLASH_DRV_NUM (F_RAM_DRIVE0)
23 
24 #if (defined USE_CFC)
25 #define EXT_FLASH_DRV_NUM (CFC_DRV_NUM)
26 #else
27 #define EXT_FLASH_DRV_NUM (MMC_DRV_NUM)
28 #endif
29 
30 #endif /* _CARDTYPE_H */
31