-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcardtype.h
53 lines (46 loc) · 1.85 KB
/
cardtype.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* Revision: 2.8.7 */
/******************************************************************************
* Copyright 1998-2018 NetBurner, Inc. ALL RIGHTS RESERVED
*
* Permission is hereby granted to purchasers of NetBurner Hardware to use or
* modify this computer program for any use as long as the resultant program
* is only executed on NetBurner provided hardware.
*
* No other rights to use this program or its derivatives in part or in
* whole are granted.
*
* It may be possible to license this or other NetBurner software for use on
* non-NetBurner Hardware. Contact sales@Netburner.com for more information.
*
* NetBurner makes no representation or warranties with respect to the
* performance of this computer program, and specifically disclaims any
* responsibility for any damages, special or consequential, connected with
* the use of this program.
*
* NetBurner
* 5405 Morehouse Dr.
* San Diego, CA 92121
* www.netburner.com
******************************************************************************/
/* Select the card type */
#ifndef _CARDTYPE_H
#define _CARDTYPE_H
/**
* Change between devices by uncommenting one or the other. You cannot
* use both types at the same time. Whenever you change card types, you
* should do a make clean on your project.
*
* Warning! You must have CFC bus interface hardware on your platform or
* the code will repeatedly trap. If you are getting traps you will need to
* perform an application download using the monitor program to recover.
*/
#define USE_MMC // SD/MMC cards
//#define USE_CFC // Compact Flash cards
//#define USE_RAM // RAM FileSystem, See EFFS-RAM-minimal for details
//#define EXT_FLASH_DRV_NUM (F_RAM_DRIVE0)
#if (defined USE_CFC)
#define EXT_FLASH_DRV_NUM (CFC_DRV_NUM)
#else
#define EXT_FLASH_DRV_NUM (MMC_DRV_NUM)
#endif
#endif /* _CARDTYPE_H */