summaryrefslogtreecommitdiff
path: root/firmware/export/config/iriverifp7xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/iriverifp7xx.h')
-rw-r--r--firmware/export/config/iriverifp7xx.h127
1 files changed, 127 insertions, 0 deletions
diff --git a/firmware/export/config/iriverifp7xx.h b/firmware/export/config/iriverifp7xx.h
new file mode 100644
index 0000000000..48a53f8c9d
--- /dev/null
+++ b/firmware/export/config/iriverifp7xx.h
@@ -0,0 +1,127 @@
1/*
2 * This config file is for iriver iFP-799
3 */
4#define TARGET_TREE
5
6#define IRIVER_IFP7XX_SERIES 1
7
8#define MODEL_NAME "iriver iFP-799"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 6
12
13/* define this if you have recording possibility */
14/*#define HAVE_RECORDING*/
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
18
19/* define this if you have a colour LCD */
20/* #define HAVE_LCD_COLOR */
21
22/* define this if you would like tagcache to build on this target */
23/* #define HAVE_TAGCACHE */
24
25/* LCD dimensions */
26#define LCD_WIDTH 128
27#define LCD_HEIGHT 64
28#define LCD_DEPTH 1
29
30#define LCD_PIXELFORMAT VERTICAL_PACKING
31
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
37
38#define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
39
40#define CONFIG_STORAGE STORAGE_NAND
41
42#define CONFIG_NAND NAND_IFP7XX
43
44#define HAVE_FAT16SUPPORT
45
46/* Define this if you do software codec */
47#define CONFIG_CODEC SWCODEC
48
49/* Define this if you have a software controlled poweroff */
50#define HAVE_SW_POWEROFF
51
52/* The number of bytes reserved for loadable codecs */
53#define CODEC_SIZE 0x38000
54
55/* The number of bytes reserved for loadable plugins */
56#define PLUGIN_BUFFER_SIZE 0x10000
57
58/* Define this if you have the WM8975 audio codec */
59/* #define HAVE_WM8975 */
60
61#define HAVE_LCD_CONTRAST
62
63#define MIN_CONTRAST_SETTING 5
64#define MAX_CONTRAST_SETTING 63
65#define DEFAULT_CONTRAST_SETTING 40
66
67/* define this if you have a flash memory storage */
68#define HAVE_FLASH_STORAGE
69
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 */
75
76/* define this if the unit should not shut down on low battery. */
77#define NO_LOW_BATTERY_SHUTDOWN
78
79/* Define this if you have a Philips PNX0101 */
80#define CONFIG_CPU PNX0101
81
82/* Define this if you want to use the PNX0101 i2c interface */
83#define CONFIG_I2C I2C_PNX0101
84
85/* The start address index for ROM builds */
86#define ROM_START 0x00000000
87
88/* Define this for LCD backlight available */
89#define HAVE_BACKLIGHT
90
91/* Define this to the CPU frequency */
92#define CPU_FREQ 48000000
93
94#define CONFIG_LCD LCD_IFP7XX
95
96/* Offset ( in the firmware file's header ) to the file length */
97#define FIRMWARE_OFFSET_FILE_LENGTH 0
98
99/* Offset ( in the firmware file's header ) to the file CRC */
100#define FIRMWARE_OFFSET_FILE_CRC 0
101
102/* Offset ( in the firmware file's header ) to the real data */
103#define FIRMWARE_OFFSET_FILE_DATA 8
104
105#define USB_ISP1582
106
107#define HAVE_GDB_API
108
109/* Define this if you have adjustable CPU frequency */
110#define HAVE_ADJUSTABLE_CPU_FREQ
111
112#define BOOTFILE_EXT "iriver"
113#define BOOTFILE "rockbox." BOOTFILE_EXT
114#define BOOTDIR "/.rockbox"
115
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
125
126#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
127