TARGET_TREE is not needed anymore
[maemo-rb.git] / firmware / export / config / iriverifp7xx.h
blobc15848f6775b2254df21daef612ef0dbdc478fad
1 /*
2 * This config file is for iriver iFP-799
3 */
5 #define IRIVER_IFP7XX_SERIES 1
7 #define MODEL_NAME "iriver iFP-799"
9 /* For Rolo and boot loader */
10 #define MODEL_NUMBER 6
12 /* define this if you have recording possibility */
13 /*#define HAVE_RECORDING*/
15 /* define this if you have a bitmap LCD display */
16 #define HAVE_LCD_BITMAP
18 /* define this if you would like tagcache to build on this target */
19 /* #define HAVE_TAGCACHE */
21 /* LCD dimensions */
22 #define LCD_WIDTH 128
23 #define LCD_HEIGHT 64
24 #define LCD_DEPTH 1
26 #define LCD_PIXELFORMAT VERTICAL_PACKING
28 /* Display colours, for screenshots and sim (0xRRGGBB) */
29 #define LCD_DARKCOLOR 0x000000
30 #define LCD_BRIGHTCOLOR 0x5e6854
31 #define LCD_BL_DARKCOLOR 0x000000
32 #define LCD_BL_BRIGHTCOLOR 0x3ca0e6
34 #define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
36 #define CONFIG_STORAGE STORAGE_NAND
38 #define CONFIG_NAND NAND_IFP7XX
40 #define HAVE_FAT16SUPPORT
42 /* Define this if you do software codec */
43 #define CONFIG_CODEC SWCODEC
45 /* Define this if you have a software controlled poweroff */
46 #define HAVE_SW_POWEROFF
48 /* The number of bytes reserved for loadable codecs */
49 #define CODEC_SIZE 0x38000
51 /* The number of bytes reserved for loadable plugins */
52 #define PLUGIN_BUFFER_SIZE 0x10000
54 /* Define this if you have the WM8975 audio codec */
55 /* #define HAVE_WM8975 */
57 #define HAVE_LCD_CONTRAST
59 #define MIN_CONTRAST_SETTING 5
60 #define MAX_CONTRAST_SETTING 63
61 #define DEFAULT_CONTRAST_SETTING 40
63 /* define this if you have a flash memory storage */
64 #define HAVE_FLASH_STORAGE
66 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
67 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
68 #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
69 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
70 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
72 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
74 /* define this if the unit should not shut down on low battery. */
75 #define NO_LOW_BATTERY_SHUTDOWN
77 /* Define this if you have a Philips PNX0101 */
78 #define CONFIG_CPU PNX0101
80 /* Define this if you want to use the PNX0101 i2c interface */
81 #define CONFIG_I2C I2C_PNX0101
83 /* The start address index for ROM builds */
84 #define ROM_START 0x00000000
86 /* Define this for LCD backlight available */
87 #define HAVE_BACKLIGHT
89 /* Define this to the CPU frequency */
90 #define CPU_FREQ 48000000
92 #define CONFIG_LCD LCD_IFP7XX
94 /* Offset ( in the firmware file's header ) to the file length */
95 #define FIRMWARE_OFFSET_FILE_LENGTH 0
97 /* Offset ( in the firmware file's header ) to the file CRC */
98 #define FIRMWARE_OFFSET_FILE_CRC 0
100 /* Offset ( in the firmware file's header ) to the real data */
101 #define FIRMWARE_OFFSET_FILE_DATA 8
103 #define USB_ISP1582
105 #define HAVE_GDB_API
107 /* Define this if you have adjustable CPU frequency */
108 #define HAVE_ADJUSTABLE_CPU_FREQ
110 #define BOOTFILE_EXT "iriver"
111 #define BOOTFILE "rockbox." BOOTFILE_EXT
112 #define BOOTDIR "/.rockbox"
114 #define IBSS_ATTR_VOICE_STACK
115 #define ICODE_ATTR_TREMOR_NOT_MDCT
116 #define ICODE_ATTR_TREMOR_MDCT
117 #define ICODE_ATTR_FLAC
118 #define IBSS_ATTR_FLAC_DECODED0
119 #define ICONST_ATTR_MPA_HUFFMAN
120 #define IBSS_ATTR_MPC_SAMPLE_BUF
121 #define ICODE_ATTR_ALAC
122 #define IBSS_ATTR_SHORTEN_DECODED0
124 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
126 /* Define this if a programmable hotkey is mapped */
127 #define HAVE_HOTKEY