Fix automatic rolo on new version for archos. Introduces new define in config files...
[kugel-rb.git] / firmware / export / config-ifp7xx.h
blob1b0ea17984063affd964f389b70defaff83fc35f
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 CONFIG_KEYPAD IRIVER_IFP7XX_PAD
30 #define CONFIG_FLASH FLASH_IFP7XX
32 #define HAVE_FAT16SUPPORT
34 /* Define this if you do software codec */
35 #define CONFIG_CODEC SWCODEC
37 /* Define this if you have a software controlled poweroff */
38 #define HAVE_SW_POWEROFF
40 /* The number of bytes reserved for loadable codecs */
41 #define CODEC_SIZE 0x20000
43 /* The number of bytes reserved for loadable plugins */
44 #define PLUGIN_BUFFER_SIZE 0x10000
46 /* Define this if you have the WM8975 audio codec */
47 /* #define HAVE_WM8975 */
49 #define HAVE_FLASH_DISK
51 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
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 #ifndef SIMULATOR
62 /* Define this if you have a Philips PNX0101 */
63 #define CONFIG_CPU PNX0101
65 /* Define this if you want to use the PNX0101 i2c interface */
66 #define CONFIG_I2C I2C_PNX0101
68 /* Type of mobile power */
69 #define CONFIG_BATTERY BATT_1AA
70 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
71 #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
72 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
73 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
74 #define BATTERY_SCALE_FACTOR 3000 /* TODO: only roughly correct */
76 /* The start address index for ROM builds */
77 #define ROM_START 0x00000000
79 /* Define this for LCD backlight available */
80 #define CONFIG_BACKLIGHT BL_IRIVER_IFP7XX /* port controlled */
82 /* Define this to the CPU frequency */
83 #define CPU_FREQ 48000000
85 #define CONFIG_LCD LCD_IFP7XX
87 /* Offset ( in the firmware file's header ) to the file length */
88 #define FIRMWARE_OFFSET_FILE_LENGTH 0
90 /* Offset ( in the firmware file's header ) to the file CRC */
91 #define FIRMWARE_OFFSET_FILE_CRC 0
93 /* Offset ( in the firmware file's header ) to the real data */
94 #define FIRMWARE_OFFSET_FILE_DATA 8
96 #define USB_ISP1582
98 #define HAVE_GDB_API
100 /* Define this if you have adjustable CPU frequency */
101 #define HAVE_ADJUSTABLE_CPU_FREQ
103 #define BOOTFILE_EXT "iriver"
104 #define BOOTFILE "rockbox." BOOTFILE_EXT
105 #define BOOTDIR "/.rockbox"
107 #define IBSS_ATTR_VOICE_STACK
108 #define ICODE_ATTR_TREMOR_NOT_MDCT
109 #define ICODE_ATTR_TREMOR_MDCT
110 #define ICODE_ATTR_FLAC
111 #define IBSS_ATTR_FLAC_DECODED0
112 #define ICONST_ATTR_MPA_HUFFMAN
113 #define IBSS_ATTR_MPC_SAMPLE_BUF
114 #define ICODE_ATTR_ALAC
115 #define IBSS_ATTR_SHORTEN_DECODED0
117 #endif