Switch on hotkey on several targets. Stole the WPS Show Track Info key for most...
[kugel-rb.git] / firmware / export / config / iriverifp7xx.h
blob78c0783d2734102f3eb9a58cf142663debe1f204
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 would like tagcache to build on this target */
20 /* #define HAVE_TAGCACHE */
22 /* LCD dimensions */
23 #define LCD_WIDTH 128
24 #define LCD_HEIGHT 64
25 #define LCD_DEPTH 1
27 #define LCD_PIXELFORMAT VERTICAL_PACKING
29 /* Display colours, for screenshots and sim (0xRRGGBB) */
30 #define LCD_DARKCOLOR 0x000000
31 #define LCD_BRIGHTCOLOR 0x5e6854
32 #define LCD_BL_DARKCOLOR 0x000000
33 #define LCD_BL_BRIGHTCOLOR 0x3ca0e6
35 #define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
37 #define CONFIG_STORAGE STORAGE_NAND
39 #define CONFIG_NAND NAND_IFP7XX
41 #define HAVE_FAT16SUPPORT
43 /* Define this if you do software codec */
44 #define CONFIG_CODEC SWCODEC
46 /* Define this if you have a software controlled poweroff */
47 #define HAVE_SW_POWEROFF
49 /* The number of bytes reserved for loadable codecs */
50 #define CODEC_SIZE 0x38000
52 /* The number of bytes reserved for loadable plugins */
53 #define PLUGIN_BUFFER_SIZE 0x10000
55 /* Define this if you have the WM8975 audio codec */
56 /* #define HAVE_WM8975 */
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 /* Define this if you have a Philips PNX0101 */
77 #define CONFIG_CPU PNX0101
79 /* Define this if you want to use the PNX0101 i2c interface */
80 #define CONFIG_I2C I2C_PNX0101
82 /* The start address index for ROM builds */
83 #define ROM_START 0x00000000
85 /* Define this for LCD backlight available */
86 #define HAVE_BACKLIGHT
88 /* Define this to the CPU frequency */
89 #define CPU_FREQ 48000000
91 #define CONFIG_LCD LCD_IFP7XX
93 /* Offset ( in the firmware file's header ) to the file length */
94 #define FIRMWARE_OFFSET_FILE_LENGTH 0
96 /* Offset ( in the firmware file's header ) to the file CRC */
97 #define FIRMWARE_OFFSET_FILE_CRC 0
99 /* Offset ( in the firmware file's header ) to the real data */
100 #define FIRMWARE_OFFSET_FILE_DATA 8
102 #define USB_ISP1582
104 #define HAVE_GDB_API
106 /* Define this if you have adjustable CPU frequency */
107 #define HAVE_ADJUSTABLE_CPU_FREQ
109 #define BOOTFILE_EXT "iriver"
110 #define BOOTFILE "rockbox." BOOTFILE_EXT
111 #define BOOTDIR "/.rockbox"
113 #define IBSS_ATTR_VOICE_STACK
114 #define ICODE_ATTR_TREMOR_NOT_MDCT
115 #define ICODE_ATTR_TREMOR_MDCT
116 #define ICODE_ATTR_FLAC
117 #define IBSS_ATTR_FLAC_DECODED0
118 #define ICONST_ATTR_MPA_HUFFMAN
119 #define IBSS_ATTR_MPC_SAMPLE_BUF
120 #define ICODE_ATTR_ALAC
121 #define IBSS_ATTR_SHORTEN_DECODED0
123 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
125 /* Define this if a programmable hotkey is mapped */
126 #define HAVE_HOTKEY