Gigibeat S Manual - redo r23795 to look like it was originally meant to look.
[kugel-rb.git] / firmware / export / config-ifp7xx.h
blob48a53f8c9d34a34731468bebe3a8a656382bc529
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 /* Display colours, for screenshots and sim (0xRRGGBB) */
33 #define LCD_DARKCOLOR 0x000000
34 #define LCD_BRIGHTCOLOR 0x5e6854
35 #define LCD_BL_DARKCOLOR 0x000000
36 #define LCD_BL_BRIGHTCOLOR 0x3ca0e6
38 #define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
40 #define CONFIG_STORAGE STORAGE_NAND
42 #define CONFIG_NAND NAND_IFP7XX
44 #define HAVE_FAT16SUPPORT
46 /* Define this if you do software codec */
47 #define CONFIG_CODEC SWCODEC
49 /* Define this if you have a software controlled poweroff */
50 #define HAVE_SW_POWEROFF
52 /* The number of bytes reserved for loadable codecs */
53 #define CODEC_SIZE 0x38000
55 /* The number of bytes reserved for loadable plugins */
56 #define PLUGIN_BUFFER_SIZE 0x10000
58 /* Define this if you have the WM8975 audio codec */
59 /* #define HAVE_WM8975 */
61 #define HAVE_LCD_CONTRAST
63 #define MIN_CONTRAST_SETTING 5
64 #define MAX_CONTRAST_SETTING 63
65 #define DEFAULT_CONTRAST_SETTING 40
67 /* define this if you have a flash memory storage */
68 #define HAVE_FLASH_STORAGE
70 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
71 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
72 #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
73 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
74 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
76 /* define this if the unit should not shut down on low battery. */
77 #define NO_LOW_BATTERY_SHUTDOWN
79 /* Define this if you have a Philips PNX0101 */
80 #define CONFIG_CPU PNX0101
82 /* Define this if you want to use the PNX0101 i2c interface */
83 #define CONFIG_I2C I2C_PNX0101
85 /* The start address index for ROM builds */
86 #define ROM_START 0x00000000
88 /* Define this for LCD backlight available */
89 #define HAVE_BACKLIGHT
91 /* Define this to the CPU frequency */
92 #define CPU_FREQ 48000000
94 #define CONFIG_LCD LCD_IFP7XX
96 /* Offset ( in the firmware file's header ) to the file length */
97 #define FIRMWARE_OFFSET_FILE_LENGTH 0
99 /* Offset ( in the firmware file's header ) to the file CRC */
100 #define FIRMWARE_OFFSET_FILE_CRC 0
102 /* Offset ( in the firmware file's header ) to the real data */
103 #define FIRMWARE_OFFSET_FILE_DATA 8
105 #define USB_ISP1582
107 #define HAVE_GDB_API
109 /* Define this if you have adjustable CPU frequency */
110 #define HAVE_ADJUSTABLE_CPU_FREQ
112 #define BOOTFILE_EXT "iriver"
113 #define BOOTFILE "rockbox." BOOTFILE_EXT
114 #define BOOTDIR "/.rockbox"
116 #define IBSS_ATTR_VOICE_STACK
117 #define ICODE_ATTR_TREMOR_NOT_MDCT
118 #define ICODE_ATTR_TREMOR_MDCT
119 #define ICODE_ATTR_FLAC
120 #define IBSS_ATTR_FLAC_DECODED0
121 #define ICONST_ATTR_MPA_HUFFMAN
122 #define IBSS_ATTR_MPC_SAMPLE_BUF
123 #define ICODE_ATTR_ALAC
124 #define IBSS_ATTR_SHORTEN_DECODED0
126 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */