Update the 'Supported audio formats' table, we now recognize ogg/vorbis files with...
[kugel-rb.git] / firmware / export / config-ifp7xx.h
blob6a26a93da23829c53e822b6ef3ee6cf9bff0615a
1 /*
2 * This config file is for iriver iFP-799
3 */
4 #define TARGET_TREE
6 #define IRIVER_IFP7XX_SERIES 1
8 #define MODEL_NAME "iriver iFP-799"
10 /* For Rolo and boot loader */
11 #define MODEL_NUMBER 6
13 /* define this if you have recording possibility */
14 /*#define HAVE_RECORDING*/
16 /* define this if you have a bitmap LCD display */
17 #define HAVE_LCD_BITMAP
19 /* define this if you have a colour LCD */
20 /* #define HAVE_LCD_COLOR */
22 /* define this if you would like tagcache to build on this target */
23 /* #define HAVE_TAGCACHE */
25 /* LCD dimensions */
26 #define LCD_WIDTH 128
27 #define LCD_HEIGHT 64
28 #define LCD_DEPTH 1
30 #define LCD_PIXELFORMAT VERTICAL_PACKING
32 #define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
34 #define CONFIG_STORAGE STORAGE_NAND
36 #define CONFIG_NAND NAND_IFP7XX
38 #define HAVE_FAT16SUPPORT
40 /* Define this if you do software codec */
41 #define CONFIG_CODEC SWCODEC
43 /* Define this if you have a software controlled poweroff */
44 #define HAVE_SW_POWEROFF
46 /* The number of bytes reserved for loadable codecs */
47 #define CODEC_SIZE 0x38000
49 /* The number of bytes reserved for loadable plugins */
50 #define PLUGIN_BUFFER_SIZE 0x10000
52 /* Define this if you have the WM8975 audio codec */
53 /* #define HAVE_WM8975 */
55 /* Virtual LED (icon) */
56 #define CONFIG_LED LED_VIRTUAL
58 #define HAVE_LCD_CONTRAST
60 #define MIN_CONTRAST_SETTING 5
61 #define MAX_CONTRAST_SETTING 63
62 #define DEFAULT_CONTRAST_SETTING 40
64 /* define this if you have a flash memory storage */
65 #define HAVE_FLASH_STORAGE
67 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
68 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
69 #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
70 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
71 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
73 /* define this if the unit should not shut down on low battery. */
74 #define NO_LOW_BATTERY_SHUTDOWN
76 #ifndef SIMULATOR
78 /* Define this if you have a Philips PNX0101 */
79 #define CONFIG_CPU PNX0101
81 /* Define this if you want to use the PNX0101 i2c interface */
82 #define CONFIG_I2C I2C_PNX0101
84 /* The start address index for ROM builds */
85 #define ROM_START 0x00000000
87 /* Define this for LCD backlight available */
88 #define HAVE_BACKLIGHT
90 /* Define this to the CPU frequency */
91 #define CPU_FREQ 48000000
93 #define CONFIG_LCD LCD_IFP7XX
95 /* Offset ( in the firmware file's header ) to the file length */
96 #define FIRMWARE_OFFSET_FILE_LENGTH 0
98 /* Offset ( in the firmware file's header ) to the file CRC */
99 #define FIRMWARE_OFFSET_FILE_CRC 0
101 /* Offset ( in the firmware file's header ) to the real data */
102 #define FIRMWARE_OFFSET_FILE_DATA 8
104 #define USB_ISP1582
106 #define HAVE_GDB_API
108 /* Define this if you have adjustable CPU frequency */
109 #define HAVE_ADJUSTABLE_CPU_FREQ
111 #define BOOTFILE_EXT "iriver"
112 #define BOOTFILE "rockbox." BOOTFILE_EXT
113 #define BOOTDIR "/.rockbox"
115 #define IBSS_ATTR_VOICE_STACK
116 #define ICODE_ATTR_TREMOR_NOT_MDCT
117 #define ICODE_ATTR_TREMOR_MDCT
118 #define ICODE_ATTR_FLAC
119 #define IBSS_ATTR_FLAC_DECODED0
120 #define ICONST_ATTR_MPA_HUFFMAN
121 #define IBSS_ATTR_MPC_SAMPLE_BUF
122 #define ICODE_ATTR_ALAC
123 #define IBSS_ATTR_SHORTEN_DECODED0
125 #endif