summaryrefslogtreecommitdiff
path: root/firmware/export/config-ifp7xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ifp7xx.h')
-rw-r--r--firmware/export/config-ifp7xx.h96
1 files changed, 96 insertions, 0 deletions
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
new file mode 100644
index 0000000000..086b455235
--- /dev/null
+++ b/firmware/export/config-ifp7xx.h
@@ -0,0 +1,96 @@
1/*
2 * This config file is for iriver iFP-799
3 */
4#define IRIVER_IFP7XX_SERIES 1
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 6
8
9/* define this if you have recording possibility */
10/*#define HAVE_RECORDING 1*/
11
12/* define this if you have a bitmap LCD display */
13#define HAVE_LCD_BITMAP 1
14
15/* define this if you have a colour LCD */
16/* #define HAVE_LCD_COLOR 1 */
17
18/* LCD dimensions */
19#define LCD_WIDTH 128
20#define LCD_HEIGHT 64
21#define LCD_DEPTH 1
22
23#define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
24
25#define CONFIG_FLASH FLASH_IFP7XX
26
27#define HAVE_FAT16SUPPORT
28
29/* Define this if you do software codec */
30#define CONFIG_CODEC SWCODEC
31
32/* Define this if you have a software controlled poweroff */
33#define HAVE_SW_POWEROFF
34
35/* The number of bytes reserved for loadable codecs */
36#define CODEC_SIZE 0x30000
37
38/* The number of bytes reserved for loadable plugins */
39#define PLUGIN_BUFFER_SIZE 0x20000
40
41/* Define this if you have the WM8975 audio codec */
42/* #define HAVE_WM8975 */
43
44#define HAVE_FLASH_DISK
45
46#ifndef SIMULATOR
47
48/* Define this if you have a Philips PNX0101 */
49#define CONFIG_CPU PNX0101
50
51/* Define this if you want to use the PNX0101 i2c interface */
52#define CONFIG_I2C I2C_PNX0101
53
54/* Type of mobile power */
55//#define CONFIG_BATTERY BATT_LIPOL1300
56
57#define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */
58
59/* Define this if the platform can charge batteries */
60//#define HAVE_CHARGING 1
61
62/* define this if the hardware can be powered off while charging */
63//#define HAVE_POWEROFF_WHILE_CHARGING
64
65/* The start address index for ROM builds */
66#define ROM_START 0x00000000
67
68/* Define this for LCD backlight available */
69#define CONFIG_BACKLIGHT BL_IRIVER_IFP7XX /* port controlled */
70
71/* Define this to the CPU frequency */
72#define CPU_FREQ 30000000
73
74#define CONFIG_LCD LCD_IFP7XX
75
76/* Offset ( in the firmware file's header ) to the file length */
77#define FIRMWARE_OFFSET_FILE_LENGTH 0
78
79/* Offset ( in the firmware file's header ) to the file CRC */
80#define FIRMWARE_OFFSET_FILE_CRC 0
81
82/* Offset ( in the firmware file's header ) to the real data */
83#define FIRMWARE_OFFSET_FILE_DATA 8
84
85#define USB_ISP1582
86
87/* Virtual LED (icon) */
88#define CONFIG_LED LED_VIRTUAL
89
90/* Define this if you have adjustable CPU frequency */
91//#define HAVE_ADJUSTABLE_CPU_FREQ
92
93#define BOOTFILE_EXT "iriver"
94#define BOOTFILE "rockbox." BOOTFILE_EXT
95
96#endif