2 * This config file is for iAudio M3
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 25
9 /* define this if you use an ATA controller */
12 /* define this if you have recording possibility */
13 #define HAVE_RECORDING
15 /* Define bitmask of input sources - recordable bitmask can be defined
16 explicitly if different */
17 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
19 /* define the bitmask of hardware sample rates */
20 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
22 /* define the bitmask of recording sample rates */
23 #define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
25 /* define this if you have a bitmap LCD display */
26 #define HAVE_LCD_BITMAP
28 /* define this if you want album art for this target */
31 /* define this if you can flip your LCD */
34 /* define this if you can invert the colours on your LCD */
35 #define HAVE_LCD_INVERT
37 /* define this if you have access to the quickscreen */
38 #define HAVE_QUICKSCREEN
40 /* define this if you have access to the pitchscreen */
41 #define HAVE_PITCHSCREEN
43 /* define this if you would like tagcache to build on this target */
51 #define LCD_PIXELFORMAT VERTICAL_INTERLEAVED
53 /* define this if only the remote has an LCD */
54 #define HAVE_REMOTE_LCD_AS_MAIN
56 #define CONFIG_KEYPAD IAUDIO_M3_PAD
58 #define AB_REPEAT_ENABLE 1
59 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
61 /* Define this if you do software codec */
62 #define CONFIG_CODEC SWCODEC
64 /* define this if you have a real-time clock */
65 /* #define CONFIG_RTC FIXME: most probably none */
67 #define CONFIG_LCD LCD_TL0350A
69 /* Define this for LCD backlight available */
70 #define HAVE_BACKLIGHT
72 /* Define this if you have a software controlled poweroff */
73 #define HAVE_SW_POWEROFF
75 /* The number of bytes reserved for loadable codecs */
76 #define CODEC_SIZE 0x80000
78 /* The number of bytes reserved for loadable plugins */
79 #define PLUGIN_BUFFER_SIZE 0x80000
82 #define CONFIG_TUNER TEA5767
83 #define CONFIG_TUNER_XTAL 32768
87 /* TLV320 has no tone controls, so we use the software ones */
88 #define HAVE_SW_TONE_CONTROLS
90 #define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
91 #define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
92 #define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
93 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
94 #define BATTERY_TYPES_COUNT 1 /* only one type */
96 /* Hardware controlled charging? FIXME */
97 #define CONFIG_CHARGING CHARGING_SIMPLE
101 /* Define this if your LCD can set contrast */
102 #define HAVE_LCD_CONTRAST
104 /* Define this if you have a Motorola SCF5249 */
105 #define CONFIG_CPU MCF5249
107 /* Define this if you want to use coldfire's i2c interface */
108 #define CONFIG_I2C I2C_COLDFIRE
110 /* define this if the hardware can be powered off while charging */
111 #define HAVE_POWEROFF_WHILE_CHARGING
113 /* The size of the flash ROM */
114 #define FLASH_SIZE 0x400000
116 /* Define this to the CPU frequency */
117 #define CPU_FREQ 11289600
119 /* Define this if you have ATA power-off control */
120 #define HAVE_ATA_POWER_OFF
122 /* Virtual LED (icon) */
123 #define CONFIG_LED LED_VIRTUAL /* FIXME: implement hardware LED handling */
125 /* Offset ( in the firmware file's header ) to the file CRC */
126 #define FIRMWARE_OFFSET_FILE_CRC 0
128 /* Offset ( in the firmware file's header ) to the real data */
129 #define FIRMWARE_OFFSET_FILE_DATA 8
131 /* Define this if you have adjustable CPU frequency */
132 #define HAVE_ADJUSTABLE_CPU_FREQ
134 #define BOOTFILE_EXT "iaudio"
135 #define BOOTFILE "rockbox." BOOTFILE_EXT
136 #define BOOTDIR "/.rockbox"
138 #define BOOTLOADER_ENTRYPOINT 0x001F0000
139 #define FLASH_ENTRYPOINT 0x00001000
140 #define FLASH_MAGIC 0xfbfbfbf1
142 #endif /* SIMULATOR */
144 /* Define this for FM radio input available */
145 #define HAVE_FMRADIO_IN
147 /** Port-specific settings **/
149 /* Main LCD contrast range and defaults */
150 #define MIN_CONTRAST_SETTING 10
151 #define MAX_CONTRAST_SETTING 35
152 #define DEFAULT_CONTRAST_SETTING 24