Fix typo.
[Rockbox.git] / firmware / export / config-ifp7xx.h
blob3f53ffe9f2d6b56f59fbdc24da8695948349a8ce
1 /*
2 * This config file is for iriver iFP-799
3 */
4 #define TARGET_TREE
6 #define IRIVER_IFP7XX_SERIES 1
8 /* For Rolo and boot loader */
9 #define MODEL_NUMBER 6
11 /* define this if you have recording possibility */
12 /*#define HAVE_RECORDING*/
14 /* define this if you have a bitmap LCD display */
15 #define HAVE_LCD_BITMAP
17 /* define this if you have a colour LCD */
18 /* #define HAVE_LCD_COLOR */
20 /* define this if you would like tagcache to build on this target */
21 /* #define HAVE_TAGCACHE */
23 /* LCD dimensions */
24 #define LCD_WIDTH 128
25 #define LCD_HEIGHT 64
26 #define LCD_DEPTH 1
28 #define LCD_PIXELFORMAT VERTICAL_PACKING
30 #define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
32 #define CONFIG_FLASH FLASH_IFP7XX
34 #define HAVE_FAT16SUPPORT
36 /* Define this if you do software codec */
37 #define CONFIG_CODEC SWCODEC
39 /* Define this if you have a software controlled poweroff */
40 #define HAVE_SW_POWEROFF
42 /* The number of bytes reserved for loadable codecs */
43 #define CODEC_SIZE 0x20000
45 /* The number of bytes reserved for loadable plugins */
46 #define PLUGIN_BUFFER_SIZE 0x10000
48 /* Define this if you have the WM8975 audio codec */
49 /* #define HAVE_WM8975 */
51 #define HAVE_FLASH_DISK
53 /* Virtual LED (icon) */
54 #define CONFIG_LED LED_VIRTUAL
56 #define MIN_CONTRAST_SETTING 5
57 #define MAX_CONTRAST_SETTING 63
58 #define DEFAULT_CONTRAST_SETTING 40
60 /* define this if you have a flash memory storage */
61 #define HAVE_FLASH_STORAGE
63 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
64 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
65 #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
66 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
67 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
69 /* define this if the unit should not shut down on low battery. */
70 #define NO_LOW_BATTERY_SHUTDOWN
72 #ifndef SIMULATOR
74 /* Define this if you have a Philips PNX0101 */
75 #define CONFIG_CPU PNX0101
77 /* Define this if you want to use the PNX0101 i2c interface */
78 #define CONFIG_I2C I2C_PNX0101
80 /* The start address index for ROM builds */
81 #define ROM_START 0x00000000
83 /* Define this for LCD backlight available */
84 #define HAVE_BACKLIGHT
86 /* Define this to the CPU frequency */
87 #define CPU_FREQ 48000000
89 #define CONFIG_LCD LCD_IFP7XX
91 /* Offset ( in the firmware file's header ) to the file length */
92 #define FIRMWARE_OFFSET_FILE_LENGTH 0
94 /* Offset ( in the firmware file's header ) to the file CRC */
95 #define FIRMWARE_OFFSET_FILE_CRC 0
97 /* Offset ( in the firmware file's header ) to the real data */
98 #define FIRMWARE_OFFSET_FILE_DATA 8
100 #define USB_ISP1582
102 #define HAVE_GDB_API
104 /* Define this if you have adjustable CPU frequency */
105 #define HAVE_ADJUSTABLE_CPU_FREQ
107 #define BOOTFILE_EXT "iriver"
108 #define BOOTFILE "rockbox." BOOTFILE_EXT
109 #define BOOTDIR "/.rockbox"
111 #define IBSS_ATTR_VOICE_STACK
112 #define ICODE_ATTR_TREMOR_NOT_MDCT
113 #define ICODE_ATTR_TREMOR_MDCT
114 #define ICODE_ATTR_FLAC
115 #define IBSS_ATTR_FLAC_DECODED0
116 #define ICONST_ATTR_MPA_HUFFMAN
117 #define IBSS_ATTR_MPC_SAMPLE_BUF
118 #define ICODE_ATTR_ALAC
119 #define IBSS_ATTR_SHORTEN_DECODED0
121 #endif