summaryrefslogtreecommitdiff
path: root/firmware/export/config-ifp7xx.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:17:48 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:17:48 +0000
commit36a81eb9b98ac7b1dff0d6658dba0255dd579f5f (patch)
tree81b81008c4cb69c276329ecd50200887c4da4838 /firmware/export/config-ifp7xx.h
parent66fa5b578904f7df61293d6ce5c08966b5db13db (diff)
downloadrockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.tar.gz
rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.zip
Reverted r23881 mistakenly committed to branch.v3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ifp7xx.h')
-rw-r--r--firmware/export/config-ifp7xx.h130
1 files changed, 130 insertions, 0 deletions
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
new file mode 100644
index 0000000000..901f78f0ea
--- /dev/null
+++ b/firmware/export/config-ifp7xx.h
@@ -0,0 +1,130 @@
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#ifndef SIMULATOR
80
81/* Define this if you have a Philips PNX0101 */
82#define CONFIG_CPU PNX0101
83
84/* Define this if you want to use the PNX0101 i2c interface */
85#define CONFIG_I2C I2C_PNX0101
86
87/* The start address index for ROM builds */
88#define ROM_START 0x00000000
89
90/* Define this for LCD backlight available */
91#define HAVE_BACKLIGHT
92
93/* Define this to the CPU frequency */
94#define CPU_FREQ 48000000
95
96#define CONFIG_LCD LCD_IFP7XX
97
98/* Offset ( in the firmware file's header ) to the file length */
99#define FIRMWARE_OFFSET_FILE_LENGTH 0
100
101/* Offset ( in the firmware file's header ) to the file CRC */
102#define FIRMWARE_OFFSET_FILE_CRC 0
103
104/* Offset ( in the firmware file's header ) to the real data */
105#define FIRMWARE_OFFSET_FILE_DATA 8
106
107#define USB_ISP1582
108
109#define HAVE_GDB_API
110
111/* Define this if you have adjustable CPU frequency */
112#define HAVE_ADJUSTABLE_CPU_FREQ
113
114#define BOOTFILE_EXT "iriver"
115#define BOOTFILE "rockbox." BOOTFILE_EXT
116#define BOOTDIR "/.rockbox"
117
118#define IBSS_ATTR_VOICE_STACK
119#define ICODE_ATTR_TREMOR_NOT_MDCT
120#define ICODE_ATTR_TREMOR_MDCT
121#define ICODE_ATTR_FLAC
122#define IBSS_ATTR_FLAC_DECODED0
123#define ICONST_ATTR_MPA_HUFFMAN
124#define IBSS_ATTR_MPC_SAMPLE_BUF
125#define ICODE_ATTR_ALAC
126#define IBSS_ATTR_SHORTEN_DECODED0
127
128#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
129
130#endif