summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/archosfmrecorder.h143
-rw-r--r--firmware/export/config/archosondiofm.h143
-rw-r--r--firmware/export/config/archosondiosp.h127
-rw-r--r--firmware/export/config/archosplayer.h109
-rw-r--r--firmware/export/config/archosrecorder.h134
-rw-r--r--firmware/export/config/archosrecorderv2.h143
-rw-r--r--firmware/export/config/cowond2.h175
-rw-r--r--firmware/export/config/gigabeatfx.h197
-rw-r--r--firmware/export/config/gigabeats.h227
-rw-r--r--firmware/export/config/gogearhdd1630.h201
-rw-r--r--firmware/export/config/gogearsa9200.h196
-rw-r--r--firmware/export/config/iaudio7.h165
-rw-r--r--firmware/export/config/iaudiom3.h175
-rw-r--r--firmware/export/config/iaudiom5.h193
-rw-r--r--firmware/export/config/iaudiox5.h206
-rw-r--r--firmware/export/config/ipod1g2g.h171
-rw-r--r--firmware/export/config/ipod3g.h175
-rw-r--r--firmware/export/config/ipod4g.h208
-rw-r--r--firmware/export/config/ipodcolor.h180
-rw-r--r--firmware/export/config/ipodmini1g.h195
-rw-r--r--firmware/export/config/ipodmini2g.h205
-rw-r--r--firmware/export/config/ipodnano1g.h190
-rw-r--r--firmware/export/config/ipodnano2g.h173
-rw-r--r--firmware/export/config/ipodvideo.h225
-rw-r--r--firmware/export/config/iriverh10.h187
-rw-r--r--firmware/export/config/iriverh100.h217
-rw-r--r--firmware/export/config/iriverh10_5gb.h167
-rw-r--r--firmware/export/config/iriverh120.h214
-rw-r--r--firmware/export/config/iriverh300.h205
-rw-r--r--firmware/export/config/iriverifp7xx.h130
-rw-r--r--firmware/export/config/logikdax.h150
-rw-r--r--firmware/export/config/lyreproto1.h106
-rw-r--r--firmware/export/config/meizum3.h181
-rw-r--r--firmware/export/config/meizum6sl.h182
-rw-r--r--firmware/export/config/meizum6sp.h182
-rw-r--r--firmware/export/config/mrobe100.h201
-rw-r--r--firmware/export/config/mrobe500.h251
-rw-r--r--firmware/export/config/ondavx747.h220
-rw-r--r--firmware/export/config/ondavx767.h173
-rw-r--r--firmware/export/config/samsungyh820.h188
-rw-r--r--firmware/export/config/samsungyh920.h194
-rw-r--r--firmware/export/config/samsungyh925.h192
-rw-r--r--firmware/export/config/samsungyps3.h186
-rw-r--r--firmware/export/config/sansac100.h131
-rw-r--r--firmware/export/config/sansac200.h211
-rw-r--r--firmware/export/config/sansac200v2.h210
-rw-r--r--firmware/export/config/sansaclip.h210
-rw-r--r--firmware/export/config/sansae200.h219
-rw-r--r--firmware/export/config/sansae200v2.h214
-rw-r--r--firmware/export/config/sansafuze.h208
-rw-r--r--firmware/export/config/sansam200.h136
-rw-r--r--firmware/export/config/sansam200v4.h171
-rw-r--r--firmware/export/config/sansaview.h205
-rw-r--r--firmware/export/config/tatungtpj1022.h142
-rw-r--r--firmware/export/config/zenvision.h173
-rw-r--r--firmware/export/config/zenvisionm30gb.h179
-rw-r--r--firmware/export/config/zenvisionm60gb.h171
57 files changed, 10362 insertions, 0 deletions
diff --git a/firmware/export/config/archosfmrecorder.h b/firmware/export/config/archosfmrecorder.h
new file mode 100644
index 0000000000..acc1c74dcf
--- /dev/null
+++ b/firmware/export/config/archosfmrecorder.h
@@ -0,0 +1,143 @@
1/* define this if you use an ATA controller */
2#define CONFIG_STORAGE STORAGE_ATA
3
4#define MODEL_NAME "Archos FM Recorder"
5
6/* define this if you have recording possibility */
7#define HAVE_RECORDING
8
9/* Define bitmask of input sources - recordable bitmask can be defined
10 explicitly if different */
11#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
12
13/* define this if you have a bitmap LCD display */
14#define HAVE_LCD_BITMAP
15
16/* define this if you can flip your LCD */
17#define HAVE_LCD_FLIP
18
19/* define this if you can invert the colours on your LCD */
20#define HAVE_LCD_INVERT
21
22/* define this if you have access to the quickscreen */
23#define HAVE_QUICKSCREEN
24/* define this if you have access to the pitchscreen */
25#define HAVE_PITCHSCREEN
26/* define this if you have the button bar */
27#define HAVE_BUTTONBAR
28
29/* define this if you would like tagcache to build on this target */
30#define HAVE_TAGCACHE
31
32/* LCD dimensions */
33#define LCD_WIDTH 112
34#define LCD_HEIGHT 64
35#define LCD_DEPTH 1
36
37#define LCD_PIXEL_ASPECT_WIDTH 4
38#define LCD_PIXEL_ASPECT_HEIGHT 5
39
40#define LCD_PIXELFORMAT VERTICAL_PACKING
41
42/* Display colours, for screenshots and sim (0xRRGGBB) */
43#define LCD_DARKCOLOR 0x000000
44#define LCD_BRIGHTCOLOR 0x5a915a
45#define LCD_BL_DARKCOLOR 0x000000
46#define LCD_BL_BRIGHTCOLOR 0x7ee57e
47
48/* define this if you have a Recorder style 10-key keyboard */
49#define CONFIG_KEYPAD RECORDER_PAD
50
51/* define this if you have a real-time clock */
52#define CONFIG_RTC RTC_M41ST84W
53
54/* FM recorders can wake up from RTC alarm */
55#define HAVE_RTC_ALARM
56
57/* define this if you have RTC RAM available for settings */
58#define HAVE_RTC_RAM
59
60/* Define this if you have a software controlled poweroff */
61#define HAVE_SW_POWEROFF
62
63/* The number of bytes reserved for loadable plugins */
64#define PLUGIN_BUFFER_SIZE 0x8000
65
66#ifndef BOOTLOADER
67/* Define this if you have an FM Radio */
68#define CONFIG_TUNER S1A0903X01
69#endif
70
71#define AB_REPEAT_ENABLE 1
72
73/* Define this if you have a MAS3587F */
74#define CONFIG_CODEC MAS3587F
75
76/* Define this for LCD backlight available */
77#define HAVE_BACKLIGHT
78
79/* define this if you have a disk storage, i.e. something
80 that needs spinups and can cause skips when shaked */
81#define HAVE_DISK_STORAGE
82
83#define CONFIG_I2C I2C_PLAYREC
84
85#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
86#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
87#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
88#define BATTERY_CAPACITY_INC 50 /* capacity increment */
89#define BATTERY_TYPES_COUNT 1 /* only one type */
90
91#define CURRENT_NORMAL 145 /* usual current in mA */
92#define CURRENT_RECORD 35 /* additional recording current */
93#define CURRENT_USB 500 /* usual current in mA in USB mode */
94
95/* Hardware controlled charging with monitoring */
96#define CONFIG_CHARGING CHARGING_MONITOR
97
98/* define this if the unit can be powered or charged via USB */
99#define HAVE_USB_POWER
100
101#ifndef SIMULATOR
102
103/* Define this if you have a SH7034 */
104#define CONFIG_CPU SH7034
105
106/* Define this if you have a FM Recorder key system */
107#define HAVE_FMADC
108
109/* Define this if battery voltage can only be measured with ATA powered */
110#define NEED_ATA_POWER_BATT_MEASURE
111
112/* Define this to the CPU frequency */
113#define CPU_FREQ 11059200
114
115/* Offset ( in the firmware file's header ) to the file length */
116#define FIRMWARE_OFFSET_FILE_LENGTH 20
117
118/* Offset ( in the firmware file's header ) to the file CRC */
119#define FIRMWARE_OFFSET_FILE_CRC 6
120
121/* Offset ( in the firmware file's header ) to the real data */
122#define FIRMWARE_OFFSET_FILE_DATA 24
123
124/* The start address index for ROM builds */
125/* #define ROM_START 0x14010 for behind original Archos */
126#define ROM_START 0x7010 /* for behind BootBox */
127
128/* Software controlled LED */
129#define CONFIG_LED LED_REAL
130
131#define CONFIG_LCD LCD_SSD1815
132
133#define BOOTFILE_EXT "ajz"
134#define BOOTFILE "ajbrec." BOOTFILE_EXT
135#define BOOTDIR "/"
136
137#endif /* SIMULATOR */
138
139#define HAVE_LCD_CONTRAST
140
141#define MIN_CONTRAST_SETTING 5
142#define MAX_CONTRAST_SETTING 63
143
diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h
new file mode 100644
index 0000000000..7a2b30dbf1
--- /dev/null
+++ b/firmware/export/config/archosondiofm.h
@@ -0,0 +1,143 @@
1/* define this if you have recording possibility */
2#define HAVE_RECORDING
3
4#define MODEL_NAME "Ondio FM"
5
6/* Define bitmask of input sources - recordable bitmask can be defined
7 explicitly if different */
8#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
9
10/* define this if you have a bitmap LCD display */
11#define HAVE_LCD_BITMAP
12
13/* define this if you can flip your LCD */
14#define HAVE_LCD_FLIP
15
16/* define this if you can invert the colours on your LCD */
17#define HAVE_LCD_INVERT
18
19/* define this if you would like tagcache to build on this target */
20#define HAVE_TAGCACHE
21
22/* LCD dimensions */
23#define LCD_WIDTH 112
24#define LCD_HEIGHT 64
25#define LCD_DEPTH 1
26
27#define LCD_PIXEL_ASPECT_WIDTH 4
28#define LCD_PIXEL_ASPECT_HEIGHT 5
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 0x5a915a
35#define LCD_BL_DARKCOLOR 0x000000
36#define LCD_BL_BRIGHTCOLOR 0x82b4fa
37
38/* define this if you have an Ondio style 6-key keyboard */
39#define CONFIG_KEYPAD ONDIO_PAD
40
41#define AB_REPEAT_ENABLE 1
42#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
43
44/* define this if you have access to the pitchscreen */
45#define HAVE_PITCHSCREEN
46
47/* Define this if you have a software controlled poweroff */
48#define HAVE_SW_POWEROFF
49
50/* The number of bytes reserved for loadable plugins */
51#define PLUGIN_BUFFER_SIZE 0x8000
52
53#ifndef BOOTLOADER
54/* Define this if you have an FM Radio */
55#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
56#define CONFIG_TUNER_XTAL 13000000
57#endif
58
59/* Define this if you have a MAS3587F */
60#define CONFIG_CODEC MAS3587F
61
62/* define this if you have a flash memory storage */
63#define HAVE_FLASH_STORAGE
64
65#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
66#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
67#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
68#define BATTERY_CAPACITY_INC 50 /* capacity increment */
69#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
70
71/* define this if the unit should not shut down on low battery. */
72#define NO_LOW_BATTERY_SHUTDOWN
73
74/* define this if the unit can be powered or charged via USB */
75#define HAVE_USB_POWER
76
77/* define current usage levels */
78#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
79#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
80#define CURRENT_BACKLIGHT 0 /* no backlight */
81
82#ifndef SIMULATOR
83
84/* Define this if you have a SH7034 */
85#define CONFIG_CPU SH7034
86
87/* Define this to the CPU frequency */
88#define CPU_FREQ 12000000
89
90/* Define this for different I2C pinout */
91#define CONFIG_I2C I2C_ONDIO
92
93/* Offset ( in the firmware file's header ) to the file length */
94#define FIRMWARE_OFFSET_FILE_LENGTH 20
95
96/* Offset ( in the firmware file's header ) to the file CRC */
97#define FIRMWARE_OFFSET_FILE_CRC 6
98
99/* Offset ( in the firmware file's header ) to the real data */
100#define FIRMWARE_OFFSET_FILE_DATA 24
101
102/* Define this if the tuner is switched on by software */
103#define HAVE_TUNER_PWR_CTRL
104
105/* The start address index for ROM builds */
106/* #define ROM_START 0x16010 for behind original Archos */
107#define ROM_START 0x7010 /* for behind BootBox */
108
109/* Define this if the display is mounted upside down */
110#define HAVE_DISPLAY_FLIPPED
111
112/* Define this for different ADC channel assignment */
113#define HAVE_ONDIO_ADC
114
115/* Define this for MMC support instead of ATA harddisk */
116#define CONFIG_STORAGE STORAGE_MMC
117
118/* Define this to support mounting FAT16 partitions */
119#define HAVE_FAT16SUPPORT
120
121/* Define this if the MAS SIBI line can be controlled via PB8 */
122#define HAVE_MAS_SIBI_CONTROL
123
124/* define this if more than one device/partition can be used */
125#define HAVE_MULTIDRIVE
126#define NUM_DRIVES 2
127
128/* define this if media can be exchanged on the fly */
129#define HAVE_HOTSWAP
130
131#define CONFIG_LCD LCD_SSD1815
132
133#define BOOTFILE_EXT "ajz"
134#define BOOTFILE "ajbrec." BOOTFILE_EXT
135#define BOOTDIR "/"
136
137#endif /* SIMULATOR */
138
139#define HAVE_LCD_CONTRAST
140
141#define MIN_CONTRAST_SETTING 5
142#define MAX_CONTRAST_SETTING 63
143
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
new file mode 100644
index 0000000000..134f7e3cfa
--- /dev/null
+++ b/firmware/export/config/archosondiosp.h
@@ -0,0 +1,127 @@
1/* define this if you have a bitmap LCD display */
2#define HAVE_LCD_BITMAP
3
4#define MODEL_NAME "Ondio SP"
5
6/* define this if you can flip your LCD */
7#define HAVE_LCD_FLIP
8
9/* define this if you can invert the colours on your LCD */
10#define HAVE_LCD_INVERT
11
12/* define this if you would like tagcache to build on this target */
13#define HAVE_TAGCACHE
14
15/* LCD dimensions */
16#define LCD_WIDTH 112
17#define LCD_HEIGHT 64
18#define LCD_DEPTH 1
19
20#define LCD_PIXEL_ASPECT_WIDTH 4
21#define LCD_PIXEL_ASPECT_HEIGHT 5
22
23#define LCD_PIXELFORMAT VERTICAL_PACKING
24
25/* Display colours, for screenshots and sim (0xRRGGBB) */
26#define LCD_DARKCOLOR 0x000000
27#define LCD_BRIGHTCOLOR 0x5a915a
28#define LCD_BL_DARKCOLOR 0x000000
29#define LCD_BL_BRIGHTCOLOR 0x82b4fa
30
31/* define this if you have an Ondio style 6-key keyboard */
32#define CONFIG_KEYPAD ONDIO_PAD
33
34#define AB_REPEAT_ENABLE 1
35#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
36
37/* define this if you have access to the pitchscreen */
38#define HAVE_PITCHSCREEN
39
40/* Define this if you have a software controlled poweroff */
41#define HAVE_SW_POWEROFF
42
43/* The number of bytes reserved for loadable plugins */
44#define PLUGIN_BUFFER_SIZE 0x8000
45
46/* Define this if you have a MAS3539F */
47#define CONFIG_CODEC MAS3539F
48
49/* define this if you have a flash memory storage */
50#define HAVE_FLASH_STORAGE
51
52#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
53#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
54#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
55#define BATTERY_CAPACITY_INC 50 /* capacity increment */
56#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
57
58/* define this if the unit should not shut down on low battery. */
59#define NO_LOW_BATTERY_SHUTDOWN
60
61/* define this if the unit can be powered or charged via USB */
62#define HAVE_USB_POWER
63
64/* define current usage levels */
65#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
66#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
67#define CURRENT_BACKLIGHT 0 /* no backlight */
68
69#ifndef SIMULATOR
70
71/* Define this if you have a SH7034 */
72#define CONFIG_CPU SH7034
73
74/* Define this to the CPU frequency */
75#define CPU_FREQ 12000000
76
77/* Offset ( in the firmware file's header ) to the file length */
78#define FIRMWARE_OFFSET_FILE_LENGTH 20
79
80/* Offset ( in the firmware file's header ) to the file CRC */
81#define FIRMWARE_OFFSET_FILE_CRC 6
82
83/* Offset ( in the firmware file's header ) to the real data */
84#define FIRMWARE_OFFSET_FILE_DATA 24
85
86/* The start address index for ROM builds */
87/* #define ROM_START 0x12010 for behind original Archos */
88#define ROM_START 0x7010 /* for behind BootBox */
89
90/* Define this if the display is mounted upside down */
91#define HAVE_DISPLAY_FLIPPED
92
93/* Define this for different I2C pinout */
94#define CONFIG_I2C I2C_ONDIO
95
96/* Define this for different ADC channel assignment */
97#define HAVE_ONDIO_ADC
98
99/* Define this for MMC support instead of ATA harddisk */
100#define CONFIG_STORAGE STORAGE_MMC
101
102/* Define this to support mounting FAT16 partitions */
103#define HAVE_FAT16SUPPORT
104
105/* Define this if the MAS SIBI line can be controlled via PB8 */
106#define HAVE_MAS_SIBI_CONTROL
107
108/* define this if more than one device/partition can be used */
109#define HAVE_MULTIDRIVE
110#define NUM_DRIVES 2
111
112/* define this if media can be exchanged on the fly */
113#define HAVE_HOTSWAP
114
115#define CONFIG_LCD LCD_SSD1815
116
117#define BOOTFILE_EXT "ajz"
118#define BOOTFILE "ajbrec." BOOTFILE_EXT
119#define BOOTDIR "/"
120
121#endif /* SIMULATOR */
122
123#define HAVE_LCD_CONTRAST
124
125#define MIN_CONTRAST_SETTING 5
126#define MAX_CONTRAST_SETTING 63
127
diff --git a/firmware/export/config/archosplayer.h b/firmware/export/config/archosplayer.h
new file mode 100644
index 0000000000..5f6cf17fbe
--- /dev/null
+++ b/firmware/export/config/archosplayer.h
@@ -0,0 +1,109 @@
1/* define this if you use an ATA controller */
2#define CONFIG_STORAGE STORAGE_ATA
3
4#define MODEL_NAME "Archos Player/Studio"
5
6/* define this if you have a charcell LCD display */
7#define HAVE_LCD_CHARCELLS
8
9/* define this if you would like tagcache to build on this target */
10#define HAVE_TAGCACHE
11
12#define LCD_WIDTH 11
13#define LCD_HEIGHT 2
14#define LCD_DEPTH 1
15#define SIM_LCD_WIDTH 132 /* pixels */
16#define SIM_LCD_HEIGHT 64 /* pixels */
17
18/* Display colours, for screenshots and sim (0xRRGGBB) */
19#define LCD_DARKCOLOR 0x000000
20#define LCD_BRIGHTCOLOR 0x5a915a
21#define LCD_BL_DARKCOLOR 0x000000
22#define LCD_BL_BRIGHTCOLOR 0x7ee57e
23
24/* define this if you have the Player's keyboard */
25#define CONFIG_KEYPAD PLAYER_PAD
26
27#define AB_REPEAT_ENABLE 1
28#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
29
30/* The number of bytes reserved for loadable plugins */
31#define PLUGIN_BUFFER_SIZE 0x8000
32
33/* Define this if you have a MAS3507D */
34#define CONFIG_CODEC MAS3507D
35
36/* Define this if you have a DAC3550A */
37#define HAVE_DAC3550A
38
39/* define this if you have a disk storage, i.e. something
40 that needs spinups and can cause skips when shaked */
41#define HAVE_DISK_STORAGE
42
43/* Define this for LCD backlight available */
44#define HAVE_BACKLIGHT
45
46#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
47#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
48#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
49#define BATTERY_CAPACITY_INC 50 /* capacity increment */
50#define BATTERY_TYPES_COUNT 1 /* only one type */
51
52#define CURRENT_NORMAL 145 /* usual current in mA */
53#define CURRENT_USB 500 /* usual current in mA in USB mode */
54
55/* define this if the unit should not shut down on low battery. */
56#define NO_LOW_BATTERY_SHUTDOWN
57
58/* Hardware controlled charging */
59#define CONFIG_CHARGING CHARGING_SIMPLE
60
61#ifndef SIMULATOR
62
63/* Define this if you have a SH7034 */
64#define CONFIG_CPU SH7034
65
66/* Define this if you control ata power player style
67 (with PB4, new player only) */
68#define ATA_POWER_PLAYERSTYLE
69
70/* Define this to the CPU frequency */
71#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
72
73/* Define this if you must discharge the data line by driving it low
74 and then set it to input to see if it stays low or goes high */
75#define HAVE_I2C_LOW_FIRST
76
77#define CONFIG_I2C I2C_PLAYREC
78
79/* Offset ( in the firmware file's header ) to the file length */
80#define FIRMWARE_OFFSET_FILE_LENGTH 0
81
82/* Offset ( in the firmware file's header ) to the file CRC */
83#define FIRMWARE_OFFSET_FILE_CRC 4
84
85/* Offset ( in the firmware file's header ) to the real data */
86#define FIRMWARE_OFFSET_FILE_DATA 6
87
88/* The start address index for ROM builds */
89#define ROM_START 0x7010 /* for behind BootBox */
90
91/* Software controlled LED */
92#define CONFIG_LED LED_REAL
93
94#define CONFIG_LCD LCD_SSD1801
95
96#define BOOTFILE_EXT "mod"
97#define BOOTFILE "archos." BOOTFILE_EXT
98#define BOOTDIR "/"
99
100#endif /* SIMULATOR */
101
102#define HAVE_LCD_CONTRAST
103
104#define MIN_CONTRAST_SETTING 5
105#define MAX_CONTRAST_SETTING 31
106#define DEFAULT_CONTRAST_SETTING 30
107
108#define HAVE_SERIAL
109
diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h
new file mode 100644
index 0000000000..37c2222985
--- /dev/null
+++ b/firmware/export/config/archosrecorder.h
@@ -0,0 +1,134 @@
1/* define this if you use an ATA controller */
2#define CONFIG_STORAGE STORAGE_ATA
3
4#define MODEL_NAME "Archos Recorder"
5
6/* define this if you have recording possibility */
7#define HAVE_RECORDING
8
9/* Define bitmask of input sources - recordable bitmask can be defined
10 explicitly if different */
11#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
12
13/* define this if you have a bitmap LCD display */
14#define HAVE_LCD_BITMAP
15
16/* define this if you can flip your LCD */
17#define HAVE_LCD_FLIP
18
19/* define this if you can invert the colours on your LCD */
20#define HAVE_LCD_INVERT
21
22/* define this if you have access to the quickscreen */
23#define HAVE_QUICKSCREEN
24/* define this if you have access to the pitchscreen */
25#define HAVE_PITCHSCREEN
26/* define this if you have the button bar */
27#define HAVE_BUTTONBAR
28
29/* define this if you would like tagcache to build on this target */
30#define HAVE_TAGCACHE
31
32/* LCD dimensions */
33#define LCD_WIDTH 112
34#define LCD_HEIGHT 64
35#define LCD_DEPTH 1
36
37#define LCD_PIXEL_ASPECT_WIDTH 4
38#define LCD_PIXEL_ASPECT_HEIGHT 5
39
40#define LCD_PIXELFORMAT VERTICAL_PACKING
41
42/* Display colours, for screenshots and sim (0xRRGGBB) */
43#define LCD_DARKCOLOR 0x000000
44#define LCD_BRIGHTCOLOR 0x5a915a
45#define LCD_BL_DARKCOLOR 0x000000
46#define LCD_BL_BRIGHTCOLOR 0x7ee57e
47
48/* define this if you have the Recorder's 10-key keyboard */
49#define CONFIG_KEYPAD RECORDER_PAD
50
51/* define this if you have a real-time clock */
52#define CONFIG_RTC RTC_M41ST84W
53
54/* define this if you have RTC RAM available for settings */
55#define HAVE_RTC_RAM
56
57/* The number of bytes reserved for loadable plugins */
58#define PLUGIN_BUFFER_SIZE 0x8000
59
60#define AB_REPEAT_ENABLE 1
61
62/* Define this if you have a MAS3587F */
63#define CONFIG_CODEC MAS3587F
64
65/* define this if you have a disk storage, i.e. something
66 that needs spinups and can cause skips when shaked */
67#define HAVE_DISK_STORAGE
68
69/* Define this for LCD backlight available */
70#define HAVE_BACKLIGHT
71
72#define CONFIG_I2C I2C_PLAYREC
73
74#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
75#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
76#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
77#define BATTERY_CAPACITY_INC 50 /* capacity increment */
78#define BATTERY_TYPES_COUNT 1 /* only one type */
79
80#define CURRENT_NORMAL 145 /* usual current in mA */
81#define CURRENT_RECORD 35 /* additional recording current */
82#define CURRENT_USB 500 /* usual current in mA in USB mode */
83
84/* define this if the unit should not shut down on low battery. */
85#define NO_LOW_BATTERY_SHUTDOWN
86
87/* Software controlled charging */
88#define CONFIG_CHARGING CHARGING_TARGET
89
90#ifndef SIMULATOR
91
92/* Define this if you have a SH7034 */
93#define CONFIG_CPU SH7034
94
95/* Define this if you have ATA power-off control */
96#define HAVE_ATA_POWER_OFF
97
98/* Define this to the CPU frequency */
99#define CPU_FREQ 11059200
100
101/* Offset ( in the firmware file's header ) to the file length */
102#define FIRMWARE_OFFSET_FILE_LENGTH 0
103
104/* Offset ( in the firmware file's header ) to the file CRC */
105#define FIRMWARE_OFFSET_FILE_CRC 4
106
107/* Offset ( in the firmware file's header ) to the real data */
108#define FIRMWARE_OFFSET_FILE_DATA 6
109
110/* The start address index for ROM builds */
111/* #define ROM_START 0x11010 for behind original Archos */
112#define ROM_START 0x7010 /* for behind BootBox */
113
114/* Software controlled LED */
115#define CONFIG_LED LED_REAL
116
117/* Define this for S/PDIF output available */
118#define HAVE_SPDIF_OUT
119
120#define CONFIG_LCD LCD_SSD1815
121
122#define BOOTFILE_EXT "ajz"
123#define BOOTFILE "ajbrec." BOOTFILE_EXT
124#define BOOTDIR "/"
125
126#endif /* SIMULATOR */
127
128#define HAVE_LCD_CONTRAST
129
130#define MIN_CONTRAST_SETTING 5
131#define MAX_CONTRAST_SETTING 63
132
133#define HAVE_SERIAL
134
diff --git a/firmware/export/config/archosrecorderv2.h b/firmware/export/config/archosrecorderv2.h
new file mode 100644
index 0000000000..5ca9459750
--- /dev/null
+++ b/firmware/export/config/archosrecorderv2.h
@@ -0,0 +1,143 @@
1/* define this if you use an ATA controller */
2#define CONFIG_STORAGE STORAGE_ATA
3
4#define MODEL_NAME "Archos Recorder v2"
5
6/* define this if you have recording possibility */
7#define HAVE_RECORDING
8
9/* Define bitmask of input sources - recordable bitmask can be defined
10 explicitly if different */
11#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
12
13/* define this if you have a bitmap LCD display */
14#define HAVE_LCD_BITMAP
15
16/* define this if you can flip your LCD */
17#define HAVE_LCD_FLIP
18
19/* define this if you can invert the colours on your LCD */
20#define HAVE_LCD_INVERT
21
22/* define this if you have access to the quickscreen */
23#define HAVE_QUICKSCREEN
24/* define this if you have access to the pitchscreen */
25#define HAVE_PITCHSCREEN
26/* define this if you have the button bar */
27#define HAVE_BUTTONBAR
28
29/* define this if you would like tagcache to build on this target */
30#define HAVE_TAGCACHE
31
32/* LCD dimensions */
33#define LCD_WIDTH 112
34#define LCD_HEIGHT 64
35#define LCD_DEPTH 1
36
37#define LCD_PIXEL_ASPECT_WIDTH 4
38#define LCD_PIXEL_ASPECT_HEIGHT 5
39
40#define LCD_PIXELFORMAT VERTICAL_PACKING
41
42/* Display colours, for screenshots and sim (0xRRGGBB) */
43#define LCD_DARKCOLOR 0x000000
44#define LCD_BRIGHTCOLOR 0x5a915a
45#define LCD_BL_DARKCOLOR 0x000000
46#define LCD_BL_BRIGHTCOLOR 0x7ee57e
47
48/* define this if you have a Recorder style 10-key keyboard */
49#define CONFIG_KEYPAD RECORDER_PAD
50
51/* define this if you have a real-time clock */
52#define CONFIG_RTC RTC_M41ST84W
53
54/* FM recorders can wake up from RTC alarm */
55#define HAVE_RTC_ALARM
56
57/* define this if you have RTC RAM available for settings */
58#define HAVE_RTC_RAM
59
60/* Define this if you have a software controlled poweroff */
61#define HAVE_SW_POWEROFF
62
63/* The number of bytes reserved for loadable plugins */
64#define PLUGIN_BUFFER_SIZE 0x8000
65
66#define AB_REPEAT_ENABLE 1
67
68/* Define this if you have a MAS3587F */
69#define CONFIG_CODEC MAS3587F
70
71/* define this if you have a disk storage, i.e. something
72 that needs spinups and can cause skips when shaked */
73#define HAVE_DISK_STORAGE
74
75/* Define this for LCD backlight available */
76#define HAVE_BACKLIGHT
77
78#define CONFIG_I2C I2C_PLAYREC
79
80#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
81#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
82#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
83#define BATTERY_CAPACITY_INC 50 /* capacity increment */
84#define BATTERY_TYPES_COUNT 1 /* only one type */
85
86#define CURRENT_NORMAL 145 /* usual current in mA */
87#define CURRENT_RECORD 35 /* additional recording current */
88#define CURRENT_USB 500 /* usual current in mA in USB mode */
89
90/* Hardware controlled charging with monitoring */
91#define CONFIG_CHARGING CHARGING_MONITOR
92
93/* define this if the unit can be powered or charged via USB */
94#define HAVE_USB_POWER
95
96#ifndef SIMULATOR
97
98/* Define this if you have a SH7034 */
99#define CONFIG_CPU SH7034
100
101/* Define this if you have a FM Recorder key system */
102#define HAVE_FMADC
103
104/* Define this if battery voltage can only be measured with ATA powered */
105#define NEED_ATA_POWER_BATT_MEASURE
106
107/* Define this to the CPU frequency */
108#define CPU_FREQ 11059200
109
110/* Offset ( in the firmware file's header ) to the file length */
111#define FIRMWARE_OFFSET_FILE_LENGTH 20
112
113/* Offset ( in the firmware file's header ) to the file CRC */
114#define FIRMWARE_OFFSET_FILE_CRC 6
115
116/* Offset ( in the firmware file's header ) to the real data */
117#define FIRMWARE_OFFSET_FILE_DATA 24
118
119#ifndef BOOTLOADER
120/* Define this if you have an FM Radio */
121#define CONFIG_TUNER S1A0903X01
122#endif
123
124/* The start address index for ROM builds */
125/* #define ROM_START 0x12010 for behind original Archos */
126#define ROM_START 0x7010 /* for behind BootBox */
127
128/* Software controlled LED */
129#define CONFIG_LED LED_REAL
130
131#define CONFIG_LCD LCD_SSD1815
132
133#define BOOTFILE_EXT "ajz"
134#define BOOTFILE "ajbrec." BOOTFILE_EXT
135#define BOOTDIR "/"
136
137#endif /* SIMULATOR */
138
139#define HAVE_LCD_CONTRAST
140
141#define MIN_CONTRAST_SETTING 5
142#define MAX_CONTRAST_SETTING 63
143
diff --git a/firmware/export/config/cowond2.h b/firmware/export/config/cowond2.h
new file mode 100644
index 0000000000..453fa0d4c1
--- /dev/null
+++ b/firmware/export/config/cowond2.h
@@ -0,0 +1,175 @@
1/*
2 * This config file is for the Cowon D2
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 24
8
9#define MODEL_NAME "Cowon D2"
10
11#if 0
12#define HAVE_USBSTACK
13#define USE_ROCKBOX_USB
14#define USB_VENDOR_ID 0x0e21
15#define USB_PRODUCT_ID 0x0800
16#endif
17
18
19/* Produce a dual-boot bootloader.bin for mktccboot */
20#define TCCBOOT
21
22/* define this if you have recording possibility */
23//#define HAVE_RECORDING
24
25/* Define bitmask of input sources - recordable bitmask can be defined
26 explicitly if different */
27#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you can flip your LCD */
36/* #define HAVE_LCD_FLIP */
37
38/* define this if you can invert the colours on your LCD */
39/* #define HAVE_LCD_INVERT */
40
41/* define this if you want album art for this target */
42#define HAVE_ALBUMART
43
44/* define this to enable bitmap scaling */
45#define HAVE_BMP_SCALING
46
47/* define this to enable JPEG decoding */
48#define HAVE_JPEG
49
50/* define this if you have access to the quickscreen */
51#define HAVE_QUICKSCREEN
52/* define this if you have access to the pitchscreen */
53#define HAVE_PITCHSCREEN
54
55/* define this if you would like tagcache to build on this target */
56#define HAVE_TAGCACHE
57
58/* FM Tuner */
59#define CONFIG_TUNER LV24020LP
60#define HAVE_TUNER_PWR_CTRL
61
62/* define this if you have a flash memory storage */
63#define HAVE_FLASH_STORAGE
64
65#ifndef SIMULATOR
66#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
67#define HAVE_MULTIDRIVE
68#define HAVE_HOTSWAP
69#define NUM_DRIVES 2
70#else
71#define CONFIG_STORAGE STORAGE_NAND
72#endif
73
74#define CONFIG_NAND NAND_TCC
75
76/* Some (2Gb?) D2s seem to be FAT16 formatted */
77#define HAVE_FAT16SUPPORT
78
79/* LCD dimensions */
80#define LCD_WIDTH 320
81#define LCD_HEIGHT 240
82#define LCD_DEPTH 16
83#define LCD_PIXELFORMAT 565
84
85/* define this if you have LCD enable function */
86#define HAVE_LCD_ENABLE
87
88/* define this to indicate your device's keypad */
89#define CONFIG_KEYPAD COWOND2_PAD
90#define HAVE_TOUCHSCREEN
91#define HAVE_BUTTON_DATA
92
93/* define this if you have a real-time clock */
94#define CONFIG_RTC RTC_PCF50606
95
96/* define this if you have RTC RAM available for settings */
97//#define HAVE_RTC_RAM
98
99/* Define this if you have a software controlled poweroff */
100#define HAVE_SW_POWEROFF
101
102/* Reduce Tremor's ICODE usage */
103#define ICODE_ATTR_TREMOR_NOT_MDCT
104
105/* The number of bytes reserved for loadable codecs */
106#define CODEC_SIZE 0x100000
107
108/* The number of bytes reserved for loadable plugins */
109#define PLUGIN_BUFFER_SIZE 0x80000
110
111#define AB_REPEAT_ENABLE 1
112
113/* Define this if you do software codec */
114#define CONFIG_CODEC SWCODEC
115
116/* The D2 uses a WM8985 codec */
117#define HAVE_WM8985
118
119/* Use WM8985 EQ1 & EQ5 as hardware tone controls */
120/* #define HAVE_SW_TONE_CONTROLS */
121
122/* Define this for LCD backlight available */
123#define HAVE_BACKLIGHT
124/* Enable LCD brightness control */
125#define HAVE_BACKLIGHT_BRIGHTNESS
126/* Which backlight fading type? */
127#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
128
129/* Main LCD backlight brightness range and defaults */
130#define MIN_BRIGHTNESS_SETTING 1
131#define MAX_BRIGHTNESS_SETTING 14
132#define DEFAULT_BRIGHTNESS_SETTING 8
133
134#define CONFIG_I2C I2C_TCC780X
135
136#define BATTERY_CAPACITY_DEFAULT 1600 /* default battery capacity */
137#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
138#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
139#define BATTERY_CAPACITY_INC 50 /* capacity increment */
140#define BATTERY_TYPES_COUNT 1 /* only one type */
141
142/* Hardware controlled charging */
143#define CONFIG_CHARGING CHARGING_SIMPLE
144
145/* Define current usage levels. */
146#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
147#define CURRENT_BACKLIGHT 30 /* TBD */
148#define CURRENT_RECORD 0 /* no recording yet */
149
150#ifndef SIMULATOR
151/* Define this if you have a TCC7801 */
152#define CONFIG_CPU TCC7801
153
154/* Define this to the CPU frequency */
155#define CPU_FREQ 48000000
156
157/* Define this if you have adjustable CPU frequency */
158#define HAVE_ADJUSTABLE_CPU_FREQ
159
160#define INCLUDE_TIMEOUT_API
161
162/* Offset ( in the firmware file's header ) to the file CRC */
163#define FIRMWARE_OFFSET_FILE_CRC 0
164
165/* Offset ( in the firmware file's header ) to the real data */
166#define FIRMWARE_OFFSET_FILE_DATA 8
167
168#define CONFIG_LCD LCD_COWOND2
169
170#define BOOTFILE_EXT "d2"
171#define BOOTFILE "rockbox." BOOTFILE_EXT
172#define BOOTDIR "/.rockbox"
173
174
175#endif /* SIMULATOR */
diff --git a/firmware/export/config/gigabeatfx.h b/firmware/export/config/gigabeatfx.h
new file mode 100644
index 0000000000..4c06a4d134
--- /dev/null
+++ b/firmware/export/config/gigabeatfx.h
@@ -0,0 +1,197 @@
1/*
2 * This config file is for toshiba Gigabeat F
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define TOSHIBA_GIGABEAT_F 1
7
8#define MODEL_NAME "Toshiba Gigabeat F"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 18
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
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 want album art for this target */
23#define HAVE_ALBUMART
24
25/* define this to enable bitmap scaling */
26#define HAVE_BMP_SCALING
27
28/* define this to enable JPEG decoding */
29#define HAVE_JPEG
30
31/* define this if you have access to the quickscreen */
32#define HAVE_QUICKSCREEN
33
34/* define this if you have access to the pitchscreen */
35#define HAVE_PITCHSCREEN
36
37/* define this if you would like tagcache to build on this target */
38#define HAVE_TAGCACHE
39
40/* define this if the target has volume keys which can be used in the lists */
41#define HAVE_VOLUME_IN_LIST
42
43/* LCD dimensions */
44#define LCD_WIDTH 240
45#define LCD_HEIGHT 320
46#define LCD_DEPTH 16 /* 65k colours */
47#define LCD_PIXELFORMAT RGB565 /* rgb565 */
48
49#ifndef BOOTLOADER
50/* Define this if your LCD can be enabled/disabled */
51#define HAVE_LCD_ENABLE
52
53/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
54 should be defined as well. */
55#define HAVE_LCD_SLEEP
56/* We don't use a setting but a fixed delay after the backlight has
57 * turned off */
58#define LCD_SLEEP_TIMEOUT (5*HZ)
59
60#define HAVE_TOUCHPAD_SENSITIVITY_SETTING
61
62#ifndef SIMULATOR
63#define HAVE_HARDWARE_BEEP
64#endif
65
66#endif /* BOOTLOADER */
67
68#define CONFIG_KEYPAD GIGABEAT_PAD
69
70/* Define this if you do software codec */
71#define CONFIG_CODEC SWCODEC
72
73/* define this if you have a real-time clock */
74#define CONFIG_RTC RTC_S3C2440
75
76/* define this if you have a disk storage, i.e. something
77 that needs spinups and can cause skips when shaked */
78#define HAVE_DISK_STORAGE
79
80/* Define this for LCD backlight available */
81#define HAVE_BACKLIGHT
82
83#define HAVE_BUTTON_LIGHT
84
85#define HAVE_BACKLIGHT_BRIGHTNESS
86
87#define HAVE_BUTTONLIGHT_BRIGHTNESS
88
89/* Main LCD backlight brightness range and defaults */
90#define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */
91#define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */
92#define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */
93
94/* Define this if you have a software controlled poweroff */
95#define HAVE_SW_POWEROFF
96
97/* The number of bytes reserved for loadable codecs */
98#define CODEC_SIZE 0x100000
99
100/* The number of bytes reserved for loadable plugins */
101#define PLUGIN_BUFFER_SIZE 0x80000
102
103#define AB_REPEAT_ENABLE 1
104
105/* Define this if you have the WM8975 audio codec */
106#define HAVE_WM8751
107
108/* Define this if you want to use the adaptive bass capibility of the 8751 */
109/* #define USE_ADAPTIVE_BASS */
110
111#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
112 SAMPR_CAP_11)
113
114/* All exact rates for 16.9344MHz clock */
115#define CODEC_SRCTRL_11025HZ (0x19 << 1)
116#define CODEC_SRCTRL_22050HZ (0x1b << 1)
117#define CODEC_SRCTRL_44100HZ (0x11 << 1)
118#define CODEC_SRCTRL_88200HZ (0x1f << 1)
119
120#define HAVE_HEADPHONE_DETECTION
121
122#define BATTERY_CAPACITY_DEFAULT 830 /* default battery capacity */
123#define BATTERY_CAPACITY_MIN 830 /* min. capacity selectable */
124#define BATTERY_CAPACITY_MAX 830 /* max. capacity selectable */
125#define BATTERY_CAPACITY_INC 25 /* capacity increment */
126#define BATTERY_TYPES_COUNT 1 /* only one type */
127
128/* Hardware controlled charging with monitoring */
129#define CONFIG_CHARGING CHARGING_MONITOR
130
131/* define current usage levels */
132#define CURRENT_NORMAL 46 /* 18 hours from an 830 mah battery*/
133#define CURRENT_BACKLIGHT 30 /* seems reasonable */
134#define CURRENT_RECORD 0 /* no recording on the gigabeat F/X */
135
136/* define this if the unit can be powered or charged via USB */
137#define HAVE_USB_POWER
138
139/* define this if the unit has a battery switch or battery can be removed
140 * when running */
141#define HAVE_BATTERY_SWITCH
142
143#ifndef SIMULATOR
144
145/* The LCD on a Gigabeat is 240x320 - it is portrait */
146#define HAVE_PORTRAIT_LCD
147
148#define HAVE_LCD_FLIP
149
150/* Define this if your LCD can set contrast */
151#define HAVE_LCD_CONTRAST
152
153#define MIN_CONTRAST_SETTING 0
154#define MAX_CONTRAST_SETTING 63
155#define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */
156
157/* LCD invert - does not currently work */
158/* #define HAVE_LCD_INVERT */
159
160/* Define this if you have a Motorola SCF5249 */
161#define CONFIG_CPU S3C2440
162
163/* Define this if you want to use coldfire's i2c interface */
164#define CONFIG_I2C I2C_S3C2440
165
166/* define this if the hardware can be powered off while charging */
167#define HAVE_POWEROFF_WHILE_CHARGING
168
169/* The size of the flash ROM */
170#define FLASH_SIZE 0x400000
171
172/* Define this to the CPU frequency */
173#define CPU_FREQ 16934400
174
175/* Define this if you have ATA power-off control */
176#define HAVE_ATA_POWER_OFF
177
178#define CONFIG_LCD LCD_GIGABEAT
179
180/* define this if the backlight can be set to a brightness */
181#define HAVE_BACKLIGHT_SET_FADING
182#define __BACKLIGHT_INIT
183
184/* Offset ( in the firmware file's header ) to the file CRC */
185#define FIRMWARE_OFFSET_FILE_CRC 0
186
187/* Offset ( in the firmware file's header ) to the real data */
188#define FIRMWARE_OFFSET_FILE_DATA 8
189
190/* Define this if you have adjustable CPU frequency */
191/* #define HAVE_ADJUSTABLE_CPU_FREQ */
192
193#define BOOTFILE_EXT "gigabeat"
194#define BOOTFILE "rockbox." BOOTFILE_EXT
195#define BOOTDIR "/.rockbox"
196
197#endif
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h
new file mode 100644
index 0000000000..3f001af737
--- /dev/null
+++ b/firmware/export/config/gigabeats.h
@@ -0,0 +1,227 @@
1/*
2 * This config file is for toshiba Gigabeat S
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7#define TOSHIBA_GIGABEAT_S 1
8
9#define MODEL_NAME "Toshiba Gigabeat S"
10
11/* For Rolo and boot loader */
12#define MODEL_NUMBER 21
13
14/* define this if you use an ATA controller */
15#define CONFIG_STORAGE STORAGE_ATA
16
17/* define this if you have a bitmap LCD display */
18#define HAVE_LCD_BITMAP
19
20/* define this if you have a colour LCD */
21#define HAVE_LCD_COLOR
22
23/* define this if you want album art for this target */
24#define HAVE_ALBUMART
25
26/* define this to enable bitmap scaling */
27#define HAVE_BMP_SCALING
28
29/* define this to enable JPEG decoding */
30#define HAVE_JPEG
31
32/* define this if you have access to the quickscreen */
33#define HAVE_QUICKSCREEN
34
35/* define this if you have access to the pitchscreen */
36#define HAVE_PITCHSCREEN
37
38/* define this if you would like tagcache to build on this target */
39#define HAVE_TAGCACHE
40
41/* define this if the target has volume keys which can be used in the lists */
42#define HAVE_VOLUME_IN_LIST
43
44/* LCD dimensions */
45#define LCD_WIDTH 240
46#define LCD_HEIGHT 320
47#define LCD_DEPTH 16 /* 65k colours */
48#define LCD_PIXELFORMAT RGB565 /* rgb565 */
49
50#define CONFIG_KEYPAD GIGABEAT_S_PAD
51
52/* Define keyboard features */
53#define KBD_CURSOR_KEYS /* allow non-line edit cursor movement */
54#define KBD_MODES /* enable line edit */
55#define KBD_MORSE_INPUT /* enable morse code input */
56
57/* Define this if you do software codec */
58#define CONFIG_CODEC SWCODEC
59
60/* define this if you have a real-time clock */
61#define CONFIG_RTC RTC_MC13783
62
63/* Define if the device can wake from an RTC alarm */
64#define HAVE_RTC_ALARM
65
66/* Define this for LCD backlight available */
67#define HAVE_BACKLIGHT
68
69/* define this if you have a disk storage, i.e. something
70 that needs spinups and can cause skips when shaked */
71#define HAVE_DISK_STORAGE
72
73/* Define this if you have a software controlled poweroff */
74#define HAVE_SW_POWEROFF
75
76/* The number of bytes reserved for loadable codecs */
77#define CODEC_SIZE 0x100000
78
79/* The number of bytes reserved for loadable plugins */
80#define PLUGIN_BUFFER_SIZE 0x80000
81
82/* Define this if you have a SI4700 fm radio tuner */
83#define CONFIG_TUNER SI4700
84
85/* Define this if you have the WM8978 audio codec */
86#define HAVE_WM8978
87
88/* Define bitmask of input sources - recordable bitmask can be defined
89 explicitly if different */
90#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
91
92/* define the bitmask of hardware sample rates */
93#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
94 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
95 SAMPR_CAP_12 | SAMPR_CAP_11 | SAMPR_CAP_8)
96
97/* define the bitmask of recording sample rates */
98#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
99
100/* define default recording levels */
101#define DEFAULT_REC_LEFT_GAIN 0
102#define DEFAULT_REC_RIGHT_GAIN 0
103
104/* Define this if you have recording capability */
105#define HAVE_RECORDING
106
107/* Define this if your LCD can be put to sleep. */
108#define HAVE_LCD_SLEEP
109/* We don't use a setting but a fixed delay after the backlight has
110 * turned off */
111#define LCD_SLEEP_TIMEOUT (2*HZ)
112
113/* Define this if your LCD can be enabled/disabled */
114#define HAVE_LCD_ENABLE
115
116#ifndef BOOTLOADER
117
118#define HAVE_BACKLIGHT_BRIGHTNESS
119
120/* Main LCD backlight brightness range and defaults */
121#define MIN_BRIGHTNESS_SETTING 1
122#define MAX_BRIGHTNESS_SETTING 24
123#define DEFAULT_BRIGHTNESS_SETTING 12
124
125/* Implementation-defined fading type with bool settings */
126#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_TARGET
127
128#define HAVE_HEADPHONE_DETECTION
129#endif /* BOOTLOADER */
130
131#ifndef SIMULATOR
132
133/* The LCD on a Gigabeat is 240x320 - it is portrait */
134#define HAVE_PORTRAIT_LCD
135
136#define CONFIG_CPU IMX31L
137
138/* Define this if you want to use imx31l's i2c interface */
139#define CONFIG_I2C I2C_IMX31L
140
141/* Define the bitmask of modules used */
142#define SPI_MODULE_MASK (USE_CSPI2_MODULE)
143#define I2C_MODULE_MASK (USE_I2C1_MODULE | USE_I2C2_MODULE)
144#define GPIO_EVENT_MASK (USE_GPIO1_EVENTS)
145
146/* Define this if target has an additional number of threads specific to it */
147#define TARGET_EXTRA_THREADS 2
148
149/* Type of mobile power - check this out */
150#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
151#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
152#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
153#define BATTERY_CAPACITY_INC 25 /* capacity increment */
154#define BATTERY_TYPES_COUNT 1 /* only one type */
155
156/* TODO: have a proper status displayed in the bootloader and have it
157 * work! */
158/* Charing implemented in a target-specific algorithm */
159#define CONFIG_CHARGING CHARGING_TARGET
160
161/* define this if the hardware can be powered off while charging */
162#define HAVE_POWEROFF_WHILE_CHARGING
163
164/* The size of the flash ROM */
165#define FLASH_SIZE 0x400000
166
167/* Define this to the CPU frequency */
168/* TODO */
169#define CPU_FREQ 264000000 /* Set by retailOS loader */
170
171/* define this if the unit can be powered or charged via USB */
172#define HAVE_USB_POWER
173#define USBPOWER_BUTTON BUTTON_MENU
174#define USBPOWER_BTN_IGNORE BUTTON_POWER
175
176/* define this if the unit has a battery switch or battery can be removed
177 * when running */
178#define HAVE_BATTERY_SWITCH
179
180/* USB On-the-go */
181#define CONFIG_USBOTG USBOTG_ARC
182
183/* enable these for the usb stack */
184#define USE_ROCKBOX_USB
185#define HAVE_USBSTACK
186/* usb stack and driver settings */
187#define USB_PORTSCX_PHY_TYPE PORTSCX_PTS_ULPI
188#define USB_VENDOR_ID 0x0930
189#define USB_PRODUCT_ID 0x0010
190
191/* Define this if you have ATA power-off control */
192#define HAVE_ATA_POWER_OFF
193
194/* Define this to add support for ATA DMA */
195#define HAVE_ATA_DMA
196
197#define CONFIG_LCD LCD_GIGABEAT
198
199/* define this if the backlight can be set to a brightness */
200//#define HAVE_BACKLIGHT_SET_FADING
201#define __BACKLIGHT_INIT
202
203/* Offset ( in the firmware file's header ) to the file CRC */
204#define FIRMWARE_OFFSET_FILE_CRC 0
205
206/* Offset ( in the firmware file's header ) to the real data */
207#define FIRMWARE_OFFSET_FILE_DATA 8
208
209//#define HAVE_SERIAL
210#define HAVE_VOLUME_IN_LIST
211
212/*Remove Comments from UART_INT to enable the UART interrupts,*/
213/*otherwise iterrupts will be disabled. For now we will test */
214/*UART state by polling the registers, and if necessary update this */
215/*method by using the interrupts instead*/
216//#define UART_INT
217
218/* Define this if you have adjustable CPU frequency */
219/* #define HAVE_ADJUSTABLE_CPU_FREQ */
220
221#define HAVE_PCM_DMA_ADDRESS
222
223#define BOOTFILE_EXT "gigabeat"
224#define BOOTFILE "rockbox." BOOTFILE_EXT
225#define BOOTDIR "/.rockbox"
226
227#endif
diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h
new file mode 100644
index 0000000000..05450e01c2
--- /dev/null
+++ b/firmware/export/config/gogearhdd1630.h
@@ -0,0 +1,201 @@
1/*
2 * This config file is for the Philips GoGear HDD16x0/HDD63x0
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 31
9#define MODEL_NAME "Philips GoGear HDD16x0"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16
17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
20
21/* define the bitmask of hardware sample rates */
22#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
23 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
24
25/* define the bitmask of recording sample rates */
26#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
27 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have access to the quickscreen */
45#define HAVE_QUICKSCREEN
46
47/* define this if you have access to the pitchscreen */
48#define HAVE_PITCHSCREEN
49
50/* define this if you would like tagcache to build on this target */
51#define HAVE_TAGCACHE
52
53/* LCD dimensions */
54#define LCD_WIDTH 128
55#define LCD_HEIGHT 128
56#define LCD_DEPTH 16 /* 65536 colours */
57#define LCD_PIXELFORMAT RGB565 /* rgb565 byte-swapped */
58
59#ifndef BOOTLOADER
60/* Define this if your LCD can be enabled/disabled */
61/* #define HAVE_LCD_ENABLE */
62
63/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
64 * should be defined as well.
65 * We can currently put the lcd to sleep but it won't wake up properly */
66/* #define HAVE_LCD_SLEEP */
67/* #define HAVE_LCD_SLEEP_SETTING */
68#endif
69
70/* define this if you can flip your LCD */
71#define HAVE_LCD_FLIP
72
73/* define this if you can invert the colours on your LCD */
74#define HAVE_LCD_INVERT
75
76/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
77
78#define CONFIG_KEYPAD PHILIPS_HDD1630_PAD
79
80/* define this if the target has volume keys which can be used in the lists */
81#define HAVE_VOLUME_IN_LIST
82
83/* Define this if you do software codec */
84#define CONFIG_CODEC SWCODEC
85
86/* define this if you have a real-time clock. The HDD16x0 has a PCF8563 RTC,
87 but it's register compatible with the E8564. */
88#ifndef BOOTLOADER
89#define CONFIG_RTC RTC_E8564
90#define HAVE_RTC_ALARM
91#endif
92
93/* Define this if you have a software controlled poweroff */
94#define HAVE_SW_POWEROFF
95
96/* The number of bytes reserved for loadable codecs */
97#define CODEC_SIZE 0x100000
98
99/* The number of bytes reserved for loadable plugins */
100#define PLUGIN_BUFFER_SIZE 0x80000
101
102/* Define this if you have the WM8731 audio codec */
103#define HAVE_WM8731
104
105/* WM8731 has no tone controls, so we use the software ones */
106#define HAVE_SW_TONE_CONTROLS
107
108/* TODO: #define AB_REPEAT_ENABLE 1 */
109
110/* FM Tuner */
111#define CONFIG_TUNER TEA5767
112#define CONFIG_TUNER_XTAL 32768
113
114/* define this if you have a disk storage, i.e. something
115 that needs spinups and can cause skips when shaked */
116#define HAVE_DISK_STORAGE
117
118/* Define this for LCD backlight available */
119#define HAVE_BACKLIGHT
120#define HAVE_BACKLIGHT_BRIGHTNESS
121/* #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING */
122
123/* Main LCD backlight brightness range and defaults */
124#define MIN_BRIGHTNESS_SETTING 1
125#define MAX_BRIGHTNESS_SETTING 16
126#define DEFAULT_BRIGHTNESS_SETTING 13 /* match OF brightness */
127
128/* define this if you have a light associated with the buttons */
129#define HAVE_BUTTON_LIGHT
130#define HAVE_BUTTONLIGHT_BRIGHTNESS
131
132#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
133#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
134#define BATTERY_CAPACITY_MAX 630 /* max. capacity selectable */
135#define BATTERY_CAPACITY_INC 0 /* capacity increment */
136#define BATTERY_TYPES_COUNT 1 /* only one type */
137
138/* Hardware controlled charging */
139#define CONFIG_CHARGING CHARGING_SIMPLE
140
141/* define this if the unit can be powered or charged via USB */
142#define HAVE_USB_POWER
143
144#ifndef SIMULATOR
145
146/* Define this if you have a PortalPlayer PP5020 */
147#define CONFIG_CPU PP5022
148
149/* Define this if you want to use the PP5020 i2c interface */
150#define CONFIG_I2C I2C_PP5020
151
152/* define this if the hardware can be powered off while charging */
153#define HAVE_POWEROFF_WHILE_CHARGING
154
155/* The start address index for ROM builds */
156#define ROM_START 0x00000000
157
158/* The size of the flash ROM */
159#define FLASH_SIZE 0x100000
160
161/* Define this to the CPU frequency */
162#define CPU_FREQ 75000000
163
164/* Type of LCD */
165#define CONFIG_LCD LCD_HDD1630
166
167/* Define this if your LCD can set contrast */
168#define HAVE_LCD_CONTRAST
169
170#define MIN_CONTRAST_SETTING 0
171#define MAX_CONTRAST_SETTING 127
172#define DEFAULT_CONTRAST_SETTING 63 /* Match boot contrast */
173
174/* We're able to shut off power to the HDD */
175#define HAVE_ATA_POWER_OFF
176
177/* Offset ( in the firmware file's header ) to the file CRC and data. These are
178 only used when loading the old format rockbox.e200 file */
179#define FIRMWARE_OFFSET_FILE_CRC 0x0
180#define FIRMWARE_OFFSET_FILE_DATA 0x8
181
182/* USB On-the-go */
183#define CONFIG_USBOTG USBOTG_ARC
184
185/* enable these for the experimental usb stack */
186#define HAVE_USBSTACK
187#define USE_ROCKBOX_USB
188#define USB_VENDOR_ID 0x0471
189#define USB_PRODUCT_ID 0x014C
190
191/* Define this if you have adjustable CPU frequency */
192#define HAVE_ADJUSTABLE_CPU_FREQ
193
194#define MI4_FORMAT
195#define BOOTFILE_EXT "mi4"
196#define BOOTFILE "rockbox." BOOTFILE_EXT
197#define BOOTDIR "/.rockbox"
198
199#define ICODE_ATTR_TREMOR_NOT_MDCT
200
201#endif
diff --git a/firmware/export/config/gogearsa9200.h b/firmware/export/config/gogearsa9200.h
new file mode 100644
index 0000000000..7af50b5145
--- /dev/null
+++ b/firmware/export/config/gogearsa9200.h
@@ -0,0 +1,196 @@
1/*
2 * This config file is for the Philips GoGear SA9200
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 34
8#define MODEL_NAME "Philips GoGear SA200"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12/* define this if you have a bitmap LCD display */
13#define HAVE_LCD_BITMAP
14
15/* define this if you have a colour LCD */
16#define HAVE_LCD_COLOR
17
18/* define this if you want album art for this target */
19#define HAVE_ALBUMART
20
21/* define this to enable bitmap scaling */
22#define HAVE_BMP_SCALING
23
24/* define this to enable JPEG decoding */
25#define HAVE_JPEG
26
27/* define this if you have a light associated with the buttons */
28#define HAVE_BUTTON_LIGHT
29
30/* define this if you have access to the quickscreen */
31#define HAVE_QUICKSCREEN
32
33/* define this if you have access to the pitchscreen */
34#define HAVE_PITCHSCREEN
35
36/* define this if you would like tagcache to build on this target */
37#define HAVE_TAGCACHE
38
39/* LCD dimensions */
40#define LCD_WIDTH 128
41#define LCD_HEIGHT 160
42#define LCD_DEPTH 16 /* 65536 colours */
43#define LCD_PIXELFORMAT RGB565 /* rgb565 */
44
45#ifndef BOOTLOADER
46/* define this if you have LCD enable function */
47#define HAVE_LCD_ENABLE
48
49/* Define this if your LCD can be put to sleep.
50 HAVE_LCD_ENABLE should be defined as well. */
51#define HAVE_LCD_SLEEP
52#define HAVE_LCD_SLEEP_SETTING
53#endif
54
55/* define this if you can flip your LCD */
56#define HAVE_LCD_FLIP
57
58/* define this if you can invert the colours on your LCD */
59#define HAVE_LCD_INVERT
60
61/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
62
63#define CONFIG_KEYPAD PHILIPS_SA9200_PAD
64
65/* define this if the target has volume keys which can be used in the lists */
66#define HAVE_VOLUME_IN_LIST
67
68/* Define this if you do software codec */
69#define CONFIG_CODEC SWCODEC
70
71/* There is no hardware tone control */
72#define HAVE_SW_TONE_CONTROLS
73
74/* The PP5024 has a built-in AustriaMicrosystems AS3514 */
75#define HAVE_AS3514
76
77/* define this if you have a real-time clock */
78#ifndef BOOTLOADER
79#define CONFIG_RTC RTC_AS3514
80#endif
81
82/* Define this if you have a software controlled poweroff */
83#define HAVE_SW_POWEROFF
84
85/* Some Sansa E200s seem to be FAT16 formatted */
86#define HAVE_FAT16SUPPORT
87
88/* The number of bytes reserved for loadable codecs */
89#define CODEC_SIZE 0x100000
90
91/* The number of bytes reserved for loadable plugins */
92#define PLUGIN_BUFFER_SIZE 0x80000
93
94#define AB_REPEAT_ENABLE 1
95
96/* Define this for LCD backlight available */
97#define HAVE_BACKLIGHT
98#define HAVE_BACKLIGHT_BRIGHTNESS
99
100/* Main LCD backlight brightness range and defaults */
101#define MIN_BRIGHTNESS_SETTING 1
102#define MAX_BRIGHTNESS_SETTING 12
103#define DEFAULT_BRIGHTNESS_SETTING 6
104
105/* Which backlight fading type? */
106#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
107
108/* define this if you have a light associated with the buttons */
109#define HAVE_BUTTON_LIGHT
110/* Can't control the brightness on all the buttons */
111/* #define HAVE_BUTTONLIGHT_BRIGHTNESS */
112
113/* define this if you have a flash memory storage */
114#define HAVE_FLASH_STORAGE
115
116/* define this if the flash memory uses the SecureDigital Memory Card protocol */
117#define CONFIG_STORAGE STORAGE_SD
118
119#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
120#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
121#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
122#define BATTERY_CAPACITY_INC 0 /* capacity increment */
123#define BATTERY_TYPES_COUNT 1 /* only one type */
124
125/* Charging implemented in a target-specific algorithm */
126#define CONFIG_CHARGING CHARGING_TARGET
127#define HAVE_POWEROFF_WHILE_CHARGING
128
129/* define current usage levels (copied from the e200v1 )*/
130#define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
131#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
132#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
133
134/* define this if the unit can be powered or charged via USB */
135#define HAVE_USB_POWER
136
137/** Non-simulator section **/
138#ifndef SIMULATOR
139
140/* Define this if you have a PortalPlayer PP5024 */
141#define CONFIG_CPU PP5024
142
143/* Define this if you want to use the PP5024 i2c interface */
144#define CONFIG_I2C I2C_PP5024
145
146/* define this if the hardware can be powered off while charging */
147/* Sansa can't be powered off while charging */
148/* #define HAVE_POWEROFF_WHILE_CHARGING */
149
150/* The start address index for ROM builds */
151#define ROM_START 0x00000000
152
153/* Define this to the CPU frequency */
154#define CPU_FREQ 75000000
155
156/* Type of LCD */
157#define CONFIG_LCD LCD_SA9200
158
159/* Define this if your LCD can set contrast */
160#define HAVE_LCD_CONTRAST
161
162#define MIN_CONTRAST_SETTING 0
163#define MAX_CONTRAST_SETTING 31
164#define DEFAULT_CONTRAST_SETTING 22 /* Match boot contrast */
165
166/* USB On-the-go */
167#define CONFIG_USBOTG USBOTG_ARC
168
169/* enable these for the experimental usb stack */
170#define HAVE_USBSTACK
171#define USE_ROCKBOX_USB
172#define USB_VENDOR_ID 0x0471
173#define USB_PRODUCT_ID 0x014f
174
175/* WARNING! Enable Rockbox USB mass storage. */
176#ifndef BOOTLOADER
177#define USE_ROCKBOX_USB
178#endif
179
180/* Define this if you have adjustable CPU frequency */
181#define HAVE_ADJUSTABLE_CPU_FREQ
182
183#define MI4_FORMAT
184#define BOOTFILE_EXT "mi4"
185#define BOOTFILE "rockbox." BOOTFILE_EXT
186#define BOOTDIR "/.rockbox"
187
188/* These values are unused, but need to be defined */
189#define FIRMWARE_OFFSET_FILE_CRC 0x0
190#define FIRMWARE_OFFSET_FILE_DATA 0x8
191
192#define ICODE_ATTR_TREMOR_NOT_MDCT
193
194#define INCLUDE_TIMEOUT_API
195
196#endif /* SIMULATOR */
diff --git a/firmware/export/config/iaudio7.h b/firmware/export/config/iaudio7.h
new file mode 100644
index 0000000000..68393f1293
--- /dev/null
+++ b/firmware/export/config/iaudio7.h
@@ -0,0 +1,165 @@
1/*
2 * This config file is for the Iaudio7 series
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 32
8#define MODEL_NAME "Cowon iAudio7"
9
10/* define this if you have recording possibility */
11#define HAVE_RECORDING
12
13/* Define bitmask of input sources - recordable bitmask can be defined
14 explicitly if different */
15#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
16
17/* FM Tuner */
18#define CONFIG_TUNER LV24020LP
19#define HAVE_TUNER_PWR_CTRL
20
21/* Define this for FM radio input available */
22#define HAVE_FMRADIO_IN
23
24/* define hardware samples rate caps mask */
25#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
26
27/* define the bitmask of recording sample rates */
28#define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
29
30/* define this if you have a bitmap LCD display */
31#define HAVE_LCD_BITMAP
32
33/* define this if you have a colour LCD */
34#define HAVE_LCD_COLOR
35
36/* define this if you can flip your LCD */
37//#define HAVE_LCD_FLIP
38
39/* define this if you can invert the colours on your LCD */
40//#define HAVE_LCD_INVERT
41
42/* define this if you want album art for this target */
43#define HAVE_ALBUMART
44
45/* define this to enable bitmap scaling */
46#define HAVE_BMP_SCALING
47
48/* define this to enable JPEG decoding */
49#define HAVE_JPEG
50
51/* define this if you have access to the quickscreen */
52#define HAVE_QUICKSCREEN
53
54/* define this if you have access to the pitchscreen */
55#define HAVE_PITCHSCREEN
56
57/* define this if you have LCD enable function */
58#define HAVE_LCD_ENABLE
59
60/* define this if you would like tagcache to build on this target */
61#define HAVE_TAGCACHE
62
63#define HAVE_FAT16SUPPORT
64
65#if 0 && !defined(SIMULATOR) /* Enable for USB driver test */
66#define HAVE_USBSTACK
67#define USB_VENDOR_ID 0x0e21
68#define USB_PRODUCT_ID 0x0750
69#endif
70
71/* define this if you have a flash memory storage */
72#define HAVE_FLASH_STORAGE
73
74#define CONFIG_STORAGE STORAGE_NAND
75
76#define CONFIG_NAND NAND_TCC
77
78/* LCD dimensions */
79#define LCD_WIDTH 160
80#define LCD_HEIGHT 128
81/* 16bits for now... */
82#define LCD_DEPTH 16 /* 262144 colours */
83#define LCD_PIXELFORMAT RGB565 /*rgb565*/
84
85/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
86
87/* define this to indicate your device's keypad */
88#define CONFIG_KEYPAD IAUDIO67_PAD
89
90/* #define HAVE_BUTTON_DATA */
91
92/* define this if you have a real-time clock */
93#define CONFIG_RTC RTC_PCF50606
94
95/* define this if you have RTC RAM available for settings */
96//#define HAVE_RTC_RAM
97
98/* Define this if you have a software controlled poweroff */
99#define HAVE_SW_POWEROFF
100
101/* Reduce Tremor's ICODE usage */
102#define ICODE_ATTR_TREMOR_NOT_MDCT
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x80000
109
110#define AB_REPEAT_ENABLE 1
111
112/* Define this if you do software codec */
113#define CONFIG_CODEC SWCODEC
114
115/* The iaudio7 uses built-in WM8731 codec */
116#define HAVE_WM8731
117/* Codec is slave on serial bus */
118#define CODEC_SLAVE
119
120/* WM8731 has no tone controls, so we use the software ones */
121#define HAVE_SW_TONE_CONTROLS
122
123/* Define this for LCD backlight available */
124#define HAVE_BACKLIGHT
125
126#define CONFIG_I2C I2C_TCC77X
127
128#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
129#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
130#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
131#define BATTERY_CAPACITY_INC 50 /* capacity increment */
132#define BATTERY_TYPES_COUNT 1 /* only one type */
133
134#define CONFIG_CHARGING CHARGING_SIMPLE
135
136#ifndef SIMULATOR
137
138/* Define this if you have a TCC770 */
139#define CONFIG_CPU TCC770
140
141/* Define this if you have ATA power-off control */
142#define HAVE_ATA_POWER_OFF
143
144/* Define this to the CPU frequency */
145#define CPU_FREQ 120000000
146
147/* Offset ( in the firmware file's header ) to the file CRC */
148#define FIRMWARE_OFFSET_FILE_CRC 0
149
150/* Offset ( in the firmware file's header ) to the real data */
151#define FIRMWARE_OFFSET_FILE_DATA 8
152
153#define CONFIG_LCD LCD_IAUDIO67
154
155#define BOOTFILE_EXT "iaudio"
156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox"
158
159#ifdef BOOTLOADER
160#define TCCBOOT
161#endif
162
163#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
164
165#endif /* SIMULATOR */
diff --git a/firmware/export/config/iaudiom3.h b/firmware/export/config/iaudiom3.h
new file mode 100644
index 0000000000..b3d7fb83b3
--- /dev/null
+++ b/firmware/export/config/iaudiom3.h
@@ -0,0 +1,175 @@
1/*
2 * This config file is for iAudio M3
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 25
8
9#define MODEL_NAME "iAudio M3"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16
17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
20
21/* define the bitmask of hardware sample rates */
22#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define the bitmask of recording sample rates */
25#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
26
27/* define this if you have a bitmap LCD display */
28#define HAVE_LCD_BITMAP
29
30/* define this if you want album art for this target */
31#define HAVE_ALBUMART
32
33/* define this to enable bitmap scaling */
34#define HAVE_BMP_SCALING
35
36/* define this to enable JPEG decoding */
37#define HAVE_JPEG
38
39/* define this if you can flip your LCD */
40#define HAVE_LCD_FLIP
41
42/* define this if you can invert the colours on your LCD */
43#define HAVE_LCD_INVERT
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* LCD dimensions */
55#define LCD_WIDTH 128
56#define LCD_HEIGHT 96
57#define LCD_DEPTH 2
58
59#define LCD_PIXELFORMAT VERTICAL_INTERLEAVED
60
61/* Display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_DARKCOLOR 0x000000
63#define LCD_BRIGHTCOLOR 0x5a915a
64#define LCD_BL_DARKCOLOR 0x000000
65#define LCD_BL_BRIGHTCOLOR 0x82b4fa
66
67/* define this if only the remote has an LCD */
68#define HAVE_REMOTE_LCD_AS_MAIN
69
70#define CONFIG_KEYPAD IAUDIO_M3_PAD
71
72#define AB_REPEAT_ENABLE 1
73#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
74
75/* Define this if you do software codec */
76#define CONFIG_CODEC SWCODEC
77
78/* define this if you have a real-time clock */
79/* #define CONFIG_RTC FIXME: most probably none */
80
81#define CONFIG_LCD LCD_TL0350A
82
83/* Define this for LCD backlight available */
84#define HAVE_BACKLIGHT
85
86/* define this if you have a disk storage, i.e. something
87 that needs spinups and can cause skips when shaked */
88#define HAVE_DISK_STORAGE
89
90/* Define this if you have a software controlled poweroff */
91#define HAVE_SW_POWEROFF
92
93/* The number of bytes reserved for loadable codecs */
94#define CODEC_SIZE 0x100000
95
96/* The number of bytes reserved for loadable plugins */
97#define PLUGIN_BUFFER_SIZE 0x80000
98
99/* FM Tuner */
100#define CONFIG_TUNER TEA5767
101#define CONFIG_TUNER_XTAL 32768
102
103#define HAVE_TLV320
104
105/* TLV320 has no tone controls, so we use the software ones */
106#define HAVE_SW_TONE_CONTROLS
107
108#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
109#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
110#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
111#define BATTERY_CAPACITY_INC 50 /* capacity increment */
112#define BATTERY_TYPES_COUNT 1 /* only one type */
113
114/* Hardware controlled charging? FIXME */
115#define CONFIG_CHARGING CHARGING_SIMPLE
116
117/* define current usage levels */
118#define CURRENT_REMOTE 8 /* additional current when remote connected */
119
120#ifndef SIMULATOR
121
122/* Define this if your LCD can set contrast */
123#define HAVE_LCD_CONTRAST
124
125/* Define this if you have a Motorola SCF5249 */
126#define CONFIG_CPU MCF5249
127
128/* Define this if you want to use coldfire's i2c interface */
129#define CONFIG_I2C I2C_COLDFIRE
130
131/* define this if the hardware can be powered off while charging */
132#define HAVE_POWEROFF_WHILE_CHARGING
133
134/* The size of the flash ROM */
135#define FLASH_SIZE 0x400000
136
137/* Define this to the CPU frequency */
138#define CPU_FREQ 11289600
139
140/* Define this if you have ATA power-off control */
141#define HAVE_ATA_POWER_OFF
142
143/* Virtual LED (icon) */
144#define CONFIG_LED LED_VIRTUAL /* FIXME: implement hardware LED handling */
145
146/* Offset ( in the firmware file's header ) to the file CRC */
147#define FIRMWARE_OFFSET_FILE_CRC 0
148
149/* Offset ( in the firmware file's header ) to the real data */
150#define FIRMWARE_OFFSET_FILE_DATA 8
151
152/* Define this if you have adjustable CPU frequency */
153#define HAVE_ADJUSTABLE_CPU_FREQ
154
155#define BOOTFILE_EXT "iaudio"
156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox"
158
159#define BOOTLOADER_ENTRYPOINT 0x001F0000
160#define FLASH_ENTRYPOINT 0x00001000
161#define FLASH_MAGIC 0xfbfbfbf1
162
163#endif /* SIMULATOR */
164
165/* Define this for FM radio input available */
166#define HAVE_FMRADIO_IN
167
168/** Port-specific settings **/
169
170/* Main LCD contrast range and defaults */
171#define MIN_CONTRAST_SETTING 10
172#define MAX_CONTRAST_SETTING 35
173#define DEFAULT_CONTRAST_SETTING 24
174
175#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config/iaudiom5.h b/firmware/export/config/iaudiom5.h
new file mode 100644
index 0000000000..b10ac9ad09
--- /dev/null
+++ b/firmware/export/config/iaudiom5.h
@@ -0,0 +1,193 @@
1/*
2 * This config file is for iAudio M5
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 17
8
9#define MODEL_NAME "iAudio M5"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16
17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19#ifdef HAVE_FMRADIO_IN /* FM modded M5 */
20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
21#else /* stock M5 */
22#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
23#endif
24
25/* define the bitmask of hardware sample rates */
26#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
27
28/* define the bitmask of recording sample rates */
29#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
30
31/* define this if you have a bitmap LCD display */
32#define HAVE_LCD_BITMAP
33
34/* define this if you want album art for this target */
35#define HAVE_ALBUMART
36
37/* define this to enable bitmap scaling */
38#define HAVE_BMP_SCALING
39
40/* define this to enable JPEG decoding */
41#define HAVE_JPEG
42
43/* define this if you can flip your LCD */
44#define HAVE_LCD_FLIP
45
46/* define this if you can invert the colours on your LCD */
47#define HAVE_LCD_INVERT
48
49/* define this if you have access to the quickscreen */
50#define HAVE_QUICKSCREEN
51
52/* define this if you have access to the pitchscreen */
53#define HAVE_PITCHSCREEN
54
55/* define this if you would like tagcache to build on this target */
56#define HAVE_TAGCACHE
57
58/* LCD dimensions */
59#define LCD_WIDTH 160
60#define LCD_HEIGHT 128
61#define LCD_DEPTH 2
62
63#define LCD_PIXELFORMAT VERTICAL_PACKING
64
65/* Display colours, for screenshots and sim (0xRRGGBB) */
66#define LCD_DARKCOLOR 0x000000
67#define LCD_BRIGHTCOLOR 0x648764
68#define LCD_BL_DARKCOLOR 0x000000
69#define LCD_BL_BRIGHTCOLOR 0xdfd8ff
70
71/* remote LCD */
72#define LCD_REMOTE_WIDTH 128
73#define LCD_REMOTE_HEIGHT 96
74#define LCD_REMOTE_DEPTH 2
75
76#define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED
77
78/* Remote display colours, for screenshots and sim (0xRRGGBB) */
79#define LCD_REMOTE_DARKCOLOR 0x000000
80#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
81#define LCD_REMOTE_BL_DARKCOLOR 0x000000
82#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
83
84#define CONFIG_KEYPAD IAUDIO_X5M5_PAD
85
86#define AB_REPEAT_ENABLE 1
87#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
88
89/* Define this if you do software codec */
90#define CONFIG_CODEC SWCODEC
91
92/* define this if you have a real-time clock */
93#define CONFIG_RTC RTC_PCF50606
94
95/* Define this if you have an remote lcd */
96#define HAVE_REMOTE_LCD
97
98#define CONFIG_LCD LCD_S1D15E06
99
100/* Define this for LCD backlight available */
101#define HAVE_BACKLIGHT
102
103/* define this if you have a disk storage, i.e. something
104 that needs spinups and can cause skips when shaked */
105#define HAVE_DISK_STORAGE
106
107/* Define this if you have a software controlled poweroff */
108#define HAVE_SW_POWEROFF
109
110/* The number of bytes reserved for loadable codecs */
111#define CODEC_SIZE 0x100000
112
113/* The number of bytes reserved for loadable plugins */
114#define PLUGIN_BUFFER_SIZE 0x80000
115
116#ifdef HAVE_FMRADIO_IN /* FM modded M5 */
117/* FM Tuner */
118#define CONFIG_TUNER TEA5767
119#define CONFIG_TUNER_XTAL 32768
120#endif
121
122#define HAVE_TLV320
123
124/* TLV320 has no tone controls, so we use the software ones */
125#define HAVE_SW_TONE_CONTROLS
126
127#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
128#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
129#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
130#define BATTERY_CAPACITY_INC 50 /* capacity increment */
131#define BATTERY_TYPES_COUNT 1 /* only one type */
132
133/* Hardware controlled charging? FIXME */
134#define CONFIG_CHARGING CHARGING_SIMPLE
135
136/* define current usage levels */
137#define CURRENT_REMOTE 8 /* additional current when remote connected */
138
139#ifndef SIMULATOR
140
141/* Define this if your LCD can set contrast */
142#define HAVE_LCD_CONTRAST
143
144/* Define this if you have a Motorola SCF5250 */
145#define CONFIG_CPU MCF5250
146
147/* Define this if you want to use coldfire's i2c interface */
148#define CONFIG_I2C I2C_COLDFIRE
149
150/* define this if the hardware can be powered off while charging */
151#define HAVE_POWEROFF_WHILE_CHARGING
152
153/* The size of the flash ROM */
154#define FLASH_SIZE 0x400000
155
156/* Define this to the CPU frequency */
157#define CPU_FREQ 11289600
158
159/* Define this if you have ATA power-off control */
160#define HAVE_ATA_POWER_OFF
161
162/* Offset ( in the firmware file's header ) to the file CRC */
163#define FIRMWARE_OFFSET_FILE_CRC 0
164
165/* Offset ( in the firmware file's header ) to the real data */
166#define FIRMWARE_OFFSET_FILE_DATA 8
167
168/* Define this if you have adjustable CPU frequency */
169#define HAVE_ADJUSTABLE_CPU_FREQ
170
171#define BOOTFILE_EXT "iaudio"
172#define BOOTFILE "rockbox." BOOTFILE_EXT
173#define BOOTDIR "/.rockbox"
174
175#define BOOTLOADER_ENTRYPOINT 0x001F0000
176#define FLASH_ENTRYPOINT 0x00001000
177#define FLASH_MAGIC 0xfbfbfbf1
178
179#endif /* SIMULATOR */
180
181/** Port-specific settings **/
182
183/* Main LCD contrast range and defaults */
184#define MIN_CONTRAST_SETTING 24
185#define MAX_CONTRAST_SETTING 63
186#define DEFAULT_CONTRAST_SETTING 40
187
188/* Remote LCD contrast range and defaults */
189#define MIN_REMOTE_CONTRAST_SETTING 10
190#define MAX_REMOTE_CONTRAST_SETTING 35
191#define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */
192
193#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config/iaudiox5.h b/firmware/export/config/iaudiox5.h
new file mode 100644
index 0000000000..0cf39325a4
--- /dev/null
+++ b/firmware/export/config/iaudiox5.h
@@ -0,0 +1,206 @@
1/*
2 * This config file is for iAudio X5
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 10
8
9#define MODEL_NAME "iAudio X5"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16
17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
20
21/* define the bitmask of hardware sample rates */
22#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define the bitmask of recording sample rates */
25#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
26
27/* define this if you have a bitmap LCD display */
28#define HAVE_LCD_BITMAP
29
30/* define this if you can flip your LCD */
31#define HAVE_LCD_FLIP
32
33/* define this if you have a colour LCD */
34#define HAVE_LCD_COLOR
35
36/* define this if you want album art for this target */
37#define HAVE_ALBUMART
38
39/* define this to enable bitmap scaling */
40#define HAVE_BMP_SCALING
41
42/* define this to enable JPEG decoding */
43#define HAVE_JPEG
44
45/* define this if you can invert the colours on your LCD */
46#define HAVE_LCD_INVERT
47
48/* define this if you have access to the quickscreen */
49#define HAVE_QUICKSCREEN
50
51/* define this if you have access to the pitchscreen */
52#define HAVE_PITCHSCREEN
53
54/* define this if you would like tagcache to build on this target */
55#define HAVE_TAGCACHE
56
57/* LCD dimensions */
58#define LCD_WIDTH 160
59#define LCD_HEIGHT 128
60#define LCD_DEPTH 16 /* pseudo 262.144 colors */
61#define LCD_PIXELFORMAT RGB565 /* rgb565 */
62
63/* remote LCD */
64#define LCD_REMOTE_WIDTH 128
65#define LCD_REMOTE_HEIGHT 96
66#define LCD_REMOTE_DEPTH 2
67
68#define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED
69
70/* Remote display colours, for screenshots and sim (0xRRGGBB) */
71#define LCD_REMOTE_DARKCOLOR 0x000000
72#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
73#define LCD_REMOTE_BL_DARKCOLOR 0x000000
74#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
75
76#ifndef BOOTLOADER
77/* Define this if your LCD can be enabled/disabled */
78#define HAVE_LCD_ENABLE
79
80/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
81 should be defined as well. */
82#define HAVE_LCD_SLEEP
83#define HAVE_LCD_SLEEP_SETTING
84#endif
85
86#define CONFIG_KEYPAD IAUDIO_X5M5_PAD
87
88#define AB_REPEAT_ENABLE 1
89#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
90
91/* Define this if you do software codec */
92#define CONFIG_CODEC SWCODEC
93
94/* define this if you have a real-time clock */
95#define CONFIG_RTC RTC_PCF50606
96
97/* Define this if you have an remote lcd */
98#define HAVE_REMOTE_LCD
99
100#define CONFIG_LCD LCD_X5
101
102/* Define this for LCD backlight available */
103#define HAVE_BACKLIGHT
104#define HAVE_BACKLIGHT_BRIGHTNESS
105/* Which backlight fading type? */
106#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
107
108/* define this if you have a disk storage, i.e. something
109 that needs spinups and can cause skips when shaked */
110#define HAVE_DISK_STORAGE
111
112/* Define this if you have a software controlled poweroff */
113#define HAVE_SW_POWEROFF
114
115/* The number of bytes reserved for loadable codecs */
116#define CODEC_SIZE 0x100000
117
118/* The number of bytes reserved for loadable plugins */
119#define PLUGIN_BUFFER_SIZE 0x80000
120
121/* FM Tuner */
122#define CONFIG_TUNER TEA5767
123#define CONFIG_TUNER_XTAL 32768
124
125#define HAVE_TLV320
126
127/* TLV320 has no tone controls, so we use the software ones */
128#define HAVE_SW_TONE_CONTROLS
129
130#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
131#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
132#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
133#define BATTERY_CAPACITY_INC 50 /* capacity increment */
134#define BATTERY_TYPES_COUNT 1 /* only one type */
135
136/* Hardware controlled charging? FIXME */
137#define CONFIG_CHARGING CHARGING_SIMPLE
138
139/* define current usage levels */
140#define CURRENT_REMOTE 8 /* additional current when remote connected */
141
142#ifndef SIMULATOR
143
144/* Define this if your LCD can set contrast */
145#define HAVE_LCD_CONTRAST
146
147/* Define this if you have a Motorola SCF5250 */
148#define CONFIG_CPU MCF5250
149
150/* Define this if you want to use coldfire's i2c interface */
151#define CONFIG_I2C I2C_COLDFIRE
152
153/* define this if the hardware can be powered off while charging */
154#define HAVE_POWEROFF_WHILE_CHARGING
155
156/* The size of the flash ROM */
157#define FLASH_SIZE 0x400000
158
159/* Define this to the CPU frequency */
160#define CPU_FREQ 11289600
161
162/* Define this if you have ATA power-off control */
163#define HAVE_ATA_POWER_OFF
164
165/* Offset ( in the firmware file's header ) to the file CRC */
166#define FIRMWARE_OFFSET_FILE_CRC 0
167
168/* Offset ( in the firmware file's header ) to the real data */
169#define FIRMWARE_OFFSET_FILE_DATA 8
170
171/* USB On-the-go */
172#define CONFIG_USBOTG USBOTG_M5636
173
174/* Define this if you have adjustable CPU frequency */
175#define HAVE_ADJUSTABLE_CPU_FREQ
176
177#define BOOTFILE_EXT "iaudio"
178#define BOOTFILE "rockbox." BOOTFILE_EXT
179#define BOOTDIR "/.rockbox"
180
181#define BOOTLOADER_ENTRYPOINT 0x001F0000
182#define FLASH_ENTRYPOINT 0x00001000
183#define FLASH_MAGIC 0xfbfbfbf1
184
185#endif /* SIMULATOR */
186
187/* Define this for FM radio input available */
188#define HAVE_FMRADIO_IN
189
190/** Port-specific settings **/
191
192/* Main LCD contrast range and defaults */
193#define MIN_CONTRAST_SETTING 1
194#define MAX_CONTRAST_SETTING 30
195#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
196
197/* Main LCD backlight brightness range and defaults */
198/* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */
199#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */
200#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */
201#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */
202
203/* Remote LCD contrast range and defaults */
204#define MIN_REMOTE_CONTRAST_SETTING 10
205#define MAX_REMOTE_CONTRAST_SETTING 35
206#define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */
diff --git a/firmware/export/config/ipod1g2g.h b/firmware/export/config/ipod1g2g.h
new file mode 100644
index 0000000000..549af02fdc
--- /dev/null
+++ b/firmware/export/config/ipod1g2g.h
@@ -0,0 +1,171 @@
1/*
2 * This config file is for the Apple iPod 1g and 2g
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod 1g/2g"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 19
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility
17#define HAVE_RECORDING */
18
19/* define the bitmask of hardware sample rates */
20#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
21 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates
24#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
26
27/* define this if you have a bitmap LCD display */
28#define HAVE_LCD_BITMAP
29
30/* define this if you want album art for this target */
31#define HAVE_ALBUMART
32
33/* define this to enable bitmap scaling */
34#define HAVE_BMP_SCALING
35
36/* define this to enable JPEG decoding */
37#define HAVE_JPEG
38
39/* define this if you can invert the colours on your LCD */
40#define HAVE_LCD_INVERT
41
42/* define this if the LCD needs to be shutdown */
43#define HAVE_LCD_SHUTDOWN
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47/* define this if you have access to the pitchscreen */
48#define HAVE_PITCHSCREEN
49
50/* define this if you would like tagcache to build on this target */
51#define HAVE_TAGCACHE
52
53/* LCD dimensions */
54#define LCD_WIDTH 160
55#define LCD_HEIGHT 128
56#define LCD_DEPTH 2 /* 4 colours - 2bpp */
57
58#define LCD_PIXELFORMAT HORIZONTAL_PACKING
59
60/* Display colours, for screenshots and sim (0xRRGGBB) */
61#define LCD_DARKCOLOR 0x000000
62#define LCD_BRIGHTCOLOR 0x648764
63#define LCD_BL_DARKCOLOR 0x000000
64#define LCD_BL_BRIGHTCOLOR 0xdfd8ff
65
66/* define this if you can flip your LCD */
67#define HAVE_LCD_FLIP
68
69#define HAVE_LCD_CONTRAST
70
71/* LCD contrast */
72#define MIN_CONTRAST_SETTING 5
73#define MAX_CONTRAST_SETTING 63
74#define DEFAULT_CONTRAST_SETTING 30 /* Match boot contrast */
75
76#define CONFIG_KEYPAD IPOD_1G2G_PAD
77
78#define HAVE_SCROLLWHEEL
79
80/* Define this if you do software codec */
81#define CONFIG_CODEC SWCODEC
82
83/* Define this if you have a software controlled poweroff */
84#define HAVE_SW_POWEROFF
85
86/* The number of bytes reserved for loadable codecs */
87#define CODEC_SIZE 0x100000
88
89/* The number of bytes reserved for loadable plugins */
90#define PLUGIN_BUFFER_SIZE 0x80000
91
92/* Define this if you have the WM8731L audio codec */
93#define HAVE_WM8721
94
95/* define this if you have a disk storage, i.e. something
96 that needs spinups and can cause skips when shaked */
97#define HAVE_DISK_STORAGE
98
99/* WM8721 has no tone controls, so we use the software ones */
100#define HAVE_SW_TONE_CONTROLS
101
102/* Define this for LCD backlight available */
103#define HAVE_BACKLIGHT
104
105/* Define this if the backlight unverts LCD appearance */
106#define HAVE_BACKLIGHT_INVERSION
107
108/* Define this if you can detect headphones */
109#define HAVE_HEADPHONE_DETECTION
110
111#define BATTERY_CAPACITY_DEFAULT 1200 /* default battery capacity */
112#define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */
113#define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */
114#define BATTERY_CAPACITY_INC 50 /* capacity increment */
115#define BATTERY_TYPES_COUNT 1 /* only one type */
116
117/* Hardware controlled charging? FIXME */
118//#define CONFIG_CHARGING CHARGING_SIMPLE
119
120/* FIXME: Don't shutdown on low battery until we have proper suspend. */
121#define NO_LOW_BATTERY_SHUTDOWN
122
123#ifndef SIMULATOR
124
125/* Define this if you have a PortalPlayer PP5002 */
126#define CONFIG_CPU PP5002
127
128/* We're able to shut off power to the HDD */
129#define HAVE_ATA_POWER_OFF
130
131/* Define this if you want to use the PP5002 i2c interface */
132#define CONFIG_I2C I2C_PP5002
133
134/* define this if the hardware can be powered off while charging */
135//#define HAVE_POWEROFF_WHILE_CHARGING
136
137/* The start address index for ROM builds */
138#define ROM_START 0x00000000
139
140/* The size of the flash ROM */
141#define FLASH_SIZE 0x100000
142
143/* Define this to the CPU frequency */
144#define CPU_FREQ 11289600
145
146#define CONFIG_LCD LCD_IPOD2BPP
147
148/* Offset ( in the firmware file's header ) to the file length */
149#define FIRMWARE_OFFSET_FILE_LENGTH 0
150
151/* Offset ( in the firmware file's header ) to the file CRC */
152#define FIRMWARE_OFFSET_FILE_CRC 0
153
154/* Offset ( in the firmware file's header ) to the real data */
155#define FIRMWARE_OFFSET_FILE_DATA 8
156
157#define USB_HANDLED_BY_OF
158/* actually firewire only, but handled like USB */
159
160/* Define this if you have adjustable CPU frequency */
161#define HAVE_ADJUSTABLE_CPU_FREQ
162
163#define BOOTFILE_EXT "ipod"
164#define BOOTFILE "rockbox." BOOTFILE_EXT
165#define BOOTDIR "/.rockbox"
166
167#define ICODE_ATTR_TREMOR_NOT_MDCT
168
169#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
170
171#endif /* SIMULATOR */
diff --git a/firmware/export/config/ipod3g.h b/firmware/export/config/ipod3g.h
new file mode 100644
index 0000000000..197f80fe72
--- /dev/null
+++ b/firmware/export/config/ipod3g.h
@@ -0,0 +1,175 @@
1/*
2 * This config file is for the Apple iPod 3g
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7#define IPOD_ARCH 1
8
9#define MODEL_NAME "Apple iPod 3g"
10
11/* For Rolo and boot loader */
12#define MODEL_NUMBER 7
13
14/* define this if you use an ATA controller */
15#define CONFIG_STORAGE STORAGE_ATA
16
17/* define this if you have recording possibility */
18/*#define HAVE_RECORDING*/
19
20/* define the bitmask of hardware sample rates */
21#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
22 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
23
24/* define the bitmask of recording sample rates
25#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
26 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
27
28/* define this if you have a bitmap LCD display */
29#define HAVE_LCD_BITMAP
30
31/* define this if you want album art for this target */
32#define HAVE_ALBUMART
33
34/* define this to enable bitmap scaling */
35#define HAVE_BMP_SCALING
36
37/* define this to enable JPEG decoding */
38#define HAVE_JPEG
39
40/* define this if you can invert the colours on your LCD */
41#define HAVE_LCD_INVERT
42
43/* define this if the LCD needs to be shutdown */
44#define HAVE_LCD_SHUTDOWN
45
46/* define this if you have access to the quickscreen */
47#define HAVE_QUICKSCREEN
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* LCD dimensions */
55#define LCD_WIDTH 160
56#define LCD_HEIGHT 128
57#define LCD_DEPTH 2 /* 4 colours - 2bpp */
58
59#define LCD_PIXELFORMAT HORIZONTAL_PACKING
60
61/* Display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_DARKCOLOR 0x000000
63#define LCD_BRIGHTCOLOR 0x5a915a
64#define LCD_BL_DARKCOLOR 0x000000
65#define LCD_BL_BRIGHTCOLOR 0xadd8e6
66
67/* define this if you can flip your LCD */
68#define HAVE_LCD_FLIP
69
70#define HAVE_LCD_CONTRAST
71
72/* LCD contrast */
73#define MIN_CONTRAST_SETTING 5
74#define MAX_CONTRAST_SETTING 63
75#define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
76
77#define CONFIG_KEYPAD IPOD_3G_PAD
78
79#define HAVE_SCROLLWHEEL
80
81/* Define this if you do software codec */
82#define CONFIG_CODEC SWCODEC
83
84/* define this if you have a real-time clock */
85#define CONFIG_RTC RTC_PCF50605
86
87/* Define if the device can wake from an RTC alarm */
88#define HAVE_RTC_ALARM
89
90/* Define this if you can switch on/off the accessory power supply */
91#define HAVE_ACCESSORY_SUPPLY
92
93/* Define this if you have a software controlled poweroff */
94#define HAVE_SW_POWEROFF
95
96/* The number of bytes reserved for loadable codecs */
97#define CODEC_SIZE 0x100000
98
99/* The number of bytes reserved for loadable plugins */
100#define PLUGIN_BUFFER_SIZE 0x80000
101
102/* Define this if you have the WM8731L audio codec */
103#define HAVE_WM8731
104
105/* WM8731 has no tone controls, so we use the software ones */
106#define HAVE_SW_TONE_CONTROLS
107
108/* define this if you have a disk storage, i.e. something
109 that needs spinups and can cause skips when shaked */
110#define HAVE_DISK_STORAGE
111
112/* Define this for LCD backlight available */
113#define HAVE_BACKLIGHT
114
115/* Define this if you can detect headphones */
116#define HAVE_HEADPHONE_DETECTION
117
118#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
119#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
120#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
121#define BATTERY_CAPACITY_INC 10 /* capacity increment */
122#define BATTERY_TYPES_COUNT 1 /* only one type */
123
124/* Hardware controlled charging? FIXME */
125#define CONFIG_CHARGING CHARGING_SIMPLE
126
127#ifndef SIMULATOR
128
129/* Define this if you have a PortalPlayer PP5002 */
130#define CONFIG_CPU PP5002
131
132/* We're able to shut off power to the HDD */
133#define HAVE_ATA_POWER_OFF
134
135/* Define this if you want to use the PP5002 i2c interface */
136#define CONFIG_I2C I2C_PP5002
137
138/* define this if the hardware can be powered off while charging */
139//#define HAVE_POWEROFF_WHILE_CHARGING
140
141/* The start address index for ROM builds */
142#define ROM_START 0x00000000
143
144/* The size of the flash ROM */
145#define FLASH_SIZE 0x100000
146
147/* Define this to the CPU frequency */
148#define CPU_FREQ 11289600
149
150#define CONFIG_LCD LCD_IPOD2BPP
151
152/* Offset ( in the firmware file's header ) to the file length */
153#define FIRMWARE_OFFSET_FILE_LENGTH 0
154
155/* Offset ( in the firmware file's header ) to the file CRC */
156#define FIRMWARE_OFFSET_FILE_CRC 0
157
158/* Offset ( in the firmware file's header ) to the real data */
159#define FIRMWARE_OFFSET_FILE_DATA 8
160
161#define USB_HANDLED_BY_OF
162/* actually both firewire and USB, USB isn't handled yet */
163
164/* Define this if you have adjustable CPU frequency */
165#define HAVE_ADJUSTABLE_CPU_FREQ
166
167#define BOOTFILE_EXT "ipod"
168#define BOOTFILE "rockbox." BOOTFILE_EXT
169#define BOOTDIR "/.rockbox"
170
171#define ICODE_ATTR_TREMOR_NOT_MDCT
172
173#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
174
175#endif /* SIMULATOR */
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h
new file mode 100644
index 0000000000..7db9836462
--- /dev/null
+++ b/firmware/export/config/ipod4g.h
@@ -0,0 +1,208 @@
1/*
2 * This config file is for the Apple iPod 4g Grayscale
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod 4g Grayscale"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 8
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
22
23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_44)
25
26/* define the bitmask of recording sample rates */
27#define REC_SAMPR_CAPS (SAMPR_CAP_44)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you want album art for this target */
33#define HAVE_ALBUMART
34
35/* define this to enable bitmap scaling */
36#define HAVE_BMP_SCALING
37
38/* define this to enable JPEG decoding */
39#define HAVE_JPEG
40
41/* define this if you can invert the colours on your LCD */
42#define HAVE_LCD_INVERT
43
44/* define this if the LCD needs to be shutdown */
45#define HAVE_LCD_SHUTDOWN
46
47/* define this if you have access to the quickscreen */
48#define HAVE_QUICKSCREEN
49/* define this if you have access to the pitchscreen */
50#define HAVE_PITCHSCREEN
51
52/* define this if you would like tagcache to build on this target */
53#define HAVE_TAGCACHE
54
55/* LCD dimensions */
56#define LCD_WIDTH 160
57#define LCD_HEIGHT 128
58#define LCD_DEPTH 2 /* 4 colours - 2bpp */
59#define LCD_PIXELFORMAT HORIZONTAL_PACKING
60
61/* Display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_DARKCOLOR 0x000000
63#define LCD_BRIGHTCOLOR 0x5a915a
64#define LCD_BL_DARKCOLOR 0x000000
65#define LCD_BL_BRIGHTCOLOR 0xadd8e6
66
67#define HAVE_LCD_CONTRAST
68
69/* LCD contrast */
70#define MIN_CONTRAST_SETTING 5
71#define MAX_CONTRAST_SETTING 63
72#define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
73
74/* define this if you can flip your LCD */
75#define HAVE_LCD_FLIP
76
77#define CONFIG_KEYPAD IPOD_4G_PAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#define CONFIG_RTC RTC_PCF50605
84
85/* Define if the device can wake from an RTC alarm */
86#define HAVE_RTC_ALARM
87
88/* Define this if you can switch on/off the accessory power supply */
89#define HAVE_ACCESSORY_SUPPLY
90
91/* Define this if you have a software controlled poweroff */
92#define HAVE_SW_POWEROFF
93
94/* The number of bytes reserved for loadable codecs */
95#define CODEC_SIZE 0x100000
96
97/* The number of bytes reserved for loadable plugins */
98#define PLUGIN_BUFFER_SIZE 0x80000
99
100/* Define this if you have the WM8975 audio codec */
101#define HAVE_WM8975
102
103#define AB_REPEAT_ENABLE 1
104#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
105
106/* define this if you have a disk storage, i.e. something
107 that needs spinups and can cause skips when shaked */
108#define HAVE_DISK_STORAGE
109
110/* Define this for LCD backlight available */
111#define HAVE_BACKLIGHT
112
113/* define this if the unit uses a scrollwheel for navigation */
114#define HAVE_SCROLLWHEEL
115/* define to activate advanced wheel acceleration code */
116#define HAVE_WHEEL_ACCELERATION
117/* define from which rotation speed [degree/sec] on the acceleration starts */
118#define WHEEL_ACCEL_START 270
119/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
120#define WHEEL_ACCELERATION 3
121
122/* Define this if you can detect headphones */
123#define HAVE_HEADPHONE_DETECTION
124
125#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
126#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
127#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
128#define BATTERY_CAPACITY_INC 10 /* capacity increment */
129#define BATTERY_TYPES_COUNT 1 /* only one type */
130
131/* Hardware controlled charging? */
132#define CONFIG_CHARGING CHARGING_MONITOR
133
134/* define this if the unit can be powered or charged via USB */
135#define HAVE_USB_POWER
136
137/* define current usage levels */
138#define CURRENT_NORMAL 100 /* MP3: ~10.5h out of 1100mAh battery */
139#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
140#if defined(HAVE_RECORDING)
141#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
142#endif
143
144#ifndef SIMULATOR
145
146/* Define this if you have a PortalPlayer PP5020 */
147#define CONFIG_CPU PP5020
148
149/* Define this if you want to use the PP5020 i2c interface */
150#define CONFIG_I2C I2C_PP5020
151
152/* We're able to shut off power to the HDD */
153#define HAVE_ATA_POWER_OFF
154
155/* define this if the hardware can be powered off while charging */
156//#define HAVE_POWEROFF_WHILE_CHARGING
157
158/* The start address index for ROM builds */
159#define ROM_START 0x00000000
160
161/* The size of the flash ROM */
162#define FLASH_SIZE 0x100000
163
164/* Define this to the CPU frequency */
165#define CPU_FREQ 11289600
166
167#define CONFIG_LCD LCD_IPOD2BPP
168
169/* Offset ( in the firmware file's header ) to the file length */
170#define FIRMWARE_OFFSET_FILE_LENGTH 0
171
172/* Offset ( in the firmware file's header ) to the file CRC */
173#define FIRMWARE_OFFSET_FILE_CRC 0
174
175/* Offset ( in the firmware file's header ) to the real data */
176#define FIRMWARE_OFFSET_FILE_DATA 8
177
178/* USB On-the-go */
179#define CONFIG_USBOTG USBOTG_ARC
180
181/* enable these for the experimental usb stack */
182#define HAVE_USBSTACK
183/*Disable USB for the release due to charging issues */
184/*#define USE_ROCKBOX_USB*/
185#define USB_VENDOR_ID 0x05ac
186#define USB_PRODUCT_ID 0x1203
187
188/* Virtual LED (icon) */
189#define CONFIG_LED LED_VIRTUAL
190
191/* Define this if you have adjustable CPU frequency */
192#define HAVE_ADJUSTABLE_CPU_FREQ
193
194/* Define this if you can read an absolute wheel position */
195#define HAVE_WHEEL_POSITION
196
197#define BOOTFILE_EXT "ipod"
198#define BOOTFILE "rockbox." BOOTFILE_EXT
199#define BOOTDIR "/.rockbox"
200
201#define ICODE_ATTR_TREMOR_NOT_MDCT
202
203#define IPOD_ACCESSORY_PROTOCOL
204#define HAVE_SERIAL
205
206#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
207
208#endif
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
new file mode 100644
index 0000000000..0dc691934f
--- /dev/null
+++ b/firmware/export/config/ipodcolor.h
@@ -0,0 +1,180 @@
1/*
2 * This config file is for the Apple iPod Color/Photo
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod Color/Photo"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 3
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
22
23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_44)
25
26/* define the bitmask of recording sample rates */
27#define REC_SAMPR_CAPS (SAMPR_CAP_44)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have access to the quickscreen */
45#define HAVE_QUICKSCREEN
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* LCD dimensions */
53#define LCD_WIDTH 220
54#define LCD_HEIGHT 176
55#define LCD_DEPTH 16 /* 65536 colours */
56#define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
57
58/* LCD stays visible without backlight - simulator hint */
59#define HAVE_TRANSFLECTIVE_LCD
60
61#define CONFIG_KEYPAD IPOD_4G_PAD
62
63/* Define this if you do software codec */
64#define CONFIG_CODEC SWCODEC
65
66/* define this if you have a real-time clock */
67#define CONFIG_RTC RTC_PCF50605
68
69/* Define if the device can wake from an RTC alarm */
70#define HAVE_RTC_ALARM
71
72/* Define this if you can switch on/off the accessory power supply */
73#define HAVE_ACCESSORY_SUPPLY
74
75/* Define this if you have a software controlled poweroff */
76#define HAVE_SW_POWEROFF
77
78/* The number of bytes reserved for loadable codecs */
79#define CODEC_SIZE 0x100000
80
81/* The number of bytes reserved for loadable plugins */
82#define PLUGIN_BUFFER_SIZE 0x80000
83
84/* Define this if you have the WM8975 audio codec */
85#define HAVE_WM8975
86
87#define AB_REPEAT_ENABLE 1
88#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
89
90/* define this if you have a disk storage, i.e. something
91 that needs spinups and can cause skips when shaked */
92#define HAVE_DISK_STORAGE
93
94/* Define this for LCD backlight available */
95#define HAVE_BACKLIGHT
96
97/* define this if the unit uses a scrollwheel for navigation */
98#define HAVE_SCROLLWHEEL
99/* define to activate advanced wheel acceleration code */
100#define HAVE_WHEEL_ACCELERATION
101/* define from which rotation speed [degree/sec] on the acceleration starts */
102#define WHEEL_ACCEL_START 270
103/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
104#define WHEEL_ACCELERATION 3
105
106/* Define this if you can detect headphones */
107#define HAVE_HEADPHONE_DETECTION
108
109#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
110#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
111#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
112#define BATTERY_CAPACITY_INC 10 /* capacity increment */
113#define BATTERY_TYPES_COUNT 1 /* only one type */
114
115/* Hardware controlled charging? */
116#define CONFIG_CHARGING CHARGING_MONITOR
117
118/* define this if the unit can be powered or charged via USB */
119#define HAVE_USB_POWER
120
121#ifndef SIMULATOR
122
123/* Define this if you have a PortalPlayer PP5020 */
124#define CONFIG_CPU PP5020
125
126/* Define this if you want to use the PP5020 i2c interface */
127#define CONFIG_I2C I2C_PP5020
128
129/* We're able to shut off power to the HDD */
130#define HAVE_ATA_POWER_OFF
131
132/* define this if the hardware can be powered off while charging */
133//#define HAVE_POWEROFF_WHILE_CHARGING
134
135/* The start address index for ROM builds */
136#define ROM_START 0x00000000
137
138/* The size of the flash ROM */
139#define FLASH_SIZE 0x100000
140
141/* Define this to the CPU frequency */
142#define CPU_FREQ 11289600
143
144#define CONFIG_LCD LCD_IPODCOLOR
145
146/* Offset ( in the firmware file's header ) to the file length */
147#define FIRMWARE_OFFSET_FILE_LENGTH 0
148
149/* Offset ( in the firmware file's header ) to the file CRC */
150#define FIRMWARE_OFFSET_FILE_CRC 0
151
152/* Offset ( in the firmware file's header ) to the real data */
153#define FIRMWARE_OFFSET_FILE_DATA 8
154
155/* USB On-the-go */
156#define CONFIG_USBOTG USBOTG_ARC
157
158/* enable these for the experimental usb stack */
159#define HAVE_USBSTACK
160/*Disable USB for the release due to charging issues */
161/*#define USE_ROCKBOX_USB*/
162#define USB_VENDOR_ID 0x05ac
163#define USB_PRODUCT_ID 0x1204
164
165/* Define this if you have adjustable CPU frequency */
166#define HAVE_ADJUSTABLE_CPU_FREQ
167
168/* Define this if you can read an absolute wheel position */
169#define HAVE_WHEEL_POSITION
170
171#define BOOTFILE_EXT "ipod"
172#define BOOTFILE "rockbox." BOOTFILE_EXT
173#define BOOTDIR "/.rockbox"
174
175#define ICODE_ATTR_TREMOR_NOT_MDCT
176
177#define IPOD_ACCESSORY_PROTOCOL
178#define HAVE_SERIAL
179
180#endif
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h
new file mode 100644
index 0000000000..ca82d5a560
--- /dev/null
+++ b/firmware/export/config/ipodmini1g.h
@@ -0,0 +1,195 @@
1/*
2 * This config file is for the Apple iPod Mini (1st Gen)
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod Mini 1g"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 9
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17/*#define HAVE_RECORDING*/
18
19/* define the bitmask of hardware sample rates */
20#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
21 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates
24#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
26
27/* define this if you have a bitmap LCD display */
28#define HAVE_LCD_BITMAP
29
30/* define this if you want album art for this target */
31#define HAVE_ALBUMART
32
33/* define this to enable bitmap scaling */
34#define HAVE_BMP_SCALING
35
36/* define this to enable JPEG decoding */
37#define HAVE_JPEG
38
39/* define this if you can invert the colours on your LCD */
40#define HAVE_LCD_INVERT
41
42/* define this if the LCD needs to be shutdown */
43#define HAVE_LCD_SHUTDOWN
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47/* define this if you have access to the pitchscreen */
48#define HAVE_PITCHSCREEN
49
50/* define this if you would like tagcache to build on this target */
51#define HAVE_TAGCACHE
52
53/* LCD dimensions */
54#define LCD_WIDTH 138
55#define LCD_HEIGHT 110
56#define LCD_DEPTH 2 /* 4 colours - 2bpp */
57
58#define LCD_PIXELFORMAT HORIZONTAL_PACKING
59
60/* Display colours, for screenshots and sim (0xRRGGBB) */
61#define LCD_DARKCOLOR 0x000000
62#define LCD_BRIGHTCOLOR 0x648764
63#define LCD_BL_DARKCOLOR 0x000000
64#define LCD_BL_BRIGHTCOLOR 0xdfd8ff
65
66#define HAVE_LCD_CONTRAST
67
68/* LCD contrast */
69#define MIN_CONTRAST_SETTING 5
70#define MAX_CONTRAST_SETTING 63
71#define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
72
73/* define this if you can flip your LCD */
74#define HAVE_LCD_FLIP
75
76#define CONFIG_KEYPAD IPOD_4G_PAD
77
78#define HAVE_SCROLLWHEEL
79
80/* Define this if you do software codec */
81#define CONFIG_CODEC SWCODEC
82
83/* define this if you have a real-time clock */
84#define CONFIG_RTC RTC_PCF50605
85
86/* Define if the device can wake from an RTC alarm */
87#define HAVE_RTC_ALARM
88
89/* Define this if you can switch on/off the accessory power supply */
90#define HAVE_ACCESSORY_SUPPLY
91
92/* Define this if you have a software controlled poweroff */
93#define HAVE_SW_POWEROFF
94
95/* The number of bytes reserved for loadable codecs */
96#define CODEC_SIZE 0x100000
97
98/* The number of bytes reserved for loadable plugins */
99#define PLUGIN_BUFFER_SIZE 0x80000
100
101/* Define this if you have the WM8721 audio codec */
102#define HAVE_WM8731
103
104/* WM8721 has no tone controls, so we use the software ones */
105#define HAVE_SW_TONE_CONTROLS
106
107#define AB_REPEAT_ENABLE 1
108#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
109
110/* define this if you have a disk storage, i.e. something
111 that needs spinups and can cause skips when shaked */
112#define HAVE_DISK_STORAGE
113
114/* Define this for LCD backlight available */
115#define HAVE_BACKLIGHT
116
117/* We can fade the backlight by using PWM */
118#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
119
120/* Define this if you can detect headphones */
121#define HAVE_HEADPHONE_DETECTION
122
123#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
124#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
125#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
126#define BATTERY_CAPACITY_INC 10 /* capacity increment */
127#define BATTERY_TYPES_COUNT 1 /* only one type */
128
129/* define current usage levels */
130#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
131#define CURRENT_BACKLIGHT 20 /* FIXME: This needs to be measured */
132#define CURRENT_RECORD 110 /* FIXME: Needs to be measured */
133
134/* Hardware controlled charging? */
135#define CONFIG_CHARGING CHARGING_MONITOR
136
137/* define this if the unit can be powered or charged via USB */
138#define HAVE_USB_POWER
139
140#ifndef SIMULATOR
141
142/* Define this if you have a PortalPlayer PP5020 */
143#define CONFIG_CPU PP5020
144
145/* Define this if you want to use the PP5020 i2c interface */
146#define CONFIG_I2C I2C_PP5020
147
148/* We're able to shut off power to the HDD */
149#define HAVE_ATA_POWER_OFF
150
151/* define this if the hardware can be powered off while charging */
152//#define HAVE_POWEROFF_WHILE_CHARGING
153
154/* The start address index for ROM builds */
155#define ROM_START 0x00000000
156
157/* The size of the flash ROM */
158#define FLASH_SIZE 0x100000
159
160/* Define this to the CPU frequency */
161#define CPU_FREQ 11289600
162
163#define CONFIG_LCD LCD_IPODMINI
164
165/* Offset ( in the firmware file's header ) to the file length */
166#define FIRMWARE_OFFSET_FILE_LENGTH 0
167
168/* Offset ( in the firmware file's header ) to the file CRC */
169#define FIRMWARE_OFFSET_FILE_CRC 0
170
171/* Offset ( in the firmware file's header ) to the real data */
172#define FIRMWARE_OFFSET_FILE_DATA 8
173
174/* USB On-the-go */
175#define CONFIG_USBOTG USBOTG_ARC
176
177/* enable these for the experimental usb stack */
178#define HAVE_USBSTACK
179/*Disable USB for the release due to charging issues */
180/*#define USE_ROCKBOX_USB*/
181#define USB_VENDOR_ID 0x05ac
182#define USB_PRODUCT_ID 0x1205
183
184/* Define this if you have adjustable CPU frequency */
185#define HAVE_ADJUSTABLE_CPU_FREQ
186
187#define BOOTFILE_EXT "ipod"
188#define BOOTFILE "rockbox." BOOTFILE_EXT
189#define BOOTDIR "/.rockbox"
190
191#define ICODE_ATTR_TREMOR_NOT_MDCT
192
193#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
194
195#endif
diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h
new file mode 100644
index 0000000000..37dd3ef559
--- /dev/null
+++ b/firmware/export/config/ipodmini2g.h
@@ -0,0 +1,205 @@
1/*
2 * This config file is for the Apple iPod Mini 2nd Gen
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod Mini 2g"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 11
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17/*#define HAVE_RECORDING*/
18
19/* define the bitmask of hardware sample rates */
20#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
21 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates
24#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
26
27/* define this if you have a bitmap LCD display */
28#define HAVE_LCD_BITMAP
29
30/* define this if you want album art for this target */
31#define HAVE_ALBUMART
32
33/* define this to enable bitmap scaling */
34#define HAVE_BMP_SCALING
35
36/* define this to enable JPEG decoding */
37#define HAVE_JPEG
38
39/* define this if you can invert the colours on your LCD */
40#define HAVE_LCD_INVERT
41
42/* define this if the LCD needs to be shutdown */
43#define HAVE_LCD_SHUTDOWN
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47/* define this if you have access to the pitchscreen */
48#define HAVE_PITCHSCREEN
49
50/* define this if you would like tagcache to build on this target */
51#define HAVE_TAGCACHE
52
53/* LCD dimensions */
54#define LCD_WIDTH 138
55#define LCD_HEIGHT 110
56#define LCD_DEPTH 2 /* 4 colours - 2bpp */
57
58#define LCD_PIXELFORMAT HORIZONTAL_PACKING
59
60/* Display colours, for screenshots and sim (0xRRGGBB) */
61#define LCD_DARKCOLOR 0x000000
62#define LCD_BRIGHTCOLOR 0x648764
63#define LCD_BL_DARKCOLOR 0x000000
64#define LCD_BL_BRIGHTCOLOR 0xdfd8ff
65
66#define HAVE_LCD_CONTRAST
67
68/* LCD contrast */
69#define MIN_CONTRAST_SETTING 5
70#define MAX_CONTRAST_SETTING 63
71#define DEFAULT_CONTRAST_SETTING 40 /* Match boot contrast */
72
73/* define this if you can flip your LCD */
74#define HAVE_LCD_FLIP
75
76#define CONFIG_KEYPAD IPOD_4G_PAD
77
78/* Define this if you do software codec */
79#define CONFIG_CODEC SWCODEC
80
81/* define this if you have a real-time clock */
82#define CONFIG_RTC RTC_PCF50605
83
84/* Define if the device can wake from an RTC alarm */
85#define HAVE_RTC_ALARM
86
87/* Define this if you can switch on/off the accessory power supply */
88#define HAVE_ACCESSORY_SUPPLY
89
90/* Define this if you have a software controlled poweroff */
91#define HAVE_SW_POWEROFF
92
93/* The number of bytes reserved for loadable codecs */
94#define CODEC_SIZE 0x100000
95
96/* The number of bytes reserved for loadable plugins */
97#define PLUGIN_BUFFER_SIZE 0x80000
98
99/* Define this if you have the WM8711 audio codec */
100#define HAVE_WM8711
101
102/* WM8721 has no tone controls, so we use the software ones */
103#define HAVE_SW_TONE_CONTROLS
104
105#define AB_REPEAT_ENABLE 1
106#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
107
108/* define this if you have a disk storage, i.e. something
109 that needs spinups and can cause skips when shaked */
110#define HAVE_DISK_STORAGE
111
112/* Define this for LCD backlight available */
113#define HAVE_BACKLIGHT
114
115/* We can fade the backlight by using PWM */
116#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
117
118/* define this if the unit uses a scrollwheel for navigation */
119#define HAVE_SCROLLWHEEL
120/* define to activate advanced wheel acceleration code */
121#define HAVE_WHEEL_ACCELERATION
122/* define from which rotation speed [degree/sec] on the acceleration starts */
123#define WHEEL_ACCEL_START 270
124/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
125#define WHEEL_ACCELERATION 3
126
127/* Define this if you can detect headphones */
128#define HAVE_HEADPHONE_DETECTION
129
130#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
131#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
132#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
133#define BATTERY_CAPACITY_INC 50 /* capacity increment */
134#define BATTERY_TYPES_COUNT 1 /* only one type */
135
136/* define current usage levels */
137#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
138#define CURRENT_BACKLIGHT 20 /* FIXME: This needs to be measured */
139#define CURRENT_RECORD 110 /* FIXME: Needs to be measured */
140
141/* Hardware controlled charging? */
142#define CONFIG_CHARGING CHARGING_MONITOR
143
144/* define this if the unit can be powered or charged via USB */
145#define HAVE_USB_POWER
146
147#ifndef SIMULATOR
148
149/* Define this if you have a PortalPlayer PP5022 */
150#define CONFIG_CPU PP5022
151
152/* Define this if you want to use the PP5020 i2c interface */
153#define CONFIG_I2C I2C_PP5020
154
155/* We're able to shut off power to the HDD */
156#define HAVE_ATA_POWER_OFF
157
158/* define this if the hardware can be powered off while charging */
159//#define HAVE_POWEROFF_WHILE_CHARGING
160
161/* The start address index for ROM builds */
162#define ROM_START 0x00000000
163
164/* The size of the flash ROM */
165#define FLASH_SIZE 0x100000
166
167/* Define this to the CPU frequency */
168#define CPU_FREQ 11289600
169
170#define CONFIG_LCD LCD_IPODMINI
171
172/* Offset ( in the firmware file's header ) to the file length */
173#define FIRMWARE_OFFSET_FILE_LENGTH 0
174
175/* Offset ( in the firmware file's header ) to the file CRC */
176#define FIRMWARE_OFFSET_FILE_CRC 0
177
178/* Offset ( in the firmware file's header ) to the real data */
179#define FIRMWARE_OFFSET_FILE_DATA 8
180
181/* USB On-the-go */
182#define CONFIG_USBOTG USBOTG_ARC
183
184/* enable these for the experimental usb stack */
185#define HAVE_USBSTACK
186/*Disable USB for the release due to charging issues */
187/*#define USE_ROCKBOX_USB*/
188#define USB_VENDOR_ID 0x05ac
189#define USB_PRODUCT_ID 0x1205
190
191/* Define this if you have adjustable CPU frequency */
192#define HAVE_ADJUSTABLE_CPU_FREQ
193
194/* Define this if you can read an absolute wheel position */
195#define HAVE_WHEEL_POSITION
196
197#define BOOTFILE_EXT "ipod"
198#define BOOTFILE "rockbox." BOOTFILE_EXT
199#define BOOTDIR "/.rockbox"
200
201#define ICODE_ATTR_TREMOR_NOT_MDCT
202
203#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
204
205#endif
diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h
new file mode 100644
index 0000000000..8483f56613
--- /dev/null
+++ b/firmware/export/config/ipodnano1g.h
@@ -0,0 +1,190 @@
1/*
2 * This config file is for the Apple iPod Nano
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod Nano 1g"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 4
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
22
23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_44)
25
26/* define the bitmask of recording sample rates */
27#define REC_SAMPR_CAPS (SAMPR_CAP_44)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have access to the quickscreen */
45#define HAVE_QUICKSCREEN
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* LCD dimensions */
53#define LCD_WIDTH 176
54#define LCD_HEIGHT 132
55#define LCD_DEPTH 16 /* 65536 colours */
56#define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
57
58/* LCD stays visible without backlight - simulator hint */
59#define HAVE_TRANSFLECTIVE_LCD
60
61#define CONFIG_KEYPAD IPOD_4G_PAD
62
63/* Define this if you do software codec */
64#define CONFIG_CODEC SWCODEC
65
66/* define this if you have a real-time clock */
67#define CONFIG_RTC RTC_PCF50605
68
69/* Define if the device can wake from an RTC alarm */
70#define HAVE_RTC_ALARM
71
72/* Define this if you can switch on/off the accessory power supply */
73#define HAVE_ACCESSORY_SUPPLY
74
75/* Define this if you have a software controlled poweroff */
76#define HAVE_SW_POWEROFF
77
78/* The number of bytes reserved for loadable codecs */
79#define CODEC_SIZE 0x100000
80
81/* The number of bytes reserved for loadable plugins */
82#define PLUGIN_BUFFER_SIZE 0x80000
83
84/* Define this if you have the WM8975 audio codec */
85#define HAVE_WM8975
86
87#define AB_REPEAT_ENABLE 1
88#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
89
90/* Define this for LCD backlight available */
91#define HAVE_BACKLIGHT
92#define HAVE_BACKLIGHT_BRIGHTNESS
93/* We can fade the backlight by using PWM */
94#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
95
96/* Main LCD backlight brightness range and defaults */
97#define MIN_BRIGHTNESS_SETTING 1
98#define MAX_BRIGHTNESS_SETTING 32
99#define DEFAULT_BRIGHTNESS_SETTING 16
100
101/* define this if the unit uses a scrollwheel for navigation */
102#define HAVE_SCROLLWHEEL
103/* define to activate advanced wheel acceleration code */
104#define HAVE_WHEEL_ACCELERATION
105/* define from which rotation speed [degree/sec] on the acceleration starts */
106#define WHEEL_ACCEL_START 270
107/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
108#define WHEEL_ACCELERATION 3
109
110/* Define this if you can detect headphones */
111#define HAVE_HEADPHONE_DETECTION
112
113/* define this if you have a flash memory storage */
114#define HAVE_FLASH_STORAGE
115
116#define BATTERY_CAPACITY_DEFAULT 300 /* default battery capacity */
117#define BATTERY_CAPACITY_MIN 200 /* min. capacity selectable */
118#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
119#define BATTERY_CAPACITY_INC 20 /* capacity increment */
120#define BATTERY_TYPES_COUNT 1 /* only one type */
121
122/* Hardware controlled charging? FIXME */
123//#define CONFIG_CHARGING CHARGING_SIMPLE
124
125/* define this if the unit can be powered or charged via USB */
126#define HAVE_USB_POWER
127
128#define CURRENT_NORMAL 32 /* MP3: ~9h playback out of 300mAh battery */
129#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
130#if defined(HAVE_RECORDING)
131#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
132#endif
133
134#ifndef SIMULATOR
135
136/* Define this if you have a PortalPlayer PP5022 */
137#define CONFIG_CPU PP5022
138
139/* Define this if you want to use the PP5020 i2c interface */
140#define CONFIG_I2C I2C_PP5020
141
142/* define this if the hardware can be powered off while charging */
143//#define HAVE_POWEROFF_WHILE_CHARGING
144
145/* The start address index for ROM builds */
146#define ROM_START 0x00000000
147
148/* The size of the flash ROM */
149#define FLASH_SIZE 0x100000
150
151/* Define this to the CPU frequency */
152#define CPU_FREQ 24000000
153
154#define CONFIG_LCD LCD_IPODNANO
155
156/* Offset ( in the firmware file's header ) to the file length */
157#define FIRMWARE_OFFSET_FILE_LENGTH 0
158
159/* Offset ( in the firmware file's header ) to the file CRC */
160#define FIRMWARE_OFFSET_FILE_CRC 0
161
162/* Offset ( in the firmware file's header ) to the real data */
163#define FIRMWARE_OFFSET_FILE_DATA 8
164
165/* USB On-the-go */
166#define CONFIG_USBOTG USBOTG_ARC
167
168/* enable these for the experimental usb stack */
169#define HAVE_USBSTACK
170/*Disable USB for the release due to charging issues */
171/*#define USE_ROCKBOX_USB*/
172#define USB_VENDOR_ID 0x05ac
173#define USB_PRODUCT_ID 0x120a
174
175/* Define this if you have adjustable CPU frequency */
176#define HAVE_ADJUSTABLE_CPU_FREQ
177
178/* Define this if you can read an absolute wheel position */
179#define HAVE_WHEEL_POSITION
180
181#define BOOTFILE_EXT "ipod"
182#define BOOTFILE "rockbox." BOOTFILE_EXT
183#define BOOTDIR "/.rockbox"
184
185#define ICODE_ATTR_TREMOR_NOT_MDCT
186
187#define IPOD_ACCESSORY_PROTOCOL
188#define HAVE_SERIAL
189
190#endif
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h
new file mode 100644
index 0000000000..31830fd2c1
--- /dev/null
+++ b/firmware/export/config/ipodnano2g.h
@@ -0,0 +1,173 @@
1/*
2 * This config file is for iPod Nano 2nd Generation
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 62
8
9#define MODEL_NAME "Apple iPod Nano 2g"
10
11/* define this if you have recording possibility */
12#define HAVE_RECORDING
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_LINEIN)
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
20
21/* define the bitmask of recording sample rates */
22#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define this if you have a bitmap LCD display */
25#define HAVE_LCD_BITMAP
26
27/* define this if you can flip your LCD */
28//#define HAVE_LCD_FLIP
29
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33/* define this if you want album art for this target */
34#define HAVE_ALBUMART
35
36/* define this to enable bitmap scaling */
37#define HAVE_BMP_SCALING
38
39/* define this to enable JPEG decoding */
40#define HAVE_JPEG
41
42/* define this if you can invert the colours on your LCD */
43//#define HAVE_LCD_INVERT
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* define this if you have a flash memory storage */
55#define HAVE_FLASH_STORAGE
56
57#define CONFIG_STORAGE STORAGE_NAND
58
59#define CONFIG_NAND NAND_SAMSUNG
60
61/* LCD dimensions */
62#define LCD_WIDTH 176
63#define LCD_HEIGHT 132
64#define LCD_DEPTH 16 /* pseudo 262.144 colors */
65#define LCD_PIXELFORMAT RGB565 /* rgb565 */
66
67/* Define this if your LCD can be enabled/disabled */
68//#define HAVE_LCD_ENABLE
69
70/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
71 should be defined as well. */
72//#define HAVE_LCD_SLEEP
73
74#define CONFIG_KEYPAD IPOD_4G_PAD
75
76//#define AB_REPEAT_ENABLE 1
77//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83//#define CONFIG_RTC RTC_S5L8700
84#define CONFIG_RTC RTC_S35390A
85
86#define CONFIG_LCD LCD_NANO2G
87
88/* Define the type of audio codec */
89#define HAVE_WM8975
90
91/* Define this for LCD backlight available */
92#define HAVE_BACKLIGHT
93#define HAVE_BACKLIGHT_BRIGHTNESS
94
95/* Define this if you have a software controlled poweroff */
96#define HAVE_SW_POWEROFF
97
98/* The number of bytes reserved for loadable codecs */
99#define CODEC_SIZE 0x100000
100
101/* The number of bytes reserved for loadable plugins */
102#define PLUGIN_BUFFER_SIZE 0x80000
103
104
105#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
106#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
107#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
108#define BATTERY_CAPACITY_INC 50 /* capacity increment */
109#define BATTERY_TYPES_COUNT 1 /* only one type */
110
111/* Hardware controlled charging? FIXME */
112#define CONFIG_CHARGING CHARGING_SIMPLE
113
114#ifndef SIMULATOR
115
116/* Define this if your LCD can set contrast */
117//#define HAVE_LCD_CONTRAST
118
119/* The exact type of CPU */
120#define CONFIG_CPU S5L8701
121
122/* I2C interface */
123#define CONFIG_I2C I2C_S5L8700
124
125/* define this if the hardware can be powered off while charging */
126#define HAVE_POWEROFF_WHILE_CHARGING
127
128/* The size of the flash ROM */
129#define FLASH_SIZE 0x400000
130
131/* Define this to the CPU frequency */
132#define CPU_FREQ 200000000
133
134/* Define this if you have ATA power-off control */
135//#define HAVE_ATA_POWER_OFF
136
137/* Offset ( in the firmware file's header ) to the file CRC */
138#define FIRMWARE_OFFSET_FILE_CRC 0
139
140/* Offset ( in the firmware file's header ) to the real data */
141#define FIRMWARE_OFFSET_FILE_DATA 8
142
143/* USB On-the-go */
144//#define CONFIG_USBOTG USBOTG_M5636
145
146/* Define this if you have adjustable CPU frequency */
147#define HAVE_ADJUSTABLE_CPU_FREQ
148
149#define BOOTFILE_EXT "ipod"
150#define BOOTFILE "rockbox." BOOTFILE_EXT
151#define BOOTDIR "/.rockbox"
152
153#define BOOTLOADER_ENTRYPOINT 0x001F0000
154#define FLASH_ENTRYPOINT 0x00001000
155#define FLASH_MAGIC 0xfbfbfbf1
156
157#endif /* SIMULATOR */
158
159/* Define this for FM radio input available */
160#define HAVE_FMRADIO_IN
161
162/** Port-specific settings **/
163
164/* Main LCD contrast range and defaults */
165#define MIN_CONTRAST_SETTING 1
166#define MAX_CONTRAST_SETTING 30
167#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
168
169/* Main LCD backlight brightness range and defaults */
170#define MIN_BRIGHTNESS_SETTING 0
171#define MAX_BRIGHTNESS_SETTING 15
172#define DEFAULT_BRIGHTNESS_SETTING 10
173
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h
new file mode 100644
index 0000000000..7dca65706c
--- /dev/null
+++ b/firmware/export/config/ipodvideo.h
@@ -0,0 +1,225 @@
1/*
2 * This config file is for the Apple iPod Video
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define IPOD_ARCH 1
7
8#define MODEL_NAME "Apple iPod Video"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 5
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
22
23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
25 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
26 SAMPR_CAP_12 | SAMPR_CAP_11 | SAMPR_CAP_8)
27
28/* define the bitmask of recording sample rates */
29#define REC_SAMPR_CAPS HW_SAMPR_CAPS
30
31/* define this if you have a bitmap LCD display */
32#define HAVE_LCD_BITMAP
33
34/* define this if you have a colour LCD */
35#define HAVE_LCD_COLOR
36
37/* define this if you want album art for this target */
38#define HAVE_ALBUMART
39
40/* define this to enable bitmap scaling */
41#define HAVE_BMP_SCALING
42
43/* define this to enable JPEG decoding */
44#define HAVE_JPEG
45
46/* define this if you have access to the quickscreen */
47#define HAVE_QUICKSCREEN
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* LCD dimensions */
55#define LCD_WIDTH 320
56#define LCD_HEIGHT 240
57#define LCD_DEPTH 16 /* 65536 colours */
58#define LCD_PIXELFORMAT RGB565 /* rgb565 */
59
60/* LCD stays visible without backlight - simulator hint */
61#define HAVE_TRANSFLECTIVE_LCD
62
63#define CONFIG_KEYPAD IPOD_4G_PAD
64
65/* Define this if you do software codec */
66#define CONFIG_CODEC SWCODEC
67
68/* define this if you have a real-time clock */
69#define CONFIG_RTC RTC_PCF50605
70
71/* Define if the device can wake from an RTC alarm */
72#define HAVE_RTC_ALARM
73
74/* Define this if you can switch on/off the accessory power supply */
75#define HAVE_ACCESSORY_SUPPLY
76
77/* Define this if you have a software controlled poweroff */
78#define HAVE_SW_POWEROFF
79
80/* The number of bytes reserved for loadable codecs */
81#define CODEC_SIZE 0x100000
82
83/* The number of bytes reserved for loadable plugins */
84#define PLUGIN_BUFFER_SIZE 0x80000
85
86/* Define this if you have the WM8758 audio codec */
87#define HAVE_WM8758
88
89#define AB_REPEAT_ENABLE 1
90#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
91
92/* define this if you have a disk storage, i.e. something
93 that needs spinups and can cause skips when shaked */
94#define HAVE_DISK_STORAGE
95
96/* Define this for LCD backlight available */
97#define HAVE_BACKLIGHT
98#define HAVE_BACKLIGHT_BRIGHTNESS
99
100#ifndef BOOTLOADER
101/* Support for LCD sleep/BCM shutdown */
102#define HAVE_LCD_SLEEP
103#define HAVE_LCD_SLEEP_SETTING
104/* The same code may also be used when shutting down the iPod */
105#define HAVE_LCD_SHUTDOWN
106#endif
107
108/* We can fade the backlight by using PWM */
109#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
110
111/* Main LCD backlight brightness range and defaults */
112#define MIN_BRIGHTNESS_SETTING 1
113#define MAX_BRIGHTNESS_SETTING 32
114#define DEFAULT_BRIGHTNESS_SETTING 16
115
116
117/* define this if the unit uses a scrollwheel for navigation */
118#define HAVE_SCROLLWHEEL
119/* define to activate advanced wheel acceleration code */
120#define HAVE_WHEEL_ACCELERATION
121/* define from which rotation speed [degree/sec] on the acceleration starts */
122#define WHEEL_ACCEL_START 270
123/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
124#define WHEEL_ACCELERATION 3
125
126/* Define this if you can detect headphones */
127#define HAVE_HEADPHONE_DETECTION
128
129/* Type of mobile power */
130#if (MEM==32) /* this is the 30GB-model */
131# define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */
132# define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
133# define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
134#else /* these are the 60/80GB-models */
135# define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */
136# define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
137# define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
138#endif
139#define BATTERY_CAPACITY_INC 50 /* capacity increment */
140#define BATTERY_TYPES_COUNT 1 /* only one type */
141
142/* Hardware controlled charging with monitoring */
143#define CONFIG_CHARGING CHARGING_MONITOR
144
145/* define this if the unit can be powered or charged via USB */
146#define HAVE_USB_POWER
147
148/* define current usage levels */
149#define CURRENT_NORMAL 35 /* MP3: ~11h out of 400mAh battery (30GB) or ~17h out of 600mAh (60GB) */
150#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
151#if defined(HAVE_RECORDING)
152#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
153#endif
154
155#ifndef SIMULATOR
156
157/* Define this if you have a PortalPlayer PP5022 */
158#define CONFIG_CPU PP5022
159
160/* Define this if you want to use the PP5020 i2c interface */
161#define CONFIG_I2C I2C_PP5020
162
163/* We're able to shut off power to the HDD */
164#define HAVE_ATA_POWER_OFF
165
166/* define this if the hardware can be powered off while charging */
167//#define HAVE_POWEROFF_WHILE_CHARGING
168
169/* The start address index for ROM builds */
170#define ROM_START 0x00000000
171
172/* The size of the flash ROM */
173#define FLASH_SIZE 0x100000
174
175/* Define this to the CPU frequency */
176#define CPU_FREQ 11289600
177
178#define CONFIG_LCD LCD_IPODVIDEO
179
180/* Offset ( in the firmware file's header ) to the file length */
181#define FIRMWARE_OFFSET_FILE_LENGTH 0
182
183/* Offset ( in the firmware file's header ) to the file CRC */
184#define FIRMWARE_OFFSET_FILE_CRC 0
185
186/* Offset ( in the firmware file's header ) to the real data */
187#define FIRMWARE_OFFSET_FILE_DATA 8
188
189/* USB On-the-go */
190#define CONFIG_USBOTG USBOTG_ARC
191
192/* enable these for the experimental usb stack */
193#define HAVE_USBSTACK
194/*Disable USB for the release due to charging issues */
195/*#define USE_ROCKBOX_USB*/
196#define USB_VENDOR_ID 0x05ac
197#define USB_PRODUCT_ID 0x1209
198
199/* Virtual LED (icon) */
200#define CONFIG_LED LED_VIRTUAL
201
202/* Define this if you have adjustable CPU frequency */
203#define HAVE_ADJUSTABLE_CPU_FREQ
204
205/* Define this if you can read an absolute wheel position */
206#define HAVE_WHEEL_POSITION
207
208/* define this if the device has larger sectors when accessed via USB */
209/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
210#define MAX_LOG_SECTOR_SIZE 2048
211
212/* define this if the hard drive uses large physical sectors (ATA-7 feature) */
213/* and doesn't handle them in the drive firmware */
214#define MAX_PHYS_SECTOR_SIZE 1024
215
216#define BOOTFILE_EXT "ipod"
217#define BOOTFILE "rockbox." BOOTFILE_EXT
218#define BOOTDIR "/.rockbox"
219
220#define ICODE_ATTR_TREMOR_NOT_MDCT
221
222#define IPOD_ACCESSORY_PROTOCOL
223#define HAVE_SERIAL
224
225#endif
diff --git a/firmware/export/config/iriverh10.h b/firmware/export/config/iriverh10.h
new file mode 100644
index 0000000000..0dc845c23b
--- /dev/null
+++ b/firmware/export/config/iriverh10.h
@@ -0,0 +1,187 @@
1/*
2 * This config file is for the iriver H10 20Gb
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 13
9#define MODEL_NAME "iriver H10 20GB"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16/* Define bitmask of input sources - recordable bitmask can be defined
17 explicitly if different */
18#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
19
20/* define the bitmask of hardware sample rates */
21#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
22 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
23
24/* define the bitmask of recording sample rates */
25#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
26 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
27
28/* define this if you have a bitmap LCD display */
29#define HAVE_LCD_BITMAP
30
31/* define this if you have a colour LCD */
32#define HAVE_LCD_COLOR
33
34/* define this if you want album art for this target */
35#define HAVE_ALBUMART
36
37/* define this to enable bitmap scaling */
38#define HAVE_BMP_SCALING
39
40/* define this to enable JPEG decoding */
41#define HAVE_JPEG
42
43/* define this if you have access to the quickscreen */
44#define HAVE_QUICKSCREEN
45
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* LCD dimensions */
53#define LCD_WIDTH 160
54#define LCD_HEIGHT 128
55#define LCD_DEPTH 16 /* 65536 colours */
56#define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
57
58#ifndef BOOTLOADER
59/* Define this if your LCD can be enabled/disabled */
60#define HAVE_LCD_ENABLE
61
62/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
63 * should be defined as well.
64 * We can currently put the lcd to sleep but it won't wake up properly */
65#define HAVE_LCD_SLEEP
66#define HAVE_LCD_SLEEP_SETTING
67#endif
68
69/* define this if you can flip your LCD */
70#define HAVE_LCD_FLIP
71
72/* define this if you can invert the colours on your LCD */
73#define HAVE_LCD_INVERT
74
75/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
76
77#define CONFIG_KEYPAD IRIVER_H10_PAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#ifndef BOOTLOADER
84#define CONFIG_RTC RTC_E8564
85#define HAVE_RTC_ALARM
86#endif
87
88/* define this if you have a disk storage, i.e. something
89 that needs spinups and can cause skips when shaked */
90#define HAVE_DISK_STORAGE
91
92/* Define this if you have a software controlled poweroff */
93#define HAVE_SW_POWEROFF
94
95/* The number of bytes reserved for loadable codecs */
96#define CODEC_SIZE 0x100000
97
98/* The number of bytes reserved for loadable plugins */
99#define PLUGIN_BUFFER_SIZE 0x80000
100
101/* Define this if you have the WM8731 audio codec */
102#define HAVE_WM8731
103
104/* WM8731 has no tone controls, so we use the software ones */
105#define HAVE_SW_TONE_CONTROLS
106
107#define AB_REPEAT_ENABLE 1
108
109/* FM Tuner */
110#define CONFIG_TUNER TEA5767
111#define CONFIG_TUNER_XTAL 32768
112
113/* Define this for LCD backlight available */
114#define HAVE_BACKLIGHT
115
116#define AB_REPEAT_ENABLE 1
117
118#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
119#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
120#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
121#define BATTERY_CAPACITY_INC 50 /* capacity increment */
122#define BATTERY_TYPES_COUNT 1 /* only one type */
123
124/* Hardware controlled charging */
125#define CONFIG_CHARGING CHARGING_SIMPLE
126
127/* define this if the unit can be powered or charged via USB */
128#define HAVE_USB_POWER
129
130#ifndef SIMULATOR
131
132/* Define this if you have a PortalPlayer PP5020 */
133#define CONFIG_CPU PP5020
134
135/* Define this if you want to use the PP5020 i2c interface */
136#define CONFIG_I2C I2C_PP5020
137
138/* define this if the hardware can be powered off while charging */
139#define HAVE_POWEROFF_WHILE_CHARGING
140
141/* The start address index for ROM builds */
142#define ROM_START 0x00000000
143
144/* The size of the flash ROM */
145#define FLASH_SIZE 0x100000
146
147/* Define this to the CPU frequency */
148#define CPU_FREQ 75000000
149
150/* Type of LCD */
151#define CONFIG_LCD LCD_H10_20GB
152
153/* Define this if your LCD can set contrast */
154#define HAVE_LCD_CONTRAST
155
156#define MIN_CONTRAST_SETTING 0
157#define MAX_CONTRAST_SETTING 30
158#define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */
159
160/* We're able to shut off power to the HDD */
161#define HAVE_ATA_POWER_OFF
162
163/* Offset ( in the firmware file's header ) to the file CRC and data. These are
164 only used when loading the old format rockbox.h10 file */
165#define FIRMWARE_OFFSET_FILE_CRC 0x0
166#define FIRMWARE_OFFSET_FILE_DATA 0x8
167
168/* USB On-the-go */
169#define CONFIG_USBOTG USBOTG_ARC
170
171/* enable these for the experimental usb stack */
172#define HAVE_USBSTACK
173#define USE_ROCKBOX_USB
174#define USB_VENDOR_ID 0x0B70
175#define USB_PRODUCT_ID 0x00BA
176
177/* Define this if you have adjustable CPU frequency */
178#define HAVE_ADJUSTABLE_CPU_FREQ
179
180#define MI4_FORMAT
181#define BOOTFILE_EXT "mi4"
182#define BOOTFILE "rockbox." BOOTFILE_EXT
183#define BOOTDIR "/.rockbox"
184
185#define ICODE_ATTR_TREMOR_NOT_MDCT
186
187#endif
diff --git a/firmware/export/config/iriverh100.h b/firmware/export/config/iriverh100.h
new file mode 100644
index 0000000000..f06aaf8335
--- /dev/null
+++ b/firmware/export/config/iriverh100.h
@@ -0,0 +1,217 @@
1#define TARGET_TREE /* this target is using the target tree system */
2
3/*
4 * This config file is for iriver iHP-100, iHP-110, iHP-115
5 */
6#define IRIVER_H100_SERIES 1
7
8#define MODEL_NAME "iriver iHP-100 series"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 1
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
18
19/* define this if you want album art for this target */
20#define HAVE_ALBUMART
21
22/* define this to enable bitmap scaling */
23#define HAVE_BMP_SCALING
24
25/* define this to enable JPEG decoding */
26#define HAVE_JPEG
27
28/* define this if you can flip your LCD */
29#define HAVE_LCD_FLIP
30
31/* define this if you can invert the colours on your LCD */
32#define HAVE_LCD_INVERT
33
34/* define this if you have access to the quickscreen */
35#define HAVE_QUICKSCREEN
36/* define this if you have access to the pitchscreen */
37#define HAVE_PITCHSCREEN
38
39/* define this if you would like tagcache to build on this target */
40#define HAVE_TAGCACHE
41
42/* LCD dimensions */
43#define LCD_WIDTH 160
44#define LCD_HEIGHT 128
45#define LCD_DEPTH 2
46
47#define LCD_PIXELFORMAT VERTICAL_PACKING
48
49/* Display colours, for screenshots and sim (0xRRGGBB) */
50#define LCD_DARKCOLOR 0x000000
51#define LCD_BRIGHTCOLOR 0x5a915a
52#define LCD_BL_DARKCOLOR 0x000000
53#define LCD_BL_BRIGHTCOLOR 0xadd8e6
54
55/* remote LCD */
56#define LCD_REMOTE_WIDTH 128
57#define LCD_REMOTE_HEIGHT 64
58#define LCD_REMOTE_DEPTH 1
59
60#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
61
62/* Remote display colours, for screenshots and sim (0xRRGGBB) */
63#define LCD_REMOTE_DARKCOLOR 0x000000
64#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
65#define LCD_REMOTE_BL_DARKCOLOR 0x000000
66#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
67
68#define CONFIG_KEYPAD IRIVER_H100_PAD
69
70#define CONFIG_REMOTE_KEYPAD H100_REMOTE
71
72/* Define this if you do software codec */
73#define CONFIG_CODEC SWCODEC
74
75/* Define this if you have an remote lcd */
76#define HAVE_REMOTE_LCD
77
78/* Define if we have a hardware defect that causes ticking on the audio line */
79#define HAVE_REMOTE_LCD_TICKING
80
81#define CONFIG_LCD LCD_S1D15E06
82
83/* define this if you have a disk storage, i.e. something
84 that needs spinups and can cause skips when shaked */
85#define HAVE_DISK_STORAGE
86
87/* Define this for LCD backlight available */
88#define HAVE_BACKLIGHT
89
90/* We can fade the backlight by using PWM */
91#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
92
93/* Define this if you have a software controlled poweroff */
94#define HAVE_SW_POWEROFF
95
96/* The number of bytes reserved for loadable codecs */
97#define CODEC_SIZE 0x100000
98
99/* The number of bytes reserved for loadable plugins */
100#define PLUGIN_BUFFER_SIZE 0x80000
101
102#define AB_REPEAT_ENABLE 1
103
104#define CONFIG_TUNER TEA5767
105#define CONFIG_TUNER_XTAL 32768
106
107#define HAVE_UDA1380
108
109/* define this if you have recording possibility */
110#define HAVE_RECORDING
111
112/* define hardware samples rate caps mask */
113#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
114
115/* define the bitmask of recording sample rates */
116#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
117
118#define HAVE_AGC
119
120#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
121#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
122#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
123#define BATTERY_CAPACITY_INC 50 /* capacity increment */
124#define BATTERY_TYPES_COUNT 1 /* only one type */
125
126/* Hardware controlled charging */
127#define CONFIG_CHARGING CHARGING_SIMPLE
128
129/* define current usage levels */
130#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */
131#define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */
132#define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */
133#define CURRENT_RECORD 105 /* additional current while recording */
134#define CURRENT_REMOTE 8 /* additional current when remote connected */
135
136#ifndef SIMULATOR
137
138/* Define this if you have a Motorola SCF5249 */
139#define CONFIG_CPU MCF5249
140
141/* Define this if you want to use coldfire's i2c interface */
142#define CONFIG_I2C I2C_COLDFIRE
143
144/* Define this if you can run rockbox from flash memory */
145/* In theory we can, but somebody needs to verify there are no issues. */
146#define HAVE_FLASHED_ROCKBOX
147
148/* define this if the hardware can be powered off while charging */
149#define HAVE_POWEROFF_WHILE_CHARGING
150
151/* The size of the flash ROM */
152#define FLASH_SIZE 0x200000
153
154/* Define this to the CPU frequency */
155#define CPU_FREQ 11289600
156
157/* Define this if you have ATA power-off control */
158#define HAVE_ATA_POWER_OFF
159
160/* Offset ( in the firmware file's header ) to the file CRC */
161#define FIRMWARE_OFFSET_FILE_CRC 0
162
163/* Offset ( in the firmware file's header ) to the real data */
164#define FIRMWARE_OFFSET_FILE_DATA 8
165
166#define HAVE_ATA_LED_CTRL
167
168/* Define this if you have adjustable CPU frequency */
169#define HAVE_ADJUSTABLE_CPU_FREQ
170
171#define BOOTFILE_EXT "iriver"
172#define BOOTFILE "rockbox." BOOTFILE_EXT
173#define BOOTDIR "/.rockbox"
174
175#define BOOTLOADER_ENTRYPOINT 0x001F0000
176#define FLASH_RAMIMAGE_ENTRY 0x00001000
177#define FLASH_ROMIMAGE_ENTRY 0x00100000
178#define FLASH_MAGIC 0xfbfbfbf2
179
180/* Define this if there is an EEPROM chip */
181#define HAVE_EEPROM
182
183/* Define this if the EEPROM chip is used */
184#define HAVE_EEPROM_SETTINGS
185
186#endif /* !SIMULATOR */
187
188/* Define bitmask of input sources - recordable bitmask can be defined
189 explicitly if different */
190#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
191 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
192
193/* Define this for S/PDIF output available */
194#define HAVE_SPDIF_OUT
195
196/* Define this if you can control the S/PDIF power */
197#define HAVE_SPDIF_POWER
198#define SPDIF_POWER_INVERTED
199
200/* Define this for FM radio input available */
201#define HAVE_FMRADIO_IN
202
203/** Port-specific settings **/
204
205#define HAVE_LCD_CONTRAST
206
207/* Main LCD backlight brightness range and defaults */
208#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
209#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
210#define DEFAULT_CONTRAST_SETTING 27
211
212/* Remote LCD contrast range and defaults */
213#define MIN_REMOTE_CONTRAST_SETTING 5
214#define MAX_REMOTE_CONTRAST_SETTING 63
215#define DEFAULT_REMOTE_CONTRAST_SETTING 42
216
217#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config/iriverh10_5gb.h b/firmware/export/config/iriverh10_5gb.h
new file mode 100644
index 0000000000..8275e50dc6
--- /dev/null
+++ b/firmware/export/config/iriverh10_5gb.h
@@ -0,0 +1,167 @@
1/*
2 * This config file is for the iriver H10 5/6Gb model
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 14
9#define MODEL_NAME "iriver H10 5/6GB"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have recording possibility */
15#define HAVE_RECORDING
16/* Define bitmask of input sources - recordable bitmask can be defined
17 explicitly if different */
18#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
19
20/* define the bitmask of hardware sample rates */
21#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
22 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
23
24/* define the bitmask of recording sample rates */
25#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
26 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
27
28/* define this if you have a bitmap LCD display */
29#define HAVE_LCD_BITMAP
30
31/* define this if you have a colour LCD */
32#define HAVE_LCD_COLOR
33
34/* define this if you want album art for this target */
35#define HAVE_ALBUMART
36
37/* define this to enable bitmap scaling */
38#define HAVE_BMP_SCALING
39
40/* define this to enable JPEG decoding */
41#define HAVE_JPEG
42
43/* define this if you have access to the quickscreen */
44#define HAVE_QUICKSCREEN
45
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* LCD dimensions */
53#define LCD_WIDTH 128
54#define LCD_HEIGHT 128
55#define LCD_DEPTH 16 /* 65536 colours */
56#define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
57
58/*#define IRAM_LCDFRAMEBUFFER IDATA_ATTR*//* put the lcd frame buffer in IRAM */
59
60#define CONFIG_KEYPAD IRIVER_H10_PAD
61
62/* Define this if you do software codec */
63#define CONFIG_CODEC SWCODEC
64
65/* define this if you have a real-time clock */
66#ifndef BOOTLOADER
67#define CONFIG_RTC RTC_E8564
68#define HAVE_RTC_ALARM
69#endif
70
71/* Define this if you have a software controlled poweroff */
72#define HAVE_SW_POWEROFF
73
74/* The number of bytes reserved for loadable codecs */
75#define CODEC_SIZE 0x100000
76
77/* The number of bytes reserved for loadable plugins */
78#define PLUGIN_BUFFER_SIZE 0x80000
79
80/* Define this if you have the WM8731 audio codec */
81#define HAVE_WM8731
82
83/* WM8731 has no tone controls, so we use the software ones */
84#define HAVE_SW_TONE_CONTROLS
85
86#define AB_REPEAT_ENABLE 1
87
88/* FM Tuner */
89#define CONFIG_TUNER TEA5767
90#define CONFIG_TUNER_XTAL 32768
91
92/* define this if you have a disk storage, i.e. something
93 that needs spinups and can cause skips when shaked */
94#define HAVE_DISK_STORAGE
95
96/* Define this for LCD backlight available */
97#define HAVE_BACKLIGHT
98
99#define AB_REPEAT_ENABLE 1
100
101#define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */
102#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
103#define BATTERY_CAPACITY_MAX 900 /* max. capacity selectable */
104#define BATTERY_CAPACITY_INC 10 /* capacity increment */
105#define BATTERY_TYPES_COUNT 1 /* only one type */
106
107/* Hardware controlled charging */
108#define CONFIG_CHARGING CHARGING_SIMPLE
109
110/* define this if the unit can be powered or charged via USB */
111#define HAVE_USB_POWER
112
113#ifndef SIMULATOR
114
115/* Define this if you have a PortalPlayer PP5020 */
116#define CONFIG_CPU PP5020
117
118/* Define this if you want to use the PP5020 i2c interface */
119#define CONFIG_I2C I2C_PP5020
120
121/* define this if the hardware can be powered off while charging */
122#define HAVE_POWEROFF_WHILE_CHARGING
123
124/* The start address index for ROM builds */
125#define ROM_START 0x00000000
126
127/* The size of the flash ROM */
128#define FLASH_SIZE 0x100000
129
130/* Define this to the CPU frequency */
131/* TODO: this is probably wrong */
132#define CPU_FREQ 75000000
133
134/* Type of LCD */
135#define CONFIG_LCD LCD_H10_5GB
136
137/* We're able to shut off power to the HDD */
138#define HAVE_ATA_POWER_OFF
139
140/* Offset ( in the firmware file's header ) to the file length */
141#define FIRMWARE_OFFSET_FILE_LENGTH 0x8
142
143/* Offset ( in the firmware file's header ) to the file CRC and data. These are
144 only used when loading the old format rockbox.h10 file */
145#define FIRMWARE_OFFSET_FILE_CRC 0x0
146#define FIRMWARE_OFFSET_FILE_DATA 0x8
147
148/* USB On-the-go */
149#define CONFIG_USBOTG USBOTG_ARC
150
151/* enable these for the experimental usb stack */
152#define HAVE_USBSTACK
153#define USE_ROCKBOX_USB
154#define USB_VENDOR_ID 0x0B70
155#define USB_PRODUCT_ID 0x00BA
156
157/* Define this if you have adjustable CPU frequency */
158#define HAVE_ADJUSTABLE_CPU_FREQ
159
160#define MI4_FORMAT
161#define BOOTFILE_EXT "mi4"
162#define BOOTFILE "rockbox." BOOTFILE_EXT
163#define BOOTDIR "/.rockbox"
164
165#define ICODE_ATTR_TREMOR_NOT_MDCT
166
167#endif
diff --git a/firmware/export/config/iriverh120.h b/firmware/export/config/iriverh120.h
new file mode 100644
index 0000000000..da75c60ecf
--- /dev/null
+++ b/firmware/export/config/iriverh120.h
@@ -0,0 +1,214 @@
1#define TARGET_TREE /* this target is using the target tree system */
2/*
3 * This config file is for iriver H120 and H140
4 */
5#define IRIVER_H100_SERIES 1
6
7#define MODEL_NAME "iriver H120/H140"
8
9/* For Rolo and boot loader */
10#define MODEL_NUMBER 0
11
12/* define this if you use an ATA controller */
13#define CONFIG_STORAGE STORAGE_ATA
14
15/* define this if you have a bitmap LCD display */
16#define HAVE_LCD_BITMAP
17
18/* define this if you want album art for this target */
19#define HAVE_ALBUMART
20
21/* define this to enable bitmap scaling */
22#define HAVE_BMP_SCALING
23
24/* define this to enable JPEG decoding */
25#define HAVE_JPEG
26
27/* define this if you can flip your LCD */
28#define HAVE_LCD_FLIP
29
30/* define this if you can invert the colours on your LCD */
31#define HAVE_LCD_INVERT
32
33/* define this if you have access to the quickscreen */
34#define HAVE_QUICKSCREEN
35/* define this if you have access to the pitchscreen */
36#define HAVE_PITCHSCREEN
37
38/* define this if you would like tagcache to build on this target */
39#define HAVE_TAGCACHE
40
41/* LCD dimensions */
42#define LCD_WIDTH 160
43#define LCD_HEIGHT 128
44#define LCD_DEPTH 2
45
46#define LCD_PIXELFORMAT VERTICAL_PACKING
47
48/* Display colours, for screenshots and sim (0xRRGGBB) */
49#define LCD_DARKCOLOR 0x000000
50#define LCD_BRIGHTCOLOR 0x5a915a
51#define LCD_BL_DARKCOLOR 0x000000
52#define LCD_BL_BRIGHTCOLOR 0xadd8e6
53
54/* remote LCD */
55#define LCD_REMOTE_WIDTH 128
56#define LCD_REMOTE_HEIGHT 64
57#define LCD_REMOTE_DEPTH 1
58
59#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
60
61/* Remote display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_REMOTE_DARKCOLOR 0x000000
63#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
64#define LCD_REMOTE_BL_DARKCOLOR 0x000000
65#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
66
67#define CONFIG_KEYPAD IRIVER_H100_PAD
68
69#define CONFIG_REMOTE_KEYPAD H100_REMOTE
70
71/* Define this if you do software codec */
72#define CONFIG_CODEC SWCODEC
73
74/* define this if you have a disk storage, i.e. something
75 that needs spinups and can cause skips when shaked */
76#define HAVE_DISK_STORAGE
77
78/* Define this if you have an remote lcd */
79#define HAVE_REMOTE_LCD
80
81/* Define if we have a hardware defect that causes ticking on the audio line */
82#define HAVE_REMOTE_LCD_TICKING
83
84#define CONFIG_LCD LCD_S1D15E06
85
86/* Define this for LCD backlight available */
87#define HAVE_BACKLIGHT
88
89/* We can fade the backlight by using PWM */
90#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
91
92/* Define this if you have a software controlled poweroff */
93#define HAVE_SW_POWEROFF
94
95/* The number of bytes reserved for loadable codecs */
96#define CODEC_SIZE 0x100000
97
98/* The number of bytes reserved for loadable plugins */
99#define PLUGIN_BUFFER_SIZE 0x80000
100
101#define AB_REPEAT_ENABLE 1
102
103#define CONFIG_TUNER TEA5767
104#define CONFIG_TUNER_XTAL 32768
105
106#define HAVE_UDA1380
107
108/* define this if you have recording possibility */
109#define HAVE_RECORDING
110
111/* Define bitmask of input sources - recordable bitmask can be defined
112 explicitly if different */
113#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
114 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
115
116/* define hardware samples rate caps mask */
117#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
118
119/* define the bitmask of recording sample rates */
120#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
121
122#define HAVE_AGC
123
124#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
125#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
126#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
127#define BATTERY_CAPACITY_INC 50 /* capacity increment */
128#define BATTERY_TYPES_COUNT 1 /* only one type */
129
130/* Hardware controlled charging */
131#define CONFIG_CHARGING CHARGING_SIMPLE
132
133/* define current usage levels */
134#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */
135#define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */
136#define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */
137#define CURRENT_RECORD 105 /* additional current while recording */
138#define CURRENT_REMOTE 8 /* additional current when remote connected */
139
140#ifndef SIMULATOR
141
142/* Define this if you have a Motorola SCF5249 */
143#define CONFIG_CPU MCF5249
144
145/* Define this if you want to use coldfire's i2c interface */
146#define CONFIG_I2C I2C_COLDFIRE
147
148/* Define this if you can run rockbox from flash memory */
149#define HAVE_FLASHED_ROCKBOX
150
151/* define this if the hardware can be powered off while charging */
152#define HAVE_POWEROFF_WHILE_CHARGING
153
154/* The size of the flash ROM */
155#define FLASH_SIZE 0x200000
156
157/* Define this to the CPU frequency */
158#define CPU_FREQ 11289600
159
160/* Define this if you have ATA power-off control */
161#define HAVE_ATA_POWER_OFF
162
163/* Offset ( in the firmware file's header ) to the file CRC */
164#define FIRMWARE_OFFSET_FILE_CRC 0
165
166/* Offset ( in the firmware file's header ) to the real data */
167#define FIRMWARE_OFFSET_FILE_DATA 8
168
169#define HAVE_ATA_LED_CTRL
170
171/* Define this if you have adjustable CPU frequency */
172#define HAVE_ADJUSTABLE_CPU_FREQ
173
174#define BOOTFILE_EXT "iriver"
175#define BOOTFILE "rockbox." BOOTFILE_EXT
176#define BOOTDIR "/.rockbox"
177
178#define BOOTLOADER_ENTRYPOINT 0x001F0000
179#define FLASH_RAMIMAGE_ENTRY 0x00001000
180#define FLASH_ROMIMAGE_ENTRY 0x00100000
181#define FLASH_MAGIC 0xfbfbfbf2
182
183/* Define this if there is an EEPROM chip */
184#define HAVE_EEPROM
185
186/* Define this if the EEPROM chip is used */
187#define HAVE_EEPROM_SETTINGS
188
189#endif /* !SIMULATOR */
190
191/* Define this for S/PDIF output available */
192#define HAVE_SPDIF_OUT
193
194/* Define this if you can control the S/PDIF power */
195#define HAVE_SPDIF_POWER
196
197/* Define this if you have a serial port */
198/*#define HAVE_SERIAL*/
199
200/** Port-specific settings **/
201
202#define HAVE_LCD_CONTRAST
203
204/* Main LCD backlight brightness range and defaults */
205#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
206#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
207#define DEFAULT_CONTRAST_SETTING 27
208
209/* Remote LCD contrast range and defaults */
210#define MIN_REMOTE_CONTRAST_SETTING 5
211#define MAX_REMOTE_CONTRAST_SETTING 63
212#define DEFAULT_REMOTE_CONTRAST_SETTING 42
213
214#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
new file mode 100644
index 0000000000..9fad6cc503
--- /dev/null
+++ b/firmware/export/config/iriverh300.h
@@ -0,0 +1,205 @@
1#define TARGET_TREE /* this target is using the target tree system */
2/*
3 * This config file is for iriver H320, H340
4 */
5#define IRIVER_H300_SERIES 1
6
7#define MODEL_NAME "iriver H300 series"
8
9/* For Rolo and boot loader */
10#define MODEL_NUMBER 2
11
12/* define this if you use an ATA controller */
13#define CONFIG_STORAGE STORAGE_ATA
14
15/* define this if you have a bitmap LCD display */
16#define HAVE_LCD_BITMAP
17
18/* define this if you have a colour LCD */
19#define HAVE_LCD_COLOR
20
21/* define this if you want album art for this target */
22#define HAVE_ALBUMART
23
24/* define this to enable bitmap scaling */
25#define HAVE_BMP_SCALING
26
27/* define this to enable JPEG decoding */
28#define HAVE_JPEG
29
30/* define this if you can flip your LCD */
31#define HAVE_LCD_FLIP
32
33/* define this if you have access to the quickscreen */
34#define HAVE_QUICKSCREEN
35/* define this if you have access to the pitchscreen */
36#define HAVE_PITCHSCREEN
37
38/* define this if you would like tagcache to build on this target */
39#define HAVE_TAGCACHE
40
41/* LCD dimensions */
42#define LCD_WIDTH 220
43#define LCD_HEIGHT 176
44#define LCD_DEPTH 16 /* 65k colours */
45#define LCD_PIXELFORMAT RGB565 /* rgb565 */
46
47/* remote LCD */
48#define LCD_REMOTE_WIDTH 128
49#define LCD_REMOTE_HEIGHT 64
50#define LCD_REMOTE_DEPTH 1
51
52#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
53
54/* Remote display colours, for screenshots and sim (0xRRGGBB) */
55#define LCD_REMOTE_DARKCOLOR 0x000000
56#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
57#define LCD_REMOTE_BL_DARKCOLOR 0x000000
58#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
59
60#define CONFIG_KEYPAD IRIVER_H300_PAD
61
62#define CONFIG_REMOTE_KEYPAD H300_REMOTE
63
64/* Define this if you do software codec */
65#define CONFIG_CODEC SWCODEC
66
67/* define this if you have a real-time clock */
68#define CONFIG_RTC RTC_PCF50606
69
70/* define this if you have a disk storage, i.e. something
71 that needs spinups and can cause skips when shaked */
72#define HAVE_DISK_STORAGE
73
74/* Define this if you have an remote lcd */
75#define HAVE_REMOTE_LCD
76
77/* Define if we have a hardware defect that causes ticking on the audio line */
78#define HAVE_REMOTE_LCD_TICKING
79
80/* Define this for LCD backlight available */
81#define HAVE_BACKLIGHT
82#define HAVE_BACKLIGHT_BRIGHTNESS
83/* Which backlight fading type? */
84#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
85/* Define this if your LCD can be enabled/disabled */
86#define HAVE_LCD_ENABLE
87
88/* Define this if you have a software controlled poweroff */
89#define HAVE_SW_POWEROFF
90
91/* The number of bytes reserved for loadable codecs */
92#define CODEC_SIZE 0x100000
93
94/* The number of bytes reserved for loadable plugins */
95#define PLUGIN_BUFFER_SIZE 0x80000
96
97#define AB_REPEAT_ENABLE 1
98
99#define CONFIG_TUNER TEA5767
100#define CONFIG_TUNER_XTAL 32768
101
102#define HAVE_UDA1380
103
104/* define this if you have recording possibility */
105#define HAVE_RECORDING
106
107/* Define bitmask of input sources - recordable bitmask can be defined
108 explicitly if different */
109#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
110
111/* define hardware samples rate caps mask */
112#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
113
114/* define the bitmask of recording sample rates */
115#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
116
117#define HAVE_AGC
118
119#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
120#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
121#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
122#define BATTERY_CAPACITY_INC 50 /* capacity increment */
123#define BATTERY_TYPES_COUNT 1 /* only one type */
124
125/* Hardware controlled charging with monitoring */
126#define CONFIG_CHARGING CHARGING_MONITOR
127
128/* define this if the unit can be powered or charged via USB */
129#define HAVE_USB_POWER
130
131/* define current usage levels */
132#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery from IriverRuntime wiki page */
133#define CURRENT_BACKLIGHT 23 /* FIXME: This needs to be measured, copied from H100 */
134#define CURRENT_RECORD 110 /* additional current while recording */
135#define CURRENT_MAX_CHG 650 /* maximum charging current */
136#define CURRENT_REMOTE 8 /* additional current when remote connected */
137
138/* define this if the unit can have USB charging disabled by user -
139 * if USB/MAIN power is discernable and hardware doesn't compel charging */
140#define HAVE_USB_CHARGING_ENABLE
141
142#ifndef SIMULATOR
143
144/* Define this if you have a Motorola SCF5249 */
145#define CONFIG_CPU MCF5249
146
147/* Define this if you want to use coldfire's i2c interface */
148#define CONFIG_I2C I2C_COLDFIRE
149
150/* The size of the flash ROM */
151#define FLASH_SIZE 0x400000
152
153/* Define this to the CPU frequency */
154#define CPU_FREQ 11289600
155
156/* Define this if you have ATA power-off control */
157#define HAVE_ATA_POWER_OFF
158
159#define CONFIG_LCD LCD_H300
160
161/* Offset ( in the firmware file's header ) to the file CRC */
162#define FIRMWARE_OFFSET_FILE_CRC 0
163
164/* Offset ( in the firmware file's header ) to the real data */
165#define FIRMWARE_OFFSET_FILE_DATA 8
166
167/* USB On-the-go */
168#define CONFIG_USBOTG USBOTG_ISP1362
169
170/* Define this if you have adjustable CPU frequency */
171#define HAVE_ADJUSTABLE_CPU_FREQ
172
173#define BOOTFILE_EXT "iriver"
174#define BOOTFILE "rockbox." BOOTFILE_EXT
175#define BOOTDIR "/.rockbox"
176
177#define BOOTLOADER_ENTRYPOINT 0x001F0000
178#define FLASH_ENTRYPOINT 0x00001000
179#define FLASH_MAGIC 0xfbfbfbf1
180
181/* Define this if there is an EEPROM chip */
182#define HAVE_EEPROM
183
184#endif /* SIMULATOR */
185
186/* Define this for FM radio input available */
187#define HAVE_FMRADIO_IN
188
189/** Port-specific settings **/
190
191/* Main LCD contrast range and defaults */
192#define MIN_CONTRAST_SETTING 5
193#define MAX_CONTRAST_SETTING 63
194#define DEFAULT_CONTRAST_SETTING 40
195
196/* Main LCD backlight brightness range and defaults */
197/* accepts 0..15 but note that 0 and 1 give a black display on H300! */
198#define MIN_BRIGHTNESS_SETTING 2 /* 2/16 (12.50%) */
199#define MAX_BRIGHTNESS_SETTING 15 /* 15/16 (93.75%) */
200#define DEFAULT_BRIGHTNESS_SETTING 9 /* 9/16 (56.25%) */
201
202/* Remote LCD contrast range and defaults */
203#define MIN_REMOTE_CONTRAST_SETTING 5
204#define MAX_REMOTE_CONTRAST_SETTING 63
205#define DEFAULT_REMOTE_CONTRAST_SETTING 42
diff --git a/firmware/export/config/iriverifp7xx.h b/firmware/export/config/iriverifp7xx.h
new file mode 100644
index 0000000000..901f78f0ea
--- /dev/null
+++ b/firmware/export/config/iriverifp7xx.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
diff --git a/firmware/export/config/logikdax.h b/firmware/export/config/logikdax.h
new file mode 100644
index 0000000000..8cfbbd8bd8
--- /dev/null
+++ b/firmware/export/config/logikdax.h
@@ -0,0 +1,150 @@
1/*
2 * This config file is for the Logik DAX MP3/DAB
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 33
8
9#define MODEL_NAME "Logik DAX MP3/DAB"
10
11/* define this if you have recording possibility */
12//#define HAVE_RECORDING
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
17
18#if 0 /* Enable for USB driver test */
19#define HAVE_USBSTACK
20#define USB_VENDOR_ID 0x13d1
21#define USB_PRODUCT_ID 0x1002
22#endif
23
24
25/* define this if you have a bitmap LCD display */
26#define HAVE_LCD_BITMAP
27
28/* define this if you can flip your LCD */
29#define HAVE_LCD_FLIP
30
31/* define this if you can invert the colours on your LCD */
32#define HAVE_LCD_INVERT
33
34/* define this if you have access to the quickscreen */
35#define HAVE_QUICKSCREEN
36/* define this if you have access to the pitchscreen */
37#define HAVE_PITCHSCREEN
38
39/* define this if you would like tagcache to build on this target */
40#define HAVE_TAGCACHE
41
42#define HAVE_FAT16SUPPORT
43
44/* define this if you have a flash memory storage */
45#define HAVE_FLASH_STORAGE
46
47#define CONFIG_STORAGE STORAGE_NAND
48
49#define CONFIG_NAND NAND_TCC
50
51/* LCD dimensions */
52#define LCD_WIDTH 128
53#define LCD_HEIGHT 64
54#define LCD_DEPTH 1
55
56#define LCD_PIXELFORMAT VERTICAL_PACKING
57
58/* Display colours, for screenshots and sim (0xRRGGBB) */
59#define LCD_DARKCOLOR 0x000000
60#define LCD_BRIGHTCOLOR 0x5a915a
61#define LCD_BL_DARKCOLOR 0x000000
62#define LCD_BL_BRIGHTCOLOR 0x82b4fa
63
64/* define this to indicate your device's keypad */
65#define CONFIG_KEYPAD LOGIK_DAX_PAD
66
67/* define this if you have a real-time clock */
68#define CONFIG_RTC RTC_TCC77X
69
70/* define this if you have RTC RAM available for settings */
71//#define HAVE_RTC_RAM
72
73/* Define this if you have a software controlled poweroff */
74#define HAVE_SW_POWEROFF
75
76/* The number of bytes reserved for loadable codecs */
77#define CODEC_SIZE 0x38000
78
79/* The number of bytes reserved for loadable plugins */
80#define PLUGIN_BUFFER_SIZE 0x10000
81
82#define AB_REPEAT_ENABLE 1
83
84/* Define this if you do software codec */
85#define CONFIG_CODEC SWCODEC
86
87/* The DAX uses built-in WM8731 codec */
88#define HAVE_WM8731
89/* Codec is slave on serial bus */
90#define CODEC_SLAVE
91
92/* Define this for LCD backlight available */
93#define HAVE_BACKLIGHT
94
95#define CONFIG_I2C I2C_TCC77X
96
97#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
98#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
99#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
100#define BATTERY_CAPACITY_INC 50 /* capacity increment */
101#define BATTERY_TYPES_COUNT 1 /* only one type */
102
103/* define this if the unit should not shut down on low battery. */
104#define NO_LOW_BATTERY_SHUTDOWN
105
106#ifndef SIMULATOR
107
108/* Define this if you have a TCC773L */
109#define CONFIG_CPU TCC773L
110
111/* Define this if you have ATA power-off control */
112#define HAVE_ATA_POWER_OFF
113
114#define HAVE_FAT16SUPPORT
115
116/* Define this to the CPU frequency */
117#define CPU_FREQ 120000000
118
119/* Offset ( in the firmware file's header ) to the file length */
120#define FIRMWARE_OFFSET_FILE_LENGTH 0
121
122/* Offset ( in the firmware file's header ) to the file CRC */
123#define FIRMWARE_OFFSET_FILE_CRC 4
124
125/* Offset ( in the firmware file's header ) to the real data */
126#define FIRMWARE_OFFSET_FILE_DATA 6
127
128/* The start address index for ROM builds */
129/* #define ROM_START 0x11010 for behind original Archos */
130#define ROM_START 0x7010 /* for behind BootBox */
131
132#define CONFIG_LCD LCD_SSD1815
133
134#define BOOTFILE_EXT "logik"
135#define BOOTFILE "rockbox." BOOTFILE_EXT
136#define BOOTDIR "/"
137
138#define IBSS_ATTR_VOICE_STACK
139#define ICODE_ATTR_TREMOR_NOT_MDCT
140#define ICODE_ATTR_TREMOR_MDCT
141#define ICODE_ATTR_FLAC
142#define IBSS_ATTR_FLAC_DECODED0
143#define ICONST_ATTR_MPA_HUFFMAN
144#define IBSS_ATTR_MPC_SAMPLE_BUF
145#define ICODE_ATTR_ALAC
146#define IBSS_ATTR_SHORTEN_DECODED0
147
148#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
149
150#endif /* SIMULATOR */
diff --git a/firmware/export/config/lyreproto1.h b/firmware/export/config/lyreproto1.h
new file mode 100644
index 0000000000..d157f5be2d
--- /dev/null
+++ b/firmware/export/config/lyreproto1.h
@@ -0,0 +1,106 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 *
10 * Copyright (C) 2009 by Jorge Pinto
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Lyre prototype 1.
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x20000000
28
29/* For Rolo and boot loader */
30#define MODEL_NUMBER 130
31
32/* define this if the flash memory uses the
33 * SecureDigital Memory Card protocol */
34#define CONFIG_STORAGE STORAGE_SD
35#define HAVE_FLASH_STORAGE
36
37/* define this if you have a bitmap LCD display */
38#define HAVE_LCD_BITMAP
39
40/* define this if you have a colour LCD */
41#define HAVE_LCD_COLOR
42
43#define CONFIG_LCD LCD_LYRE_PROTO1
44
45/* LCD dimensions */
46#define LCD_WIDTH 128
47#define LCD_HEIGHT 128
48/* The LCD used is just rgb444, 64 colours. We do a bit conversion on LCD
49 * drivers. */
50#define LCD_DEPTH 16 /* 65536 colours */
51#define LCD_PIXELFORMAT RGB565 /* rgb565 */
52
53#define HAVE_ALBUMART
54
55/* define this to enable bitmap scaling */
56#define HAVE_BMP_SCALING
57
58/* define this to enable JPEG decoding */
59#define HAVE_JPEG
60
61#define CONFIG_KEYPAD LYRE_PROTO1_PAD
62
63/* Define this if you do software codec */
64#define CONFIG_CODEC SWCODEC
65
66/* The number of bytes reserved for loadable codecs */
67#define CODEC_SIZE 0x100000
68
69/* The number of bytes reserved for loadable plugins */
70#define PLUGIN_BUFFER_SIZE 0x100000
71
72/* Lyre prototype 1 do not use I2C, just SPI */
73#define CONFIG_I2C I2C_NONE
74
75/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
76#define HAVE_TLV320
77
78/* TLV320 has no tone controls, so we use the software ones */
79#define HAVE_SW_TONE_CONTROLS
80
81#define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
82#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
83#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
84#define BATTERY_CAPACITY_INC 100 /* capacity increment */
85#define BATTERY_TYPES_COUNT 1 /* only one type */
86
87#ifndef SIMULATOR
88
89#define CONFIG_CPU AT91SAM9260
90
91/* Define this to the CPU frequency */
92#define CPU_FREQ 198656000
93#define MCK_FREQ 99328000
94#define SLOW_CLOCK 32768
95
96/* Offset ( in the firmware file's header ) to the file CRC */
97#define FIRMWARE_OFFSET_FILE_CRC 0
98
99/* Offset ( in the firmware file's header ) to the real data */
100#define FIRMWARE_OFFSET_FILE_DATA 8
101
102#define BOOTFILE_EXT "lyre_proto1"
103#define BOOTFILE "rockbox." BOOTFILE_EXT
104#define BOOTDIR "/.rockbox"
105
106#endif
diff --git a/firmware/export/config/meizum3.h b/firmware/export/config/meizum3.h
new file mode 100644
index 0000000000..7da1759a61
--- /dev/null
+++ b/firmware/export/config/meizum3.h
@@ -0,0 +1,181 @@
1/*
2 * This config file is for Meizu M3
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 39
8
9#define MODEL_NAME "Meizu M3"
10
11/* define this if you have recording possibility */
12//#define HAVE_RECORDING
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
20
21/* define the bitmask of recording sample rates */
22#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define this if you have a bitmap LCD display */
25#define HAVE_LCD_BITMAP
26
27/* define this if you can flip your LCD */
28//#define HAVE_LCD_FLIP
29
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33/* define this if you want album art for this target */
34#define HAVE_ALBUMART
35
36/* define this to enable bitmap scaling */
37#define HAVE_BMP_SCALING
38
39/* define this to enable JPEG decoding */
40#define HAVE_JPEG
41
42/* define this if you can invert the colours on your LCD */
43//#define HAVE_LCD_INVERT
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* define this if you have a flash memory storage */
55#define HAVE_FLASH_STORAGE
56
57#define CONFIG_STORAGE STORAGE_NAND
58
59#define CONFIG_NAND NAND_SAMSUNG
60
61/* LCD dimensions */
62#define LCD_WIDTH 176
63#define LCD_HEIGHT 132
64#define LCD_DEPTH 16 /* pseudo 262.144 colors */
65#define LCD_PIXELFORMAT RGB565 /* rgb565 */
66
67/* Define this if your LCD can be enabled/disabled */
68//#define HAVE_LCD_ENABLE
69
70/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
71 should be defined as well. */
72//#define HAVE_LCD_SLEEP
73
74#define CONFIG_KEYPAD MEIZU_M3_PAD
75
76//#define AB_REPEAT_ENABLE 1
77//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83//#define CONFIG_RTC RTC_S5L8700
84#define CONFIG_RTC RTC_S35390A
85
86#define CONFIG_LCD LCD_MEIZUM6
87
88/* Define the type of audio codec */
89#define HAVE_UDA1380
90
91/* Define this for LCD backlight available */
92#define HAVE_BACKLIGHT
93#define HAVE_BACKLIGHT_BRIGHTNESS
94
95/* Define this if you have a software controlled poweroff */
96#define HAVE_SW_POWEROFF
97
98/* The number of bytes reserved for loadable codecs */
99#define CODEC_SIZE 0x100000
100
101/* The number of bytes reserved for loadable plugins */
102#define PLUGIN_BUFFER_SIZE 0x80000
103
104/* FM Tuner */
105#define CONFIG_TUNER TEA5760
106#define CONFIG_TUNER_XTAL 32768
107
108//#define HAVE_TLV320
109
110/* TLV320 has no tone controls, so we use the software ones */
111#define HAVE_SW_TONE_CONTROLS
112
113#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
114#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
115#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
116#define BATTERY_CAPACITY_INC 50 /* capacity increment */
117#define BATTERY_TYPES_COUNT 1 /* only one type */
118
119/* Hardware controlled charging, software can monitor plug and charge state */
120#define CONFIG_CHARGING CHARGING_MONITOR
121
122#ifndef SIMULATOR
123
124/* Define this if your LCD can set contrast */
125//#define HAVE_LCD_CONTRAST
126
127/* Define this if you have a Motorola SCF5250 */
128#define CONFIG_CPU S5L8700
129
130/* Define this if you want to use coldfire's i2c interface */
131#define CONFIG_I2C I2C_S5L8700
132
133/* define this if the hardware can be powered off while charging */
134#define HAVE_POWEROFF_WHILE_CHARGING
135
136/* The size of the flash ROM */
137#define FLASH_SIZE 0x400000
138
139/* Define this to the CPU frequency */
140#define CPU_FREQ 11289600
141
142/* Define this if you have ATA power-off control */
143//#define HAVE_ATA_POWER_OFF
144
145/* Offset ( in the firmware file's header ) to the file CRC */
146#define FIRMWARE_OFFSET_FILE_CRC 0
147
148/* Offset ( in the firmware file's header ) to the real data */
149#define FIRMWARE_OFFSET_FILE_DATA 8
150
151/* USB On-the-go */
152//#define CONFIG_USBOTG USBOTG_M5636
153
154/* Define this if you have adjustable CPU frequency */
155#define HAVE_ADJUSTABLE_CPU_FREQ
156
157#define BOOTFILE_EXT "meizu"
158#define BOOTFILE "rockbox." BOOTFILE_EXT
159#define BOOTDIR "/.rockbox"
160
161#define BOOTLOADER_ENTRYPOINT 0x001F0000
162#define FLASH_ENTRYPOINT 0x00001000
163#define FLASH_MAGIC 0xfbfbfbf1
164
165#endif /* SIMULATOR */
166
167/* Define this for FM radio input available */
168#define HAVE_FMRADIO_IN
169
170/** Port-specific settings **/
171
172/* Main LCD contrast range and defaults */
173#define MIN_CONTRAST_SETTING 1
174#define MAX_CONTRAST_SETTING 30
175#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
176
177/* Main LCD backlight brightness range and defaults */
178#define MIN_BRIGHTNESS_SETTING 0
179#define MAX_BRIGHTNESS_SETTING 15
180#define DEFAULT_BRIGHTNESS_SETTING 10
181
diff --git a/firmware/export/config/meizum6sl.h b/firmware/export/config/meizum6sl.h
new file mode 100644
index 0000000000..033dc619a0
--- /dev/null
+++ b/firmware/export/config/meizum6sl.h
@@ -0,0 +1,182 @@
1/*
2 * This config file is for Meizu M6SL
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 38
8
9#define MODEL_NAME "Meizu M6SL"
10
11/* define this if you have recording possibility */
12//#define HAVE_RECORDING
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
20
21/* define the bitmask of recording sample rates */
22#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define this if you have a bitmap LCD display */
25#define HAVE_LCD_BITMAP
26
27/* define this if you can flip your LCD */
28//#define HAVE_LCD_FLIP
29
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33/* define this if you want album art for this target */
34#define HAVE_ALBUMART
35
36/* define this to enable bitmap scaling */
37#define HAVE_BMP_SCALING
38
39/* define this to enable JPEG decoding */
40#define HAVE_JPEG
41
42/* define this if you can invert the colours on your LCD */
43//#define HAVE_LCD_INVERT
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* define this if you have a flash memory storage */
55#define HAVE_FLASH_STORAGE
56
57#define CONFIG_STORAGE STORAGE_NAND
58
59#define CONFIG_NAND NAND_SAMSUNG
60
61/* LCD dimensions */
62#define LCD_WIDTH 320
63#define LCD_HEIGHT 240
64#define LCD_DEPTH 16 /* pseudo 262.144 colors */
65#define LCD_PIXELFORMAT RGB565 /* rgb565 */
66
67/* Define this if your LCD can be enabled/disabled */
68//#define HAVE_LCD_ENABLE
69
70/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
71 should be defined as well. */
72//#define HAVE_LCD_SLEEP
73
74#define CONFIG_KEYPAD MEIZU_M6SL_PAD
75
76//#define AB_REPEAT_ENABLE 1
77//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#define CONFIG_RTC RTC_S5L8700
84//#define CONFIG_RTC RTC_S35390A
85
86#define CONFIG_LCD LCD_MEIZUM6
87
88/* Define this if you have the WM8975 audio codec */
89#define HAVE_WM8751 //FIXME
90
91/* Define this for LCD backlight available */
92#define HAVE_BACKLIGHT
93#define HAVE_BACKLIGHT_BRIGHTNESS
94
95/* Define this if you have a software controlled poweroff */
96#define HAVE_SW_POWEROFF
97
98/* The number of bytes reserved for loadable codecs */
99#define CODEC_SIZE 0x100000
100
101/* The number of bytes reserved for loadable plugins */
102#define PLUGIN_BUFFER_SIZE 0x80000
103
104/* FM Tuner */
105#define CONFIG_TUNER TEA5760
106#define CONFIG_TUNER_XTAL 32768
107
108//#define HAVE_TLV320
109
110/* TLV320 has no tone controls, so we use the software ones */
111#define HAVE_SW_TONE_CONTROLS
112
113#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
114#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
115#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
116#define BATTERY_CAPACITY_INC 50 /* capacity increment */
117#define BATTERY_TYPES_COUNT 1 /* only one type */
118
119/* Hardware controlled charging? FIXME */
120#define CONFIG_CHARGING CHARGING_SIMPLE
121
122#ifndef SIMULATOR
123
124/* Define this if your LCD can set contrast */
125//#define HAVE_LCD_CONTRAST
126
127/* Define this if you have a Motorola SCF5250 */
128#define CONFIG_CPU S5L8700
129
130/* Define this if you want to use coldfire's i2c interface */
131#define CONFIG_I2C I2C_S5L8700
132
133/* define this if the hardware can be powered off while charging */
134#define HAVE_POWEROFF_WHILE_CHARGING
135
136/* The size of the flash ROM */
137#define FLASH_SIZE 0x400000
138
139/* Define this to the CPU frequency */
140#define CPU_FREQ 11289600
141
142/* Define this if you have ATA power-off control */
143//#define HAVE_ATA_POWER_OFF
144
145/* Offset ( in the firmware file's header ) to the file CRC */
146#define FIRMWARE_OFFSET_FILE_CRC 0
147
148/* Offset ( in the firmware file's header ) to the real data */
149#define FIRMWARE_OFFSET_FILE_DATA 8
150
151/* USB On-the-go */
152//#define CONFIG_USBOTG USBOTG_M5636
153
154/* Define this if you have adjustable CPU frequency */
155#define HAVE_ADJUSTABLE_CPU_FREQ
156
157#define BOOTFILE_EXT "meizu"
158#define BOOTFILE "rockbox." BOOTFILE_EXT
159#define BOOTDIR "/.rockbox"
160
161#define BOOTLOADER_ENTRYPOINT 0x001F0000
162#define FLASH_ENTRYPOINT 0x00001000
163#define FLASH_MAGIC 0xfbfbfbf1
164
165#endif /* SIMULATOR */
166
167/* Define this for FM radio input available */
168#define HAVE_FMRADIO_IN
169
170/** Port-specific settings **/
171
172/* Main LCD contrast range and defaults */
173#define MIN_CONTRAST_SETTING 1
174#define MAX_CONTRAST_SETTING 30
175#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
176
177/* Main LCD backlight brightness range and defaults */
178/* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */
179#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */
180#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */
181#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */
182
diff --git a/firmware/export/config/meizum6sp.h b/firmware/export/config/meizum6sp.h
new file mode 100644
index 0000000000..b5aad58667
--- /dev/null
+++ b/firmware/export/config/meizum6sp.h
@@ -0,0 +1,182 @@
1/*
2 * This config file is for Meizu M6SP
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 37
8
9#define MODEL_NAME "Meizu M6SP"
10
11/* define this if you have recording possibility */
12//#define HAVE_RECORDING
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
20
21/* define the bitmask of recording sample rates */
22#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23
24/* define this if you have a bitmap LCD display */
25#define HAVE_LCD_BITMAP
26
27/* define this if you can flip your LCD */
28//#define HAVE_LCD_FLIP
29
30/* define this if you have a colour LCD */
31#define HAVE_LCD_COLOR
32
33/* define this if you want album art for this target */
34#define HAVE_ALBUMART
35
36/* define this to enable bitmap scaling */
37#define HAVE_BMP_SCALING
38
39/* define this to enable JPEG decoding */
40#define HAVE_JPEG
41
42/* define this if you can invert the colours on your LCD */
43//#define HAVE_LCD_INVERT
44
45/* define this if you have access to the quickscreen */
46#define HAVE_QUICKSCREEN
47
48/* define this if you have access to the pitchscreen */
49#define HAVE_PITCHSCREEN
50
51/* define this if you would like tagcache to build on this target */
52#define HAVE_TAGCACHE
53
54/* define this if you have a flash memory storage */
55#define HAVE_FLASH_STORAGE
56
57#define CONFIG_STORAGE STORAGE_NAND
58
59#define CONFIG_NAND NAND_SAMSUNG
60
61/* LCD dimensions */
62#define LCD_WIDTH 320
63#define LCD_HEIGHT 240
64#define LCD_DEPTH 16 /* pseudo 262.144 colors */
65#define LCD_PIXELFORMAT RGB565 /* rgb565 */
66
67/* Define this if your LCD can be enabled/disabled */
68//#define HAVE_LCD_ENABLE
69
70/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
71 should be defined as well. */
72//#define HAVE_LCD_SLEEP
73
74#define CONFIG_KEYPAD MEIZU_M6SP_PAD
75
76//#define AB_REPEAT_ENABLE 1
77//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#define CONFIG_RTC RTC_S5L8700
84//#define CONFIG_RTC RTC_S35390A
85
86#define CONFIG_LCD LCD_MEIZUM6
87
88/* Define this if you have the WM8975 audio codec */
89#define HAVE_WM8751 //FIXME
90
91/* Define this for LCD backlight available */
92#define HAVE_BACKLIGHT
93#define HAVE_BACKLIGHT_BRIGHTNESS
94
95/* Define this if you have a software controlled poweroff */
96#define HAVE_SW_POWEROFF
97
98/* The number of bytes reserved for loadable codecs */
99#define CODEC_SIZE 0x100000
100
101/* The number of bytes reserved for loadable plugins */
102#define PLUGIN_BUFFER_SIZE 0x80000
103
104/* FM Tuner */
105#define CONFIG_TUNER TEA5760
106#define CONFIG_TUNER_XTAL 32768
107
108//#define HAVE_TLV320
109
110/* TLV320 has no tone controls, so we use the software ones */
111#define HAVE_SW_TONE_CONTROLS
112
113#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */
114#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
115#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
116#define BATTERY_CAPACITY_INC 50 /* capacity increment */
117#define BATTERY_TYPES_COUNT 1 /* only one type */
118
119/* Hardware controlled charging? FIXME */
120#define CONFIG_CHARGING CHARGING_SIMPLE
121
122#ifndef SIMULATOR
123
124/* Define this if your LCD can set contrast */
125//#define HAVE_LCD_CONTRAST
126
127/* Define this if you have a Motorola SCF5250 */
128#define CONFIG_CPU S5L8700
129
130/* Define this if you want to use coldfire's i2c interface */
131#define CONFIG_I2C I2C_S5L8700
132
133/* define this if the hardware can be powered off while charging */
134#define HAVE_POWEROFF_WHILE_CHARGING
135
136/* The size of the flash ROM */
137#define FLASH_SIZE 0x400000
138
139/* Define this to the CPU frequency */
140#define CPU_FREQ 11289600
141
142/* Define this if you have ATA power-off control */
143//#define HAVE_ATA_POWER_OFF
144
145/* Offset ( in the firmware file's header ) to the file CRC */
146#define FIRMWARE_OFFSET_FILE_CRC 0
147
148/* Offset ( in the firmware file's header ) to the real data */
149#define FIRMWARE_OFFSET_FILE_DATA 8
150
151/* USB On-the-go */
152//#define CONFIG_USBOTG USBOTG_M5636
153
154/* Define this if you have adjustable CPU frequency */
155#define HAVE_ADJUSTABLE_CPU_FREQ
156
157#define BOOTFILE_EXT "meizu"
158#define BOOTFILE "rockbox." BOOTFILE_EXT
159#define BOOTDIR "/.rockbox"
160
161#define BOOTLOADER_ENTRYPOINT 0x001F0000
162#define FLASH_ENTRYPOINT 0x00001000
163#define FLASH_MAGIC 0xfbfbfbf1
164
165#endif /* SIMULATOR */
166
167/* Define this for FM radio input available */
168#define HAVE_FMRADIO_IN
169
170/** Port-specific settings **/
171
172/* Main LCD contrast range and defaults */
173#define MIN_CONTRAST_SETTING 1
174#define MAX_CONTRAST_SETTING 30
175#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
176
177/* Main LCD backlight brightness range and defaults */
178/* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */
179#define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */
180#define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */
181#define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */
182
diff --git a/firmware/export/config/mrobe100.h b/firmware/export/config/mrobe100.h
new file mode 100644
index 0000000000..4fdea149ae
--- /dev/null
+++ b/firmware/export/config/mrobe100.h
@@ -0,0 +1,201 @@
1/*
2 * This config file is for the Olympus m:robe MR-100
3 */
4
5#define TARGET_TREE
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 23
9#define MODEL_NAME "Olympus m:robe MR-100"
10
11/* define this if you use an ATA controller */
12#define CONFIG_STORAGE STORAGE_ATA
13
14/* define this if you have a bitmap LCD display */
15#define HAVE_LCD_BITMAP
16
17/* define this if you have access to the quickscreen */
18#define HAVE_QUICKSCREEN
19
20/* define this if you have access to the pitchscreen */
21#define HAVE_PITCHSCREEN
22
23/* define this if you would like tagcache to build on this target */
24#define HAVE_TAGCACHE
25
26/* LCD dimensions */
27#define LCD_WIDTH 160
28#define LCD_HEIGHT 128
29#define LCD_DEPTH 1
30
31#define LCD_PIXELFORMAT VERTICAL_PACKING
32#define HAVE_NEGATIVE_LCD /* bright on dark */
33
34/* Display colours, for screenshots and sim (0xRRGGBB) */
35#define LCD_DARKCOLOR 0x000000
36#define LCD_BRIGHTCOLOR 0x323232
37#define LCD_BL_DARKCOLOR 0x5e0202
38#define LCD_BL_BRIGHTCOLOR 0xf10603
39
40/* define this if you can flip your LCD */
41#define HAVE_LCD_FLIP
42
43/* define this if you can invert the colours on your LCD */
44#define HAVE_LCD_INVERT
45
46#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
47
48#ifndef BOOTLOADER
49/* Define this if you have an remote lcd */
50#define HAVE_REMOTE_LCD
51
52#define LCD_REMOTE_WIDTH 79
53#define LCD_REMOTE_HEIGHT 16
54#define LCD_REMOTE_DEPTH 1
55#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
56
57/* Remote display colours, for screenshots and sim (0xRRGGBB) */
58#define LCD_REMOTE_DARKCOLOR 0x000000
59#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
60#define LCD_REMOTE_BL_DARKCOLOR 0x000000
61#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
62#endif /* BOOTLOADER */
63
64#define CONFIG_KEYPAD MROBE100_PAD
65#define CONFIG_REMOTE_KEYPAD MROBE_REMOTE
66
67/* Define this if you do software codec */
68#define CONFIG_CODEC SWCODEC
69
70/* define this if you have a real-time clock */
71#ifndef BOOTLOADER
72#define CONFIG_RTC RTC_MR100
73#endif
74
75/* Define this if you have a software controlled poweroff */
76#define HAVE_SW_POWEROFF
77
78/* The number of bytes reserved for loadable codecs */
79#define CODEC_SIZE 0x100000
80
81/* The number of bytes reserved for loadable plugins */
82#define PLUGIN_BUFFER_SIZE 0x80000
83
84/* Wolfsom audio codec */
85#define HAVE_WM8751
86#define CODEC_SRCTRL_44100HZ (0x40|(0x11 << 1)|1)
87
88#define AB_REPEAT_ENABLE 1
89
90/* define this if you have a disk storage, i.e. something
91 that needs spinups and can cause skips when shaked */
92#define HAVE_DISK_STORAGE
93
94/* Define this for LCD backlight available */
95#define HAVE_BACKLIGHT
96
97/* We can fade the backlight by using PWM */
98#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
99
100/* Main LCD backlight brightness range and defaults */
101#define MIN_BRIGHTNESS_SETTING 1
102#define MAX_BRIGHTNESS_SETTING 12
103#define DEFAULT_BRIGHTNESS_SETTING 6
104
105/* define this if you have a light associated with the buttons */
106#define HAVE_BUTTON_LIGHT
107
108#define HAVE_BUTTONLIGHT_BRIGHTNESS
109
110/* Remote LCD contrast range and defaults */
111#define MIN_REMOTE_CONTRAST_SETTING 0
112#define MAX_REMOTE_CONTRAST_SETTING 15
113#define DEFAULT_REMOTE_CONTRAST_SETTING 8
114
115/* Define this if your LCD can be enabled/disabled */
116/* TODO: #define HAVE_LCD_ENABLE */
117
118/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
119 * should be defined as well.
120 * We can currently put the lcd to sleep but it won't wake up properly */
121/*TODO: #define HAVE_LCD_SLEEP*/
122/*TODO: #define HAVE_LCD_SLEEP_SETTING <= optional */
123
124#define BATTERY_CAPACITY_DEFAULT 720 /* default battery capacity */
125
126#ifndef SIMULATOR
127
128/* Define this if you have a PortalPlayer PP5020 */
129#define CONFIG_CPU PP5020
130
131/* Define this if you want to use the PP5020 i2c interface */
132#define CONFIG_I2C I2C_PP5020
133
134/* Type of mobile power */
135#define CONFIG_BATTERY BATT_LIION750
136#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
137#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
138#define BATTERY_CAPACITY_INC 0 /* capacity increment */
139#define BATTERY_TYPES_COUNT 1 /* only one type */
140
141/* Hardware controlled charging */
142#define CONFIG_CHARGING CHARGING_SIMPLE
143
144/* define this if the hardware can be powered off while charging */
145#define HAVE_POWEROFF_WHILE_CHARGING
146
147/* The start address index for ROM builds */
148#define ROM_START 0x00000000
149
150/* The size of the flash ROM */
151#define FLASH_SIZE 0x100000
152
153/* Define this to the CPU frequency */
154#define CPU_FREQ 75000000
155
156/* Type of LCD */
157#define CONFIG_LCD LCD_MROBE100
158
159/* Define this if your LCD can set contrast */
160#define HAVE_LCD_CONTRAST
161
162#define MIN_CONTRAST_SETTING 0
163#define MAX_CONTRAST_SETTING 40
164#define DEFAULT_CONTRAST_SETTING 20
165
166
167/* We're able to shut off power to the HDD */
168#define HAVE_ATA_POWER_OFF
169
170/* USB On-the-go */
171#define CONFIG_USBOTG USBOTG_ARC
172
173/* define this if the unit can be powered or charged via USB */
174#define HAVE_USB_POWER
175
176/* enable these for the experimental usb stack */
177#define HAVE_USBSTACK
178#define USE_ROCKBOX_USB
179#define USB_VENDOR_ID 0x07B4
180#define USB_PRODUCT_ID 0x0280
181
182/* Define this if you have adjustable CPU frequency */
183#define HAVE_ADJUSTABLE_CPU_FREQ
184
185/* Define this if you can detect headphones */
186#define HAVE_HEADPHONE_DETECTION
187
188#define MI4_FORMAT
189#define BOOTFILE_EXT "mi4"
190#define BOOTFILE "rockbox." BOOTFILE_EXT
191#define BOOTDIR "/.rockbox"
192
193/* Offset ( in the firmware file's header ) to the file CRC and data.
194 Not used for the mrobe 100, since it boots an mi4 file, but needed
195 for compatibility. */
196#define FIRMWARE_OFFSET_FILE_CRC 0x0
197#define FIRMWARE_OFFSET_FILE_DATA 0x0
198
199#define ICODE_ATTR_TREMOR_NOT_MDCT
200
201#endif
diff --git a/firmware/export/config/mrobe500.h b/firmware/export/config/mrobe500.h
new file mode 100644
index 0000000000..45733a644f
--- /dev/null
+++ b/firmware/export/config/mrobe500.h
@@ -0,0 +1,251 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2007 by Karl Kurbjun
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the M:Robe 500i
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define OLYMPUS_MROBE_500 1
30#define MODEL_NAME "Olympus M:Robe 500i"
31
32/* For Rolo and boot loader */
33#define MODEL_NUMBER 22
34
35/* define this if you use an ATA controller */
36#define CONFIG_STORAGE STORAGE_ATA
37
38/* Define this to add support for ATA DMA */
39//#define HAVE_ATA_DMA
40
41/* define this if you have a bitmap LCD display */
42#define HAVE_LCD_BITMAP
43
44/* define this if you have a colour LCD */
45#define HAVE_LCD_COLOR
46
47/* define this if you want album art for this target */
48#define HAVE_ALBUMART
49
50/* define this to enable bitmap scaling */
51#define HAVE_BMP_SCALING
52
53/* define this to enable JPEG decoding */
54#define HAVE_JPEG
55
56/* define this if you have access to the quickscreen */
57#define HAVE_QUICKSCREEN
58
59/* define this if you have access to the pitchscreen */
60#define HAVE_PITCHSCREEN
61
62/* define this if you would like tagcache to build on this target */
63#define HAVE_TAGCACHE
64
65/* define this if the target has volume keys which can be used in the lists */
66#define HAVE_VOLUME_IN_LIST
67
68/* LCD dimensions */
69#define CONFIG_LCD LCD_MROBE500
70
71/* These defines are used internal to this header */
72#define _LCD_RES_QVGA 1
73#define _LCD_RES_VGA 2
74#define _LCD_PORTRAIT 1
75#define _LCD_LANDSCAPE 2
76
77/* Setup the resolution and orientation */
78#define _RESOLUTION _LCD_RES_VGA
79#define _ORIENTATION _LCD_LANDSCAPE
80
81#if _RESOLUTION == _LCD_RES_VGA
82#define LCD_NATIVE_WIDTH 480
83#define LCD_NATIVE_HEIGHT 640
84#else
85#define LCD_NATIVE_WIDTH 240
86#define LCD_NATIVE_HEIGHT 320
87#endif
88
89/* choose the lcd orientation. CONFIG_ORIENTATION defined in config.h */
90#if _ORIENTATION == _LCD_PORTRAIT
91/* This is the Portrait setup */
92#define LCD_WIDTH LCD_NATIVE_WIDTH
93#define LCD_HEIGHT LCD_NATIVE_HEIGHT
94#else
95/* This is the Landscape setup */
96#define LCD_WIDTH LCD_NATIVE_HEIGHT
97#define LCD_HEIGHT LCD_NATIVE_WIDTH
98#endif
99
100#define LCD_DEPTH 16 /* 65k colours */
101#define LCD_PIXELFORMAT RGB565 /* rgb565 */
102
103#define MAX_ICON_HEIGHT 35
104#define MAX_ICON_WIDTH 35
105
106/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
107 should be defined as well. */
108#define HAVE_LCD_SLEEP
109#define HAVE_LCD_SLEEP_SETTING
110
111/* remote LCD */
112#define HAVE_REMOTE_LCD
113#define LCD_REMOTE_WIDTH 79
114#define LCD_REMOTE_HEIGHT 16
115#define LCD_REMOTE_DEPTH 1
116
117/* Remote display colours, for screenshots and sim (0xRRGGBB) */
118#define LCD_REMOTE_DARKCOLOR 0x000000
119#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
120#define LCD_REMOTE_BL_DARKCOLOR 0x000000
121#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
122
123#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
124
125#define CONFIG_REMOTE_KEYPAD MROBE_REMOTE
126
127#define MIN_REMOTE_CONTRAST_SETTING 0
128#define MAX_REMOTE_CONTRAST_SETTING 15
129#define DEFAULT_REMOTE_CONTRAST_SETTING 7
130
131#define CONFIG_KEYPAD MROBE500_PAD
132#define HAVE_TOUCHSCREEN
133#define HAVE_BUTTON_DATA
134
135/* define this if the target has volume keys which can be used in the lists */
136#define HAVE_VOLUME_IN_LIST
137
138/* Define this if you do software codec */
139#define CONFIG_CODEC SWCODEC
140
141//#define HAVE_HARDWARE_BEEP
142
143/* There is no hardware tone control */
144#define HAVE_SW_TONE_CONTROLS
145
146/* define this if you have a real-time clock */
147#define CONFIG_RTC RTC_RX5X348AB
148
149/* define this if you have a disk storage, i.e. something
150 that needs spinups and can cause skips when shaked */
151#define HAVE_DISK_STORAGE
152
153/* Define this for LCD backlight available */
154#define HAVE_BACKLIGHT
155
156#define HAVE_BACKLIGHT_BRIGHTNESS
157
158#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
159
160/* Main LCD backlight brightness range and defaults */
161#define MIN_BRIGHTNESS_SETTING 0
162#define MAX_BRIGHTNESS_SETTING 127
163#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
164#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
165
166/* Define this if you have a software controlled poweroff */
167#define HAVE_SW_POWEROFF
168
169/* The number of bytes reserved for loadable codecs */
170#define CODEC_SIZE 0x100000
171
172/* The number of bytes reserved for loadable plugins */
173#if LCD_NATIVE_WIDTH < 480
174#define PLUGIN_BUFFER_SIZE 0x100000
175#else
176/* THe larger screen needs larger bitmaps in plugins */
177#define PLUGIN_BUFFER_SIZE 0x200000
178#endif
179
180#define HW_SAMPR_CAPS SAMPR_CAP_44
181
182#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
183#define BATTERY_CAPACITY_MIN 1000 /* min. capacity selectable */
184#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
185#define BATTERY_CAPACITY_INC 100 /* capacity increment */
186#define BATTERY_TYPES_COUNT 1 /* only one type */
187
188/* define current usage levels */
189#define CURRENT_NORMAL 100 /* Measured */
190#define CURRENT_BACKLIGHT 100 /* Over 200 mA total measured when on */
191#define CURRENT_RECORD 0 /* no recording */
192
193/* Hardware controlled charging with monitoring */
194#define CONFIG_CHARGING CHARGING_MONITOR
195
196/* Define this if you have a Texas Instruments TSC2100 touch screen */
197#define HAVE_TSC2100
198
199#if !defined(SIMULATOR)
200
201/* M66591 register base */
202#define M66591_BASE 0x60000000
203
204/* enable these for the usb stack */
205#define CONFIG_USBOTG USBOTG_M66591
206#define USE_ROCKBOX_USB
207//#define USB_ENABLE_SERIAL
208#define HAVE_USBSTACK
209/* usb stack and driver settings */
210#define USB_NUM_ENDPOINTS 7
211#define USB_VENDOR_ID 0x07b4
212#define USB_PRODUCT_ID 0x0281
213
214/* Define this if hardware supports alternate blitting */
215#define HAVE_LCD_MODES LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256
216
217#define CONFIG_CPU DM320
218
219#define CONFIG_I2C I2C_DM320
220
221/* define this if the hardware can be powered off while charging */
222#define HAVE_POWEROFF_WHILE_CHARGING
223
224/* The size of the flash ROM */
225#define FLASH_SIZE 0x400000
226
227/* Define this to the CPU frequency */
228#define CPU_FREQ 87500000
229
230/* Define this if you have ATA power-off control */
231#define HAVE_ATA_POWER_OFF
232
233/* define this if the backlight can be set to a brightness */
234#define __BACKLIGHT_INIT
235
236/* Offset ( in the firmware file's header ) to the file CRC */
237#define FIRMWARE_OFFSET_FILE_CRC 0
238
239/* Offset ( in the firmware file's header ) to the real data */
240#define FIRMWARE_OFFSET_FILE_DATA 8
241
242/* Define this if you have adjustable CPU frequency */
243#define HAVE_ADJUSTABLE_CPU_FREQ
244
245#define BOOTFILE_EXT "mrobe500"
246#define BOOTFILE "rockbox." BOOTFILE_EXT
247#define BOOTDIR "/.rockbox"
248
249#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
250
251#endif
diff --git a/firmware/export/config/ondavx747.h b/firmware/export/config/ondavx747.h
new file mode 100644
index 0000000000..dee18663d1
--- /dev/null
+++ b/firmware/export/config/ondavx747.h
@@ -0,0 +1,220 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Onda VX747(+)/VX777
24 */
25
26#define TARGET_TREE /* this target is using the target tree system */
27
28#define CONFIG_SDRAM_START 0x80004000
29
30#ifdef ONDA_VX747P
31#define MODEL_NAME "Onda VX747+"
32#define MODEL_NUMBER 54
33/* Define something for camera interface... */
34#elif defined(ONDA_VX777)
35#define MODEL_NAME "Onda VX777"
36#define MODEL_NUMBER 61
37#else
38#define MODEL_NAME "Onda VX747"
39#define MODEL_NUMBER 45
40#endif
41
42/* Support FAT16 for SD cards <= 2GB */
43#define HAVE_FAT16SUPPORT
44
45/* ChinaChip NAND FTL */
46#define CONFIG_NAND NAND_CC
47
48/* define this if you have a bitmap LCD display */
49#define HAVE_LCD_BITMAP
50
51/* define this if you have a colour LCD */
52#define HAVE_LCD_COLOR
53
54/* define this if you want album art for this target */
55#define HAVE_ALBUMART
56
57/* define this to enable bitmap scaling */
58#define HAVE_BMP_SCALING
59
60/* define this to enable JPEG decoding */
61#define HAVE_JPEG
62
63/* define this if you have access to the quickscreen */
64#define HAVE_QUICKSCREEN
65
66/* define this if you have access to the pitchscreen */
67#define HAVE_PITCHSCREEN
68
69/* define this if you would like tagcache to build on this target */
70#define HAVE_TAGCACHE
71
72/* define this if the target has volume keys which can be used in the lists */
73//#define HAVE_VOLUME_IN_LIST
74
75/* LCD dimensions */
76#define CONFIG_LCD LCD_ONDAVX747
77
78#ifdef BOOTLOADER /* OF requires landscape */
79#define LCD_WIDTH 400
80#define LCD_HEIGHT 240
81#else
82#define LCD_WIDTH 240
83#define LCD_HEIGHT 400
84#endif
85
86#define LCD_DEPTH 16 /* 16bit colours */
87#define LCD_PIXELFORMAT RGB565 /* rgb565 */
88
89/* Define this if your LCD can be enabled/disabled */
90#define HAVE_LCD_ENABLE
91
92#ifdef ONDA_VX777
93#define CONFIG_KEYPAD ONDAVX777_PAD
94#else
95#define CONFIG_KEYPAD ONDAVX747_PAD
96#endif
97#define HAVE_TOUCHSCREEN
98#define HAVE_BUTTON_DATA
99
100/* Define this if you do software codec */
101#define CONFIG_CODEC SWCODEC
102
103/* define this if you have a real-time clock */
104#define CONFIG_RTC RTC_JZ47XX
105
106/* Tuner config */
107#define CONFIG_TUNER TEA5767
108#define CONFIG_TUNER_XTAL 32768
109
110/* Define this for LCD backlight available */
111#define HAVE_BACKLIGHT
112#define HAVE_BACKLIGHT_BRIGHTNESS
113
114/* Which backlight fading type? */
115#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG
116
117/* Main LCD backlight brightness range and defaults */
118#define MIN_BRIGHTNESS_SETTING 1
119#define MAX_BRIGHTNESS_SETTING 16
120#define DEFAULT_BRIGHTNESS_SETTING 16 /* "full brightness" */
121#define DEFAULT_DIMNESS_SETTING 1 /* "most dim" */
122
123/* Define this if you have a software controlled poweroff */
124#define HAVE_SW_POWEROFF
125
126/* The number of bytes reserved for loadable codecs */
127#define CODEC_SIZE 0x100000
128
129/* The number of bytes reserved for loadable plugins */
130#define PLUGIN_BUFFER_SIZE 0x100000
131
132/* Define this if you have the Jz4740 internal codec */
133#define HAVE_JZ4740_CODEC
134
135/* Define bitmask of input sources - recordable bitmask can be defined
136 explicitly if different */
137#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
138
139/* has no tone controls, so we use the software ones */
140#define HAVE_SW_TONE_CONTROLS
141
142/* has no volume control, so we use the software ones */
143#ifndef SIMULATOR
144#define HAVE_SW_VOLUME_CONTROL
145#endif
146
147/* software controlled volume ranges from -73 -> 0 dB, other than that
148 is controlled by hardware */
149#define SW_VOLUME_MIN -73
150#define SW_VOLUME_MAX 0
151
152/* define the bitmask of hardware sample rates */
153#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
154 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
155 SAMPR_CAP_12 | SAMPR_CAP_11 | SAMPR_CAP_8)
156
157#define CONFIG_I2C I2C_JZ47XX
158
159#define NEED_ADC_CLOSE 1
160
161#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
162#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
163#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
164#define BATTERY_CAPACITY_INC 100 /* capacity increment */
165#define BATTERY_TYPES_COUNT 1 /* only one type */
166
167/* Hardware controlled charging with monitoring */
168#define CONFIG_CHARGING CHARGING_MONITOR
169
170#define CFG_EXTAL 12000000 /* EXT clock: 12 Mhz */
171
172#ifndef SIMULATOR
173
174#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
175#define NUM_DRIVES 2
176
177/* Define this if media can be exchanged on the fly */
178//#define HAVE_HOTSWAP
179
180/* Define this if you have a Ingenic JZ4732 */
181#define CONFIG_CPU JZ4732
182
183/* define this if the hardware can be powered off while charging */
184#define HAVE_POWEROFF_WHILE_CHARGING
185
186/* Define this if you have a speaker */
187#define HAVE_SPEAKER
188
189/* Define this to the CPU frequency */
190#define CPU_FREQ 336000000 /* CPU clock: 336 MHz */
191
192/* define this if you have a flash memory storage */
193#define HAVE_FLASH_STORAGE
194
195/* Offset ( in the firmware file's header ) to the file CRC */
196#define FIRMWARE_OFFSET_FILE_CRC 0
197
198/* Offset ( in the firmware file's header ) to the real data */
199#define FIRMWARE_OFFSET_FILE_DATA 8
200
201/* Define this if you have adjustable CPU frequency */
202#define HAVE_ADJUSTABLE_CPU_FREQ
203
204#ifdef ONDA_VX747P
205#define BOOTFILE_EXT "vx747p"
206#elif defined(ONDA_VX777)
207#define BOOTFILE_EXT "vx777"
208#else
209#define BOOTFILE_EXT "vx747"
210#endif
211#define BOOTFILE "rockbox." BOOTFILE_EXT
212#define BOOTDIR "/.rockbox"
213
214#define CONFIG_USBOTG USBOTG_JZ4740
215#define HAVE_USBSTACK
216#define USE_ROCKBOX_USB
217#define USB_VENDOR_ID 0x07C4
218#define USB_PRODUCT_ID 0xA4A5
219
220#endif
diff --git a/firmware/export/config/ondavx767.h b/firmware/export/config/ondavx767.h
new file mode 100644
index 0000000000..5aa755bfa4
--- /dev/null
+++ b/firmware/export/config/ondavx767.h
@@ -0,0 +1,173 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Onda VX747
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x80004000
28
29#define ONDA_VX767 1
30
31#define MODEL_NAME "Onda VX767"
32
33/* For Rolo and boot loader */
34#define MODEL_NUMBER 64
35
36//#define HAVE_ATA_SD
37//#define HAVE_HOTSWAP
38
39//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
40#define CONFIG_STORAGE STORAGE_SD /* Multivolume currently handled at firmware/target/ level */
41
42#define CONFIG_NAND NAND_CC
43
44#define HAVE_MULTIDRIVE
45#define NUM_DRIVES 2
46
47/* define this if you have a bitmap LCD display */
48#define HAVE_LCD_BITMAP
49
50/* define this if you have a colour LCD */
51#define HAVE_LCD_COLOR
52
53/* define this if you have access to the quickscreen */
54#define HAVE_QUICKSCREEN
55
56/* define this if you have access to the pitchscreen */
57#define HAVE_PITCHSCREEN
58
59/* define this if you would like tagcache to build on this target */
60#define HAVE_TAGCACHE
61
62/* define this if the target has volume keys which can be used in the lists */
63#define HAVE_VOLUME_IN_LIST
64
65/* LCD dimensions */
66#define CONFIG_LCD LCD_ONDAVX767
67
68#define LCD_WIDTH 320
69#define LCD_HEIGHT 240
70
71#define LCD_DEPTH 16 /* 16bit colours */
72#define LCD_PIXELFORMAT RGB565 /* rgb565 */
73
74/* Define this if your LCD can be enabled/disabled */
75//#define HAVE_LCD_ENABLE
76
77#define CONFIG_KEYPAD ONDAVX767_PAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83#define CONFIG_RTC RTC_JZ47XX
84
85/* Define this for LCD backlight available */
86#define HAVE_BACKLIGHT
87
88#define HAVE_BACKLIGHT_BRIGHTNESS
89
90/* Main LCD backlight brightness range and defaults */
91#define MIN_BRIGHTNESS_SETTING 0 /* TODO */
92#define MAX_BRIGHTNESS_SETTING 127
93#define DEFAULT_BRIGHTNESS_SETTING 85
94#define DEFAULT_DIMNESS_SETTING 22
95
96/* Define this if you have a software controlled poweroff */
97#define HAVE_SW_POWEROFF
98
99/* The number of bytes reserved for loadable codecs */
100#define CODEC_SIZE 0x100000
101
102/* The number of bytes reserved for loadable plugins */
103#define PLUGIN_BUFFER_SIZE 0x100000
104
105/* Define this if you have the Jz4740 internal codec */
106#define HAVE_JZ4740_CODEC
107
108/* Define bitmask of input sources - recordable bitmask can be defined
109 explicitly if different */
110#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
111
112/* Tuner config */
113#define CONFIG_TUNER TEA5767
114#define CONFIG_TUNER_XTAL 32768
115
116/* Define this if you have a speaker */
117//#define HAVE_SPEAKER
118
119#define CONFIG_I2C I2C_JZ47XX
120
121/* TLV320 has no tone controls, so we use the software ones */
122//#define HAVE_SW_TONE_CONTROLS
123
124/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
125 SAMPR_CAP_11)*/
126
127#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
128#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
129#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
130#define BATTERY_CAPACITY_INC 100 /* capacity increment */
131#define BATTERY_TYPES_COUNT 1 /* only one type */
132
133/* Hardware controlled charging with monitoring */
134//#define CONFIG_CHARGING CHARGING_MONITOR
135
136#ifndef SIMULATOR
137
138/* Define this if you have a Ingenic JZ4740 */
139#define CONFIG_CPU JZ4732
140
141/* define this if the hardware can be powered off while charging */
142#define HAVE_POWEROFF_WHILE_CHARGING
143
144/* Define this to the CPU frequency */
145#define CPU_FREQ 336000000 /* CPU clock: 336 MHz */
146#define CFG_EXTAL 12000000 /* EXT clock: 12 Mhz */
147
148/* define this if you have a flash memory storage */
149#define HAVE_FLASH_STORAGE
150
151/* define this if the backlight can be set to a brightness */
152#define __BACKLIGHT_INIT
153
154/* Offset ( in the firmware file's header ) to the file CRC */
155#define FIRMWARE_OFFSET_FILE_CRC 0
156
157/* Offset ( in the firmware file's header ) to the real data */
158#define FIRMWARE_OFFSET_FILE_DATA 8
159
160/* Define this if you have adjustable CPU frequency */
161#define HAVE_ADJUSTABLE_CPU_FREQ
162
163#define BOOTFILE_EXT "vx767"
164#define BOOTFILE "rockbox." BOOTFILE_EXT
165#define BOOTDIR "/.rockbox"
166
167#define CONFIG_USBOTG USBOTG_JZ4740
168#define HAVE_USBSTACK
169#define USE_ROCKBOX_USB
170#define USB_VENDOR_ID 0x07C4
171#define USB_PRODUCT_ID 0xA4A5
172
173#endif
diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h
new file mode 100644
index 0000000000..4005ec0267
--- /dev/null
+++ b/firmware/export/config/samsungyh820.h
@@ -0,0 +1,188 @@
1/*
2 * This config file is for the Samsung YH-820
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 57
9#define MODEL_NAME "Samsung YH-820"
10
11/* define this if you have recording possibility */
12/* todo #define HAVE_RECORDING */
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN )
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
20 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
21 SAMPR_CAP_11 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates */
24#define REC_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
25 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
26 SAMPR_CAP_11 | SAMPR_CAP_8)
27
28/* Type of LCD */
29#define CONFIG_LCD LCD_S6B33B2
30
31/* LCD dimensions */
32#define LCD_WIDTH 128
33#define LCD_HEIGHT 96
34#define LCD_DEPTH 16 /* 65536 colours */
35#define LCD_PIXELFORMAT RGB565
36
37#ifndef BOOTLOADER
38
39/* define this if you have a real-time clock */
40#define CONFIG_RTC RTC_E8564
41/* TODO ??? */
42//#define HAVE_RTC_ALARM
43
44/* Define this if your LCD can be enabled/disabled */
45#define HAVE_LCD_ENABLE
46
47/* Define this if your LCD can be put to sleep.
48 HAVE_LCD_ENABLE should be defined as well. */
49/* todo #define HAVE_LCD_SLEEP*/
50/* todo #define HAVE_LCD_SLEEP_SETTING */
51#endif /* !BOOTLOADER */
52
53/* Define this for LCD backlight available */
54#define HAVE_BACKLIGHT
55
56/* Define this if your LCD can set contrast */
57#define HAVE_LCD_CONTRAST
58
59#define MIN_CONTRAST_SETTING 0
60#define MAX_CONTRAST_SETTING 255
61#define DEFAULT_CONTRAST_SETTING 137
62
63/* define this if you can flip your LCD */
64/* #define HAVE_LCD_FLIP */
65
66/* define this if you can invert the colours on your LCD */
67/* todo #define HAVE_LCD_INVERT */
68
69/* put the lcd frame buffer in IRAM */
70/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
71
72/* define this if you have a bitmap LCD display */
73#define HAVE_LCD_BITMAP
74
75/* define this if you have a colour LCD */
76#define HAVE_LCD_COLOR
77
78/* define this if you want album art for this target */
79#define HAVE_ALBUMART
80
81/* define this to enable bitmap scaling */
82#define HAVE_BMP_SCALING
83
84/* define this to enable JPEG decoding */
85#define HAVE_JPEG
86
87/* define this if you have access to the quickscreen */
88#define HAVE_QUICKSCREEN
89
90/* define this if you have access to the pitchscreen */
91#define HAVE_PITCHSCREEN
92
93/* define this if you would like tagcache to build on this target */
94#define HAVE_TAGCACHE
95
96#define CONFIG_KEYPAD SAMSUNG_YH_PAD
97
98/* Define this if you do software codec */
99#define CONFIG_CODEC SWCODEC
100
101/* define this if you have a disk storage, i.e. something
102 that needs spinups and can cause skips when shaked */
103#define HAVE_DISK_STORAGE
104
105/* define this if you use an ATA controller */
106#define CONFIG_STORAGE STORAGE_ATA
107
108/* We're able to shut off power to the HDD */
109#ifndef SIMULATOR
110/* todo #define HAVE_ATA_POWER_OFF */
111#endif
112
113/* Define this if you have a software controlled poweroff */
114#define HAVE_SW_POWEROFF
115
116/* The number of bytes reserved for loadable codecs */
117#define CODEC_SIZE 0x100000
118
119/* The number of bytes reserved for loadable plugins */
120#define PLUGIN_BUFFER_SIZE 0x80000
121
122/* Define this if you have the AK4537 audio codec */
123#define HAVE_AK4537
124
125/* AK4537 has no tone controls, so we use the software ones */
126#define HAVE_SW_TONE_CONTROLS
127
128#define AB_REPEAT_ENABLE 1
129
130#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
131#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
132#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
133#define BATTERY_CAPACITY_INC 50 /* capacity increment */
134#define BATTERY_TYPES_COUNT 1 /* only one type */
135
136/* Hardware controlled charging */
137#define CONFIG_CHARGING CHARGING_SIMPLE
138
139/* define this if the unit can be powered or charged via USB */
140#define HAVE_USB_POWER
141
142#ifndef SIMULATOR
143
144/* Define this if you have a PortalPlayer PP5020 */
145#define CONFIG_CPU PP5020
146
147/* Define this if you want to use the PP5020 i2c interface */
148#define CONFIG_I2C I2C_PP5020
149
150/* define this if the hardware can be powered off while charging */
151#define HAVE_POWEROFF_WHILE_CHARGING
152
153/* The start address index for ROM builds */
154#define ROM_START 0x00000000
155
156/* The size of the flash ROM */
157#define FLASH_SIZE 0x100000
158
159/* Define this to the CPU frequency */
160#define CPU_FREQ 75000000
161
162/* USB On-the-go */
163#define CONFIG_USBOTG USBOTG_ARC
164
165/* enable these for the experimental usb stack */
166#define HAVE_USBSTACK
167#define USE_ROCKBOX_USB
168/* todo - check */
169#define USB_VENDOR_ID 0x04e8
170#define USB_PRODUCT_ID 0x5023
171
172/* Define this if you have adjustable CPU frequency */
173#define HAVE_ADJUSTABLE_CPU_FREQ
174
175#define MI4_FORMAT
176#define BOOTFILE_EXT "mi4"
177#define BOOTFILE "rockbox." BOOTFILE_EXT
178#define BOOTDIR "/.rockbox"
179
180/* Offset ( in the firmware file's header ) to the file CRC */
181#define FIRMWARE_OFFSET_FILE_CRC 0x00
182
183/* Offset ( in the firmware file's header ) to the real data */
184#define FIRMWARE_OFFSET_FILE_DATA 0x00
185
186#define ICODE_ATTR_TREMOR_NOT_MDCT
187
188#endif /* !SIMULATOR */
diff --git a/firmware/export/config/samsungyh920.h b/firmware/export/config/samsungyh920.h
new file mode 100644
index 0000000000..e5a0fc8f71
--- /dev/null
+++ b/firmware/export/config/samsungyh920.h
@@ -0,0 +1,194 @@
1/*
2 * This config file is for the Samsung YH-920
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 58
9#define MODEL_NAME "Samsung YH-920"
10
11/* define this if you have recording possibility */
12/* todo #define HAVE_RECORDING */
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN )
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
20 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
21 SAMPR_CAP_11 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates */
24#define REC_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
25 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
26 SAMPR_CAP_11 | SAMPR_CAP_8)
27
28/* Type of LCD */
29#define CONFIG_LCD LCD_S1D15E06
30
31/* LCD dimensions */
32#define LCD_WIDTH 160
33#define LCD_HEIGHT 128
34#define LCD_DEPTH 2
35#define LCD_PIXELFORMAT VERTICAL_PACKING
36
37/* Display colours, for screenshots and sim (0xRRGGBB) */
38#define LCD_DARKCOLOR 0x000000
39#define LCD_BRIGHTCOLOR 0x5a915a
40#define LCD_BL_DARKCOLOR 0x000000
41#define LCD_BL_BRIGHTCOLOR 0xadd8e6
42
43/* todo */
44/* #ifndef BOOTLOADER */
45#if 0
46/* Define this if your LCD can be enabled/disabled */
47#define HAVE_LCD_ENABLE
48
49/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
50 * should be defined as well.
51 * We can currently put the lcd to sleep but it won't wake up properly */
52#define HAVE_LCD_SLEEP
53#define HAVE_LCD_SLEEP_SETTING
54#endif
55
56/* Define this for LCD backlight available */
57#define HAVE_BACKLIGHT
58
59/* Define this if your LCD can set contrast */
60/* todo #define HAVE_LCD_CONTRAST */
61
62#define MIN_CONTRAST_SETTING 0
63#define MAX_CONTRAST_SETTING 30
64#define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */
65
66/* define this if you can flip your LCD */
67/* todo #define HAVE_LCD_FLIP */
68
69/* define this if you can invert the colours on your LCD */
70/* todo #define HAVE_LCD_INVERT */
71
72/* put the lcd frame buffer in IRAM */
73/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
74
75/* define this if you have a bitmap LCD display */
76#define HAVE_LCD_BITMAP
77
78/* define this if you want album art for this target */
79#define HAVE_ALBUMART
80
81/* define this to enable bitmap scaling */
82#define HAVE_BMP_SCALING
83
84/* define this to enable JPEG decoding */
85#define HAVE_JPEG
86
87/* define this if you have access to the quickscreen */
88#define HAVE_QUICKSCREEN
89
90/* define this if you have access to the pitchscreen */
91#define HAVE_PITCHSCREEN
92
93/* define this if you would like tagcache to build on this target */
94#define HAVE_TAGCACHE
95
96#define CONFIG_KEYPAD SAMSUNG_YH_PAD
97
98/* Define this if you do software codec */
99#define CONFIG_CODEC SWCODEC
100
101/* define this if you have a real-time clock */
102#ifndef BOOTLOADER
103#define CONFIG_RTC RTC_E8564
104/* TODO ??? */
105//#define HAVE_RTC_ALARM
106#endif
107
108/* define this if you have a disk storage, i.e. something
109 that needs spinups and can cause skips when shaked */
110#define HAVE_DISK_STORAGE
111
112/* define this if you use an ATA controller */
113#define CONFIG_STORAGE STORAGE_ATA
114
115/* We're able to shut off power to the HDD */
116#ifndef SIMULATOR
117/* todo #define HAVE_ATA_POWER_OFF */
118#endif
119
120/* Define this if you have a software controlled poweroff */
121#define HAVE_SW_POWEROFF
122
123/* The number of bytes reserved for loadable codecs */
124#define CODEC_SIZE 0x100000
125
126/* The number of bytes reserved for loadable plugins */
127#define PLUGIN_BUFFER_SIZE 0x80000
128
129/* Define this if you have the AK4537 audio codec */
130#define HAVE_AK4537
131
132/* AK4537 has no tone controls, so we use the software ones */
133#define HAVE_SW_TONE_CONTROLS
134
135#define AB_REPEAT_ENABLE 1
136
137#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
138#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
139#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
140#define BATTERY_CAPACITY_INC 50 /* capacity increment */
141#define BATTERY_TYPES_COUNT 1 /* only one type */
142
143/* Hardware controlled charging */
144#define CONFIG_CHARGING CHARGING_SIMPLE
145
146/* define this if the unit can be powered or charged via USB */
147#define HAVE_USB_POWER
148
149#ifndef SIMULATOR
150
151/* Define this if you have a PortalPlayer PP5020 */
152#define CONFIG_CPU PP5020
153
154/* Define this if you want to use the PP5020 i2c interface */
155#define CONFIG_I2C I2C_PP5020
156
157/* define this if the hardware can be powered off while charging */
158#define HAVE_POWEROFF_WHILE_CHARGING
159
160/* The start address index for ROM builds */
161#define ROM_START 0x00000000
162
163/* The size of the flash ROM */
164#define FLASH_SIZE 0x100000
165
166/* Define this to the CPU frequency */
167#define CPU_FREQ 75000000
168
169/* USB On-the-go */
170#define CONFIG_USBOTG USBOTG_ARC
171
172/* enable these for the experimental usb stack */
173#define HAVE_USBSTACK
174#define USE_ROCKBOX_USB
175#define USB_VENDOR_ID 0x04e8
176#define USB_PRODUCT_ID 0x5022
177
178/* Define this if you have adjustable CPU frequency */
179#define HAVE_ADJUSTABLE_CPU_FREQ
180
181#define MI4_FORMAT
182#define BOOTFILE_EXT "mi4"
183#define BOOTFILE "rockbox." BOOTFILE_EXT
184#define BOOTDIR "/.rockbox"
185
186/* Offset ( in the firmware file's header ) to the file CRC */
187#define FIRMWARE_OFFSET_FILE_CRC 0x00
188
189/* Offset ( in the firmware file's header ) to the real data */
190#define FIRMWARE_OFFSET_FILE_DATA 0x00
191
192#define ICODE_ATTR_TREMOR_NOT_MDCT
193
194#endif /* !SIMULATOR */
diff --git a/firmware/export/config/samsungyh925.h b/firmware/export/config/samsungyh925.h
new file mode 100644
index 0000000000..4119118678
--- /dev/null
+++ b/firmware/export/config/samsungyh925.h
@@ -0,0 +1,192 @@
1/*
2 * This config file is for the Samsung YH-925
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 59
9#define MODEL_NAME "Samsung YH-925"
10
11/* define this if you have recording possibility */
12/* todo #define HAVE_RECORDING */
13
14/* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN )
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
20 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
21 SAMPR_CAP_11 | SAMPR_CAP_8)
22
23/* define the bitmask of recording sample rates */
24#define REC_SAMPR_CAPS (SAMPR_CAP_48 | SAMPR_CAP_44 | SAMPR_CAP_32 | \
25 SAMPR_CAP_24 | SAMPR_CAP_22 | SAMPR_CAP_16 | \
26 SAMPR_CAP_11 | SAMPR_CAP_8)
27
28/* Type of LCD */
29#define CONFIG_LCD LCD_YH925
30
31/* LCD dimensions */
32#define LCD_WIDTH 160
33#define LCD_HEIGHT 128
34#define LCD_DEPTH 16 /* 65536 colours */
35#define LCD_PIXELFORMAT RGB565
36
37/* todo */
38/* #ifndef BOOTLOADER */
39#if 0
40/* Define this if your LCD can be enabled/disabled */
41#define HAVE_LCD_ENABLE
42
43/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
44 * should be defined as well.
45 * We can currently put the lcd to sleep but it won't wake up properly */
46#define HAVE_LCD_SLEEP
47#define HAVE_LCD_SLEEP_SETTING
48#endif
49
50/* Define this for LCD backlight available */
51#define HAVE_BACKLIGHT
52
53/* Define this if your LCD can set contrast */
54#define HAVE_LCD_CONTRAST
55
56#define MIN_CONTRAST_SETTING 0
57#define MAX_CONTRAST_SETTING 30
58#define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */
59
60/* define this if you can flip your LCD */
61#define HAVE_LCD_FLIP
62
63/* define this if you can invert the colours on your LCD */
64/* todo #define HAVE_LCD_INVERT */
65
66/* put the lcd frame buffer in IRAM */
67/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR */
68
69/* define this if you have a bitmap LCD display */
70#define HAVE_LCD_BITMAP
71
72/* define this if you have a colour LCD */
73#define HAVE_LCD_COLOR
74
75/* define this if you want album art for this target */
76#define HAVE_ALBUMART
77
78/* define this to enable bitmap scaling */
79#define HAVE_BMP_SCALING
80
81/* define this to enable JPEG decoding */
82#define HAVE_JPEG
83
84/* define this if you have access to the quickscreen */
85#define HAVE_QUICKSCREEN
86
87/* define this if you have access to the pitchscreen */
88#define HAVE_PITCHSCREEN
89
90/* define this if you would like tagcache to build on this target */
91#define HAVE_TAGCACHE
92
93#define CONFIG_KEYPAD SAMSUNG_YH_PAD
94
95/* Define this if you do software codec */
96#define CONFIG_CODEC SWCODEC
97
98/* define this if you have a real-time clock */
99#ifndef BOOTLOADER
100#define CONFIG_RTC RTC_E8564
101/* TODO */
102//#define HAVE_RTC_ALARM
103#endif
104
105/* define this if you have a disk storage, i.e. something
106 that needs spinups and can cause skips when shaked */
107#define HAVE_DISK_STORAGE
108
109/* define this if you use an ATA controller */
110#define CONFIG_STORAGE STORAGE_ATA
111
112/* We're able to shut off power to the HDD */
113#ifndef SIMULATOR
114/* todo #define HAVE_ATA_POWER_OFF */
115#endif
116
117/* Define this if you have a software controlled poweroff */
118#define HAVE_SW_POWEROFF
119
120/* The number of bytes reserved for loadable codecs */
121#define CODEC_SIZE 0x100000
122
123/* The number of bytes reserved for loadable plugins */
124#define PLUGIN_BUFFER_SIZE 0x80000
125
126/* Define this if you have the AK4537 audio codec */
127#define HAVE_AK4537
128
129/* AK4537 has no tone controls, so we use the software ones */
130#define HAVE_SW_TONE_CONTROLS
131
132#define AB_REPEAT_ENABLE 1
133
134#define BATTERY_CAPACITY_DEFAULT 900 /* default battery capacity */
135#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
136#define BATTERY_CAPACITY_MAX 1150 /* max. capacity selectable */
137#define BATTERY_CAPACITY_INC 50 /* capacity increment */
138#define BATTERY_TYPES_COUNT 1 /* only one type */
139
140/* Hardware controlled charging */
141#define CONFIG_CHARGING CHARGING_SIMPLE
142
143/* define this if the unit can be powered or charged via USB */
144#define HAVE_USB_POWER
145
146#ifndef SIMULATOR
147
148/* Define this if you have a PortalPlayer PP5020 */
149#define CONFIG_CPU PP5020
150
151/* Define this if you want to use the PP5020 i2c interface */
152#define CONFIG_I2C I2C_PP5020
153
154/* define this if the hardware can be powered off while charging */
155#define HAVE_POWEROFF_WHILE_CHARGING
156
157/* The start address index for ROM builds */
158#define ROM_START 0x00000000
159
160/* The size of the flash ROM */
161#define FLASH_SIZE 0x100000
162
163/* Define this to the CPU frequency */
164#define CPU_FREQ 75000000
165
166/* USB On-the-go */
167#define CONFIG_USBOTG USBOTG_ARC
168
169/* enable these for the experimental usb stack */
170#define HAVE_USBSTACK
171#define USE_ROCKBOX_USB
172/* todo - check */
173#define USB_VENDOR_ID 0x04e8
174#define USB_PRODUCT_ID 0x5024
175
176/* Define this if you have adjustable CPU frequency */
177#define HAVE_ADJUSTABLE_CPU_FREQ
178
179#define MI4_FORMAT
180#define BOOTFILE_EXT "mi4"
181#define BOOTFILE "rockbox." BOOTFILE_EXT
182#define BOOTDIR "/.rockbox"
183
184/* Offset ( in the firmware file's header ) to the file CRC */
185#define FIRMWARE_OFFSET_FILE_CRC 0x00
186
187/* Offset ( in the firmware file's header ) to the real data */
188#define FIRMWARE_OFFSET_FILE_DATA 0x00
189
190#define ICODE_ATTR_TREMOR_NOT_MDCT
191
192#endif /* !SIMULATOR */
diff --git a/firmware/export/config/samsungyps3.h b/firmware/export/config/samsungyps3.h
new file mode 100644
index 0000000000..cd7cf5050a
--- /dev/null
+++ b/firmware/export/config/samsungyps3.h
@@ -0,0 +1,186 @@
1/*
2 * This config file is for Samsung YP-S3
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7/* For Rolo and boot loader */
8#define MODEL_NUMBER 53
9
10#define MODEL_NAME "Samsumg YP-S3"
11
12/* define this if you have recording possibility */
13//#define HAVE_RECORDING
14
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)
18
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)
21
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)
24
25/* define this if you have a bitmap LCD display */
26#define HAVE_LCD_BITMAP
27
28/* define this if you can flip your LCD */
29//#define HAVE_LCD_FLIP
30
31/* define this if you have a colour LCD */
32#define HAVE_LCD_COLOR
33
34/* define this if you want album art for this target */
35#define HAVE_ALBUMART
36
37/* define this to enable bitmap scaling */
38#define HAVE_BMP_SCALING
39
40/* define this to enable JPEG decoding */
41#define HAVE_JPEG
42
43/* define this if you can invert the colours on your LCD */
44//#define HAVE_LCD_INVERT
45
46/* define this if you have access to the quickscreen */
47#define HAVE_QUICKSCREEN
48
49/* define this if you have access to the pitchscreen */
50#define HAVE_PITCHSCREEN
51
52/* define this if you would like tagcache to build on this target */
53#define HAVE_TAGCACHE
54
55/* define this if you have a flash memory storage */
56#define HAVE_FLASH_STORAGE
57
58#define CONFIG_STORAGE STORAGE_NAND
59
60#define CONFIG_NAND NAND_SAMSUNG
61
62/* LCD dimensions */
63#define LCD_WIDTH 176
64#define LCD_HEIGHT 220
65#define LCD_DEPTH 16 /* pseudo 262.144 colors */
66#define LCD_PIXELFORMAT RGB565 /* rgb565 */
67
68/* Define this if your LCD can be enabled/disabled */
69//#define HAVE_LCD_ENABLE
70
71/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
72 should be defined as well. */
73//#define HAVE_LCD_SLEEP
74
75/* We have button lights */
76#define HAVE_BUTTON_LIGHT
77
78#define CONFIG_KEYPAD MEIZU_M3_PAD
79
80/* We have headphone detection */
81#define HAVE_HEADPHONE_DETECTION
82
83//#define AB_REPEAT_ENABLE 1
84//#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
85
86/* Define this if you do software codec */
87#define CONFIG_CODEC SWCODEC
88
89/* define this if you have a real-time clock */
90#define CONFIG_RTC RTC_S35390A
91
92/* Define the type of audio codec */
93//#define HAVE_WM....
94
95/* Define this for LCD backlight available */
96#define HAVE_BACKLIGHT
97#define HAVE_BACKLIGHT_BRIGHTNESS
98
99/* Define this if you have a software controlled poweroff */
100#define HAVE_SW_POWEROFF
101
102/* The number of bytes reserved for loadable codecs */
103#define CODEC_SIZE 0x100000
104
105/* The number of bytes reserved for loadable plugins */
106#define PLUGIN_BUFFER_SIZE 0x80000
107
108/* FM Tuner */
109#define CONFIG_TUNER SI4700
110#define CONFIG_TUNER_XTAL 32768
111
112/* assume no tone controls, so we use the software ones */
113#define HAVE_SW_TONE_CONTROLS
114
115#define BATTERY_CAPACITY_DEFAULT 580 /* default battery capacity */
116#define BATTERY_CAPACITY_MIN 580 /* min. capacity selectable */
117#define BATTERY_CAPACITY_MAX 580 /* max. capacity selectable */
118#define BATTERY_CAPACITY_INC 0 /* capacity increment */
119#define BATTERY_TYPES_COUNT 1 /* only one type */
120
121/* Hardware controlled charging, software can monitor plug and charge state */
122#define CONFIG_CHARGING CHARGING_MONITOR
123
124#ifndef SIMULATOR
125
126/* Define this if your LCD can set contrast */
127//#define HAVE_LCD_CONTRAST
128
129/* We have a Samsung S5L8700 */
130#define CONFIG_CPU S5L8700
131
132/* We use the S5L8700 i2c interface */
133#define CONFIG_I2C I2C_S5L8700
134
135/* define this if the hardware can be powered off while charging */
136//#define HAVE_POWEROFF_WHILE_CHARGING
137
138/* The size of the flash ROM */
139#define FLASH_SIZE 0x400000
140
141/* Define this to the CPU frequency */
142#define CPU_FREQ 200000000
143
144/* Define this if you have ATA power-off control */
145//#define HAVE_ATA_POWER_OFF
146
147/* Offset ( in the firmware file's header ) to the file CRC */
148#define FIRMWARE_OFFSET_FILE_CRC 0
149
150/* Offset ( in the firmware file's header ) to the real data */
151#define FIRMWARE_OFFSET_FILE_DATA 8
152
153/* USB */
154//#define HAVE_USBSTACK
155#define USE_ROCKBOX_USB
156#define USB_VENDOR_ID 0x04E8
157#define USB_PRODUCT_ID 0x5090
158
159/* Define this if you have adjustable CPU frequency */
160#define HAVE_ADJUSTABLE_CPU_FREQ
161
162#define BOOTFILE_EXT "yps3"
163#define BOOTFILE "rockbox." BOOTFILE_EXT
164#define BOOTDIR "/.rockbox"
165
166//#define BOOTLOADER_ENTRYPOINT 0x001F0000
167//#define FLASH_ENTRYPOINT 0x00001000
168//#define FLASH_MAGIC 0xfbfbfbf1
169
170#endif /* SIMULATOR */
171
172/* Define this for FM radio input available */
173#define HAVE_FMRADIO_IN
174
175/** Port-specific settings **/
176
177/* Main LCD contrast range and defaults */
178#define MIN_CONTRAST_SETTING 1
179#define MAX_CONTRAST_SETTING 30
180#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
181
182/* Main LCD backlight brightness range and defaults */
183#define MIN_BRIGHTNESS_SETTING 0
184#define MAX_BRIGHTNESS_SETTING 15
185#define DEFAULT_BRIGHTNESS_SETTING 10
186
diff --git a/firmware/export/config/sansac100.h b/firmware/export/config/sansac100.h
new file mode 100644
index 0000000000..5cc29e32f6
--- /dev/null
+++ b/firmware/export/config/sansac100.h
@@ -0,0 +1,131 @@
1/*
2 * This config file is for the Sansa C100 series
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6#define MODEL_NAME "Sandisk Sansa c100 series"
7
8/* For Rolo and bootloader */
9#define MODEL_NUMBER 30
10
11/* define hardware samples rate caps mask */
12#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
13
14/* define this if you have a bitmap LCD display */
15#define HAVE_LCD_BITMAP
16
17/* define this if you have a colour LCD */
18#define HAVE_LCD_COLOR
19
20/* define this if you can flip your LCD */
21/*#define HAVE_LCD_FLIP*/
22
23/* define this if you can invert the colours on your LCD */
24/*#define HAVE_LCD_INVERT*/
25
26/* define this if you have access to the quickscreen */
27#define HAVE_QUICKSCREEN
28
29/* define this if you have access to the pitchscreen */
30#define HAVE_PITCHSCREEN
31
32/* define this if you would like tagcache to build on this target */
33#define HAVE_TAGCACHE
34
35/* define this if you have a flash memory storage */
36#define HAVE_FLASH_STORAGE
37
38/* Only v1 */
39#define CONFIG_STORAGE STORAGE_NAND
40#define CONFIG_NAND NAND_TCC
41
42/* c100's with direct-to-NAND access are FAT16 */
43#define HAVE_FAT16SUPPORT
44
45/* LCD dimensions */
46#define LCD_WIDTH 128
47#define LCD_HEIGHT 64
48#define LCD_DEPTH 16 /* 65536 colours */
49#define LCD_PIXELFORMAT RGB565 /*rgb565*/
50
51/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
52
53/* define this to indicate your device's keypad */
54#define CONFIG_KEYPAD SANSA_C100_PAD
55
56/* define this if you have a real-time clock */
57#define CONFIG_RTC RTC_TCC77X
58
59/* define this if you have RTC RAM available for settings */
60//#define HAVE_RTC_RAM
61
62/* Define this if you have a software controlled poweroff */
63#define HAVE_SW_POWEROFF
64
65/* The number of bytes reserved for loadable codecs */
66#define CODEC_SIZE 0x50000
67
68/* The number of bytes reserved for loadable plugins */
69#define PLUGIN_BUFFER_SIZE 0x50000
70
71#define AB_REPEAT_ENABLE 1
72
73/* Define this if you do software codec */
74#define CONFIG_CODEC SWCODEC
75
76/* Define this if you have the TLV320 audio codec */
77#define HAVE_TLV320
78
79/*#define CONFIG_TUNER TEA5767*/
80
81/* TLV320 has no tone controls, so we use the software ones */
82#define HAVE_SW_TONE_CONTROLS
83
84/* Define this for LCD backlight available */
85#define HAVE_BACKLIGHT
86
87#define CONFIG_I2C I2C_TCC77X
88
89#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
90#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
91#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
92#define BATTERY_CAPACITY_INC 50 /* capacity increment */
93#define BATTERY_TYPES_COUNT 1 /* only one type */
94
95/* define this if the unit should not shut down on low battery. */
96#define NO_LOW_BATTERY_SHUTDOWN
97
98#ifndef SIMULATOR
99
100/* Define this if you have a TCC770 */
101#define CONFIG_CPU TCC770
102
103/* Define this if you have ATA power-off control */
104#define HAVE_ATA_POWER_OFF
105
106/* Define this to the CPU frequency */
107#define CPU_FREQ 120000000
108
109/* Offset ( in the firmware file's header ) to the file CRC */
110#define FIRMWARE_OFFSET_FILE_CRC 0
111
112/* Offset ( in the firmware file's header ) to the real data */
113#define FIRMWARE_OFFSET_FILE_DATA 8
114
115/* The start address index for ROM builds */
116/* #define ROM_START 0x11010 for behind original Archos */
117#define ROM_START 0x7010 /* for behind BootBox */
118
119#define CONFIG_LCD LCD_S6B33B2
120
121#define BOOTFILE_EXT "c100"
122#define BOOTFILE "rockbox." BOOTFILE_EXT
123#define BOOTDIR "/.rockbox"
124
125#ifdef BOOTLOADER
126#define TCCBOOT
127#endif
128
129#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
130
131#endif /* SIMULATOR */
diff --git a/firmware/export/config/sansac200.h b/firmware/export/config/sansac200.h
new file mode 100644
index 0000000000..654ac7b9cf
--- /dev/null
+++ b/firmware/export/config/sansac200.h
@@ -0,0 +1,211 @@
1/*
2 * This config file is for the Sandisk Sansa e200
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 20
8#define MODEL_NAME "Sandisk Sansa c200 series"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12/* define this if you have recording possibility */
13#define HAVE_RECORDING
14
15#define REC_SAMPR_CAPS (SAMPR_CAP_22)
16#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
17#define REC_SAMPR_DEFAULT SAMPR_22
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
22
23/* define this if you have a bitmap LCD display */
24#define HAVE_LCD_BITMAP
25
26/* define this if you have a colour LCD */
27#define HAVE_LCD_COLOR
28
29/* define this if you want album art for this target */
30#define HAVE_ALBUMART
31
32/* define this to enable bitmap scaling */
33#define HAVE_BMP_SCALING
34
35/* define this to enable JPEG decoding */
36#define HAVE_JPEG
37
38/* define this if you have a light associated with the buttons */
39#define HAVE_BUTTON_LIGHT
40
41/* define this if you have access to the quickscreen */
42#define HAVE_QUICKSCREEN
43
44/* define this if you have access to the pitchscreen */
45#define HAVE_PITCHSCREEN
46
47/* define this if you would like tagcache to build on this target */
48#define HAVE_TAGCACHE
49
50/* LCD dimensions */
51#define LCD_WIDTH 132
52#define LCD_HEIGHT 80
53#define LCD_DEPTH 16 /* 65536 colours */
54#define LCD_PIXELFORMAT RGB565 /* rgb565 */
55
56/* define this if you have LCD enable function */
57#define HAVE_LCD_ENABLE
58
59/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
60 should be defined as well. */
61/* TODO: #define HAVE_LCD_SLEEP */
62/* TODO: #define HAVE_LCD_SLEEP_SETTING <= optional */
63
64/* define this if you can flip your LCD */
65#define HAVE_LCD_FLIP
66
67/* define this if you can invert the colours on your LCD */
68/* TODO: #define HAVE_LCD_INVERT */
69
70/* Define this if your LCD can set contrast */
71#define HAVE_LCD_CONTRAST
72
73#define MIN_CONTRAST_SETTING 0
74#define MAX_CONTRAST_SETTING 255
75#define DEFAULT_CONTRAST_SETTING 85
76
77/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
78
79#define CONFIG_KEYPAD SANSA_C200_PAD
80
81/* define this if the target has volume keys which can be used in the lists */
82#define HAVE_VOLUME_IN_LIST
83
84/* Define this if you do software codec */
85#define CONFIG_CODEC SWCODEC
86
87/* There is no hardware tone control */
88#define HAVE_SW_TONE_CONTROLS
89
90/* The PP5024 has a built-in AustriaMicrosystems AS3514 */
91#define HAVE_AS3514
92
93/* define this if you have a real-time clock */
94#ifndef BOOTLOADER
95#define CONFIG_RTC RTC_AS3514
96#endif
97
98/* Define this if you have a software controlled poweroff */
99#define HAVE_SW_POWEROFF
100
101/* Some Sansa E200s seem to be FAT16 formatted */
102#define HAVE_FAT16SUPPORT
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x80000
109
110#define AB_REPEAT_ENABLE 1
111
112/* FM Tuner */
113#define CONFIG_TUNER LV24020LP
114#define HAVE_TUNER_PWR_CTRL
115
116/* Define this for LCD backlight available */
117#define HAVE_BACKLIGHT
118#define HAVE_BACKLIGHT_BRIGHTNESS
119
120/* Main LCD backlight brightness range and defaults */
121#define MIN_BRIGHTNESS_SETTING 1
122#define MAX_BRIGHTNESS_SETTING 12
123#define DEFAULT_BRIGHTNESS_SETTING 6
124
125/* Which backlight fading type? */
126#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
127
128/* define this if you have a flash memory storage */
129#define HAVE_FLASH_STORAGE
130
131/* define this if the flash memory uses the SecureDigital Memory Card protocol */
132#define CONFIG_STORAGE STORAGE_SD
133
134#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */
135#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
136#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */
137#define BATTERY_CAPACITY_INC 0 /* capacity increment */
138#define BATTERY_TYPES_COUNT 1 /* only one type */
139
140/* Charging implemented in a target-specific algorithm */
141#define CONFIG_CHARGING CHARGING_TARGET
142#define HAVE_POWEROFF_WHILE_CHARGING
143
144/* define this if the unit can be powered or charged via USB */
145#define HAVE_USB_POWER
146
147/* define current usage levels */
148#define CURRENT_NORMAL 30 /* Should be nearly identical to E200 */
149#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
150#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
151
152/** Non-simulator section **/
153#ifndef SIMULATOR
154
155/* Define this if you have a PortalPlayer PP5024 */
156#define CONFIG_CPU PP5022
157
158/* Define this if you want to use the PP5024 i2c interface */
159#define CONFIG_I2C I2C_PP5024
160
161/* define this if the hardware can be powered off while charging */
162/* Sansa can't be powered off while charging */
163/* #define HAVE_POWEROFF_WHILE_CHARGING */
164
165/* The start address index for ROM builds */
166#define ROM_START 0x00000000
167
168/* Define this to the CPU frequency */
169#define CPU_FREQ 75000000
170
171/* Type of LCD TODO: hopefully the same as the x5 but check this*/
172#define CONFIG_LCD LCD_C200
173
174/* Offset ( in the firmware file's header ) to the file CRC and data. These are
175 only used when loading the old format rockbox.e200 file */
176#define FIRMWARE_OFFSET_FILE_CRC 0x0
177#define FIRMWARE_OFFSET_FILE_DATA 0x8
178
179#ifndef BOOTLOADER
180#define HAVE_MULTIDRIVE
181#define NUM_DRIVES 2
182#define HAVE_HOTSWAP
183#endif
184
185/* USB On-the-go */
186#define CONFIG_USBOTG USBOTG_ARC
187
188/* enable these for the experimental usb stack */
189#define HAVE_USBSTACK
190#define USE_ROCKBOX_USB
191#define USB_VENDOR_ID 0x0781
192#define USB_PRODUCT_ID 0x7451
193
194/* Define this if you have adjustable CPU frequency */
195#define HAVE_ADJUSTABLE_CPU_FREQ
196
197#define MI4_FORMAT
198#define BOOTFILE_EXT "mi4"
199#define BOOTFILE "rockbox." BOOTFILE_EXT
200#define BOOTDIR "/.rockbox"
201
202#define ICODE_ATTR_TREMOR_NOT_MDCT
203
204#define INCLUDE_TIMEOUT_API
205
206#endif /* SIMULATOR */
207
208/* Default recording levels */
209#define DEFAULT_REC_MIC_GAIN 23
210#define DEFAULT_REC_LEFT_GAIN 23
211#define DEFAULT_REC_RIGHT_GAIN 23
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
new file mode 100644
index 0000000000..d6c2159e8c
--- /dev/null
+++ b/firmware/export/config/sansac200v2.h
@@ -0,0 +1,210 @@
1/*
2 * This config file is for the Sandisk Sansa c200v2
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 44
8#define MODEL_NAME "Sandisk Sansa c200v2 series"
9#define FIRMWARE_OFFSET_FILE_DATA 8
10#define FIRMWARE_OFFSET_FILE_CRC 0
11
12#if 0
13
14#define HW_SAMPR_CAPS (SAMPR_CAP_44)
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19#define REC_SAMPR_CAPS (SAMPR_CAP_22)
20#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
21#define REC_SAMPR_DEFAULT SAMPR_22
22
23#endif
24
25/* Define bitmask of input sources - recordable bitmask can be defined
26 explicitly if different */
27#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have a light associated with the buttons */
45#define HAVE_BUTTON_LIGHT
46
47/* define this if you have access to the quickscreen */
48#define HAVE_QUICKSCREEN
49
50/* define this if you have access to the pitchscreen */
51#define HAVE_PITCHSCREEN
52
53/* define this if you would like tagcache to build on this target */
54#define HAVE_TAGCACHE
55
56/* LCD dimensions */
57#define LCD_WIDTH 132
58#define LCD_HEIGHT 80
59#define LCD_DEPTH 16 /* 65536 colours */
60#define LCD_PIXELFORMAT RGB565 /* rgb565 */
61
62/* define this if you have LCD enable function */
63#define HAVE_LCD_ENABLE
64
65/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
66 should be defined as well. */
67/* TODO: #define HAVE_LCD_SLEEP */
68/* TODO: #define HAVE_LCD_SLEEP_SETTING <= optional */
69
70/* define this if you can flip your LCD */
71#define HAVE_LCD_FLIP
72
73/* define this if you can invert the colours on your LCD */
74/* TODO: #define HAVE_LCD_INVERT */
75
76/* Define this if your LCD can set contrast */
77#define HAVE_LCD_CONTRAST
78
79#define MIN_CONTRAST_SETTING 0
80#define MAX_CONTRAST_SETTING 255
81#define DEFAULT_CONTRAST_SETTING 85
82
83#if 0 /* not enough room for a 16 bits framebuffer */
84#define IRAM_LCDFRAMEBUFFER IDATA_ATTR /* put the lcd frame buffer in IRAM */
85#endif
86
87#define CONFIG_KEYPAD SANSA_C200_PAD
88
89/* define this if the target has volume keys which can be used in the lists */
90#define HAVE_VOLUME_IN_LIST
91
92/* Define this if you do software codec */
93#define CONFIG_CODEC SWCODEC
94
95/* There is no hardware tone control */
96#define HAVE_SW_TONE_CONTROLS
97
98/* The AS3525 has a built-in AS3514 (or a newer version) */
99#define HAVE_AS3514
100
101/* define this if you have a real-time clock */
102#ifndef BOOTLOADER
103#define CONFIG_RTC RTC_AS3514
104#endif
105
106/* Define this if you have a software controlled poweroff */
107#define HAVE_SW_POWEROFF
108
109/* Some Sansa E200s seem to be FAT16 formatted */
110#define HAVE_FAT16SUPPORT
111
112/* The number of bytes reserved for loadable codecs */
113#define CODEC_SIZE 0x48000
114
115/* The number of bytes reserved for loadable plugins */
116#define PLUGIN_BUFFER_SIZE 0x80000
117
118#define AB_REPEAT_ENABLE 1
119
120/* FM Tuner - suspected to be the SI4702 */
121#define CONFIG_TUNER SI4700
122/* #define HAVE_TUNER_PWR_CTRL */
123
124/* Define this for LCD backlight available */
125#define HAVE_BACKLIGHT
126#define HAVE_BACKLIGHT_BRIGHTNESS
127
128/* define this if you have a flash memory storage */
129#define HAVE_FLASH_STORAGE
130
131/* define this if the flash memory uses the SecureDigital Memory Card protocol */
132#define CONFIG_STORAGE STORAGE_SD
133
134#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */
135#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
136#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */
137#define BATTERY_CAPACITY_INC 0 /* capacity increment */
138#define BATTERY_TYPES_COUNT 1 /* only one type */
139
140/* Hardware controlled charging? FIXME */
141#define CONFIG_CHARGING CHARGING_SIMPLE
142
143/* define this if the unit can be powered or charged via USB */
144#define HAVE_USB_POWER
145
146/** Non-simulator section **/
147#ifndef SIMULATOR
148
149/* Define this if you have a PortalPlayer PP5024 */
150#define CONFIG_CPU AS3525
151
152/* Define how much SD sectors are reserved for OF */
153#define AMS_OF_SIZE 0x5000
154
155/* Define this if you want to use the PP5024 i2c interface */
156#define CONFIG_I2C I2C_AS3525
157
158/* define this if the hardware can be powered off while charging */
159/* Sansa can't be powered off while charging */
160/* #define HAVE_POWEROFF_WHILE_CHARGING */
161
162/* The start address index for ROM builds */
163#define ROM_START 0x00000000
164
165/* Define this to the CPU frequency */
166#define CPU_FREQ 250000000
167
168/* Type of LCD : Samsung S6B33B2 */
169#define CONFIG_LCD LCD_C200
170
171#ifndef BOOTLOADER
172#define HAVE_MULTIDRIVE
173#define NUM_DRIVES 2
174#define HAVE_HOTSWAP
175
176#define USB_HANDLED_BY_OF
177
178#define CONFIG_USBOTG USBOTG_AS3525
179
180/* enable these for the experimental usb stack */
181#define HAVE_USBSTACK
182#define USB_VENDOR_ID 0x0781
183#define USB_PRODUCT_ID 0x7452
184
185#endif /* BOOTLOADER */
186
187/* Define this if you have adjustable CPU frequency */
188#define HAVE_ADJUSTABLE_CPU_FREQ
189
190#define BOOTFILE_EXT "sansa"
191#define BOOTFILE "rockbox." BOOTFILE_EXT
192#define BOOTDIR "/.rockbox"
193
194#define ICODE_ATTR_TREMOR_NOT_MDCT
195
196#define INCLUDE_TIMEOUT_API
197
198#endif /* SIMULATOR */
199
200/** Port-specific settings **/
201
202/* Main LCD backlight brightness range and defaults */
203#define MIN_BRIGHTNESS_SETTING 1
204#define MAX_BRIGHTNESS_SETTING 12
205#define DEFAULT_BRIGHTNESS_SETTING 6
206
207/* Default recording levels */
208#define DEFAULT_REC_MIC_GAIN 23
209#define DEFAULT_REC_LEFT_GAIN 23
210#define DEFAULT_REC_RIGHT_GAIN 23
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
new file mode 100644
index 0000000000..3b82a25159
--- /dev/null
+++ b/firmware/export/config/sansaclip.h
@@ -0,0 +1,210 @@
1/*
2 * This config file is for the Sandisk Sansa Clip
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 40
8#define MODEL_NAME "Sandisk Sansa Clip"
9#define FIRMWARE_OFFSET_FILE_DATA 8
10#define FIRMWARE_OFFSET_FILE_CRC 0
11
12#if 0 /* disabled since there is no driver (yet) */
13
14#define HW_SAMPR_CAPS (SAMPR_CAP_44)
15
16/* define this if you have recording possibility */
17#define HAVE_RECORDING
18
19#define REC_SAMPR_CAPS (SAMPR_CAP_22)
20#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
21#define REC_SAMPR_DEFAULT SAMPR_22
22
23#endif
24
25/* Define bitmask of input sources - recordable bitmask can be defined
26 explicitly if different */
27#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
28
29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP
31
32/* define this if you have a light associated with the buttons */
33#define HAVE_BUTTON_LIGHT
34
35/* define this if you have access to the quickscreen */
36#define HAVE_QUICKSCREEN
37
38/* define this if you have access to the pitchscreen */
39#define HAVE_PITCHSCREEN
40
41/* define this if you would like tagcache to build on this target */
42#define HAVE_TAGCACHE
43
44/* LCD dimensions */
45#define LCD_WIDTH 128
46#define LCD_HEIGHT 64
47#define LCD_DEPTH 1
48
49#define LCD_PIXELFORMAT VERTICAL_PACKING
50#define HAVE_NEGATIVE_LCD /* bright on dark */
51#define HAVE_LCD_SPLIT /* split display */
52
53/* Display colours, for screenshots and sim (0xRRGGBB) */
54#define LCD_DARKCOLOR 0x000000
55#define LCD_BRIGHTCOLOR 0x000000
56#define LCD_BL_DARKCOLOR 0x000000
57#define LCD_BL_BRIGHTCOLOR 0x0de2e5
58
59#define LCD_DARKCOLOR_2 0x000000
60#define LCD_BRIGHTCOLOR_2 0x000000
61#define LCD_BL_DARKCOLOR_2 0x000000
62#define LCD_BL_BRIGHTCOLOR_2 0xffe60f
63
64#define LCD_SPLIT_POS 16
65#define LCD_SPLIT_LINES 2
66
67/* define this if you have LCD enable function */
68#define HAVE_LCD_ENABLE
69
70#ifndef BOOTLOADER
71/* Define this if your LCD can be put to sleep.
72 * HAVE_LCD_ENABLE should be defined as well. */
73//#define HAVE_LCD_SLEEP
74//#define HAVE_LCD_SLEEP_SETTING
75#endif
76
77/* define this if you can flip your LCD */
78#define HAVE_LCD_FLIP
79
80/* define this if you can invert the pixels */
81#define HAVE_LCD_INVERT
82
83/* Define this if your LCD can set contrast */
84#define HAVE_LCD_CONTRAST
85
86#define MIN_CONTRAST_SETTING 0
87#define MAX_CONTRAST_SETTING 50
88#define DEFAULT_CONTRAST_SETTING 30
89
90#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
91
92#define CONFIG_KEYPAD SANSA_CLIP_PAD
93
94/* define this if the target has volume keys which can be used in the lists */
95#define HAVE_VOLUME_IN_LIST
96
97/* Define this if you do software codec */
98#define CONFIG_CODEC SWCODEC
99/* There is no hardware tone control */
100#define HAVE_SW_TONE_CONTROLS
101
102/* We're working on the assumption that the AS3525 has something
103 similar to the AS3514 for audio codec etc */
104#define HAVE_AS3514
105
106/* define this if you have a real-time clock */
107#ifndef BOOTLOADER
108#define CONFIG_RTC RTC_AS3514
109#endif
110
111/* Define this if you have a software controlled poweroff */
112#define HAVE_SW_POWEROFF
113
114#define HAVE_FAT16SUPPORT
115
116/* The number of bytes reserved for loadable codecs */
117#define CODEC_SIZE 0x48000 /* in IRAM */
118
119/* The number of bytes reserved for loadable plugins */
120#define PLUGIN_BUFFER_SIZE 0x60000
121
122#define AB_REPEAT_ENABLE 1
123
124/* FM Tuner */
125#define CONFIG_TUNER SI4700 /* in fact SI4702 but let's hope it's compatible */
126//#define HAVE_TUNER_PWR_CTRL
127
128/* Define this for LCD backlight available */
129#define HAVE_BACKLIGHT
130
131/* define this if you have a flash memory storage */
132#define HAVE_FLASH_STORAGE
133
134/* define this if the flash memory uses the SecureDigital Memory Card protocol */
135#define CONFIG_STORAGE STORAGE_SD
136
137#define BATTERY_CAPACITY_DEFAULT 350 /* default battery capacity */
138#define BATTERY_CAPACITY_MIN 350 /* min. capacity selectable */
139#define BATTERY_CAPACITY_MAX 350 /* max. capacity selectable */
140#define BATTERY_CAPACITY_INC 0 /* capacity increment */
141#define BATTERY_TYPES_COUNT 1 /* only one type */
142
143/* Charging implemented in a target-specific algorithm */
144#define CONFIG_CHARGING CHARGING_TARGET
145
146/* define this if the unit can be powered or charged via USB */
147#define HAVE_USB_POWER
148
149/** Non-simulator section **/
150#ifndef SIMULATOR
151
152/* Define this if you have a AMS AS3525 SoC */
153#define CONFIG_CPU AS3525
154
155/* Define how much SD sectors are reserved for OF */
156#define AMS_OF_SIZE 0x5000
157
158/* Define this if you want to use the AS3525 i2c interface */
159#define CONFIG_I2C I2C_AS3525
160
161/* define this if the hardware can be powered off while charging */
162/* Sansa can't be powered off while charging */
163/* #define HAVE_POWEROFF_WHILE_CHARGING */
164
165/* The start address index for ROM builds */
166#define ROM_START 0x00000000
167
168/* Define this to the CPU frequency */
169#define CPU_FREQ 250000000
170
171/* Type of LCD */
172#define CONFIG_LCD LCD_SSD1303
173
174#ifndef BOOTLOADER
175
176#define USB_HANDLED_BY_OF
177
178#define CONFIG_USBOTG USBOTG_AS3525
179
180/* enable these for the experimental usb stack */
181#define HAVE_USBSTACK
182#define USB_VENDOR_ID 0x0781
183#define USB_PRODUCT_ID 0x7433
184
185#endif /* BOOTLOADER */
186
187/* Define this if you have adjustable CPU frequency */
188#define HAVE_ADJUSTABLE_CPU_FREQ
189
190#define BOOTFILE_EXT "sansa"
191#define BOOTFILE "rockbox." BOOTFILE_EXT
192#define BOOTDIR "/.rockbox"
193
194#define ICODE_ATTR_TREMOR_NOT_MDCT
195
196#define INCLUDE_TIMEOUT_API
197
198#endif /* SIMULATOR */
199
200/** Port-specific settings **/
201
202/* Main LCD backlight brightness range and defaults */
203#define MIN_BRIGHTNESS_SETTING 1
204#define MAX_BRIGHTNESS_SETTING 12
205#define DEFAULT_BRIGHTNESS_SETTING 6
206
207/* Default recording levels */
208#define DEFAULT_REC_MIC_GAIN 23
209#define DEFAULT_REC_LEFT_GAIN 23
210#define DEFAULT_REC_RIGHT_GAIN 23
diff --git a/firmware/export/config/sansae200.h b/firmware/export/config/sansae200.h
new file mode 100644
index 0000000000..8b7e0d68b2
--- /dev/null
+++ b/firmware/export/config/sansae200.h
@@ -0,0 +1,219 @@
1/*
2 * This config file is for the Sandisk Sansa e200
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 16
8#define MODEL_NAME "Sandisk Sansa e200 series"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12/* define this if you have recording possibility */
13#define HAVE_RECORDING
14
15#define REC_SAMPR_CAPS (SAMPR_CAP_22)
16#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
17#define REC_SAMPR_DEFAULT SAMPR_22
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
22
23/* define this if you have a bitmap LCD display */
24#define HAVE_LCD_BITMAP
25
26/* define this if you have a colour LCD */
27#define HAVE_LCD_COLOR
28
29/* define this if you want album art for this target */
30#define HAVE_ALBUMART
31
32/* define this to enable bitmap scaling */
33#define HAVE_BMP_SCALING
34
35/* define this to enable JPEG decoding */
36#define HAVE_JPEG
37
38/* define this if you have a light associated with the buttons */
39#define HAVE_BUTTON_LIGHT
40
41/* define this if you have access to the quickscreen */
42#define HAVE_QUICKSCREEN
43
44/* define this if you have access to the pitchscreen */
45#define HAVE_PITCHSCREEN
46
47/* define this if you would like tagcache to build on this target */
48#define HAVE_TAGCACHE
49
50/* LCD dimensions */
51#define LCD_WIDTH 176
52#define LCD_HEIGHT 220
53#define LCD_DEPTH 16 /* 65536 colours */
54#define LCD_PIXELFORMAT RGB565 /* rgb565 */
55
56#ifndef BOOTLOADER
57/* define this if you have LCD enable function */
58#define HAVE_LCD_ENABLE
59
60/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
61 should be defined as well. */
62#define HAVE_LCD_SLEEP
63#define HAVE_LCD_SLEEP_SETTING
64#endif
65
66/* define this if you can flip your LCD */
67#define HAVE_LCD_FLIP
68
69/* define this if you can invert the colours on your LCD */
70#define HAVE_LCD_INVERT
71
72/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
73
74#define CONFIG_KEYPAD SANSA_E200_PAD
75
76/* Define this if you do software codec */
77#define CONFIG_CODEC SWCODEC
78/* There is no hardware tone control */
79#define HAVE_SW_TONE_CONTROLS
80/* The PP5024 has a built-in AustriaMicrosystems AS3514 */
81#define HAVE_AS3514
82
83/* define this if you have a real-time clock */
84#ifndef BOOTLOADER
85#define CONFIG_RTC RTC_AS3514
86#endif
87
88/* Define this if you have a software controlled poweroff */
89#define HAVE_SW_POWEROFF
90
91/* Some Sansa E200s seem to be FAT16 formatted */
92#define HAVE_FAT16SUPPORT
93
94/* The number of bytes reserved for loadable codecs */
95#define CODEC_SIZE 0x100000
96
97/* The number of bytes reserved for loadable plugins */
98#define PLUGIN_BUFFER_SIZE 0x80000
99
100#define AB_REPEAT_ENABLE 1
101
102/* FM Tuner */
103#define CONFIG_TUNER LV24020LP
104#define HAVE_TUNER_PWR_CTRL
105
106/* Define this for LCD backlight available */
107#define HAVE_BACKLIGHT
108#define HAVE_BACKLIGHT_BRIGHTNESS
109
110/* Which backlight fading type? */
111#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
112
113/* define this if the unit uses a scrollwheel for navigation */
114#define HAVE_SCROLLWHEEL
115/* define to activate advanced wheel acceleration code */
116#define HAVE_WHEEL_ACCELERATION
117/* define from which rotation speed [degree/sec] on the acceleration starts */
118#define WHEEL_ACCEL_START 540
119/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
120#define WHEEL_ACCELERATION 1
121
122/* define this if you have a flash memory storage */
123#define HAVE_FLASH_STORAGE
124
125/* define this if the flash memory uses the SecureDigital Memory Card protocol */
126#define CONFIG_STORAGE STORAGE_SD
127
128#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
129#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
130#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
131#define BATTERY_CAPACITY_INC 0 /* capacity increment */
132#define BATTERY_TYPES_COUNT 1 /* only one type */
133
134/* Charging implemented in a target-specific algorithm */
135#define CONFIG_CHARGING CHARGING_TARGET
136#define HAVE_POWEROFF_WHILE_CHARGING
137
138/* define current usage levels */
139#define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
140#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
141#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
142
143/* define this if the unit can be powered or charged via USB */
144#define HAVE_USB_POWER
145
146/** Non-simulator section **/
147#ifndef SIMULATOR
148
149/* Define this if you have a PortalPlayer PP5024 */
150#define CONFIG_CPU PP5024
151
152/* Define this if you want to use the PP5024 i2c interface */
153#define CONFIG_I2C I2C_PP5024
154
155/* define this if the hardware can be powered off while charging */
156/* Sansa can't be powered off while charging */
157/* #define HAVE_POWEROFF_WHILE_CHARGING */
158
159/* The start address index for ROM builds */
160#define ROM_START 0x00000000
161
162/* Define this to the CPU frequency */
163#define CPU_FREQ 75000000
164
165/* Type of LCD TODO: hopefully the same as the x5 but check this*/
166#define CONFIG_LCD LCD_X5
167
168/* Offset ( in the firmware file's header ) to the file CRC and data. These are
169 only used when loading the old format rockbox.e200 file */
170#define FIRMWARE_OFFSET_FILE_CRC 0x0
171#define FIRMWARE_OFFSET_FILE_DATA 0x8
172
173#ifndef BOOTLOADER
174#define HAVE_MULTIDRIVE
175#define NUM_DRIVES 2
176#define HAVE_HOTSWAP
177#endif
178
179/* USB On-the-go */
180#define CONFIG_USBOTG USBOTG_ARC
181
182/* enable these for the experimental usb stack */
183#define HAVE_USBSTACK
184#define USE_ROCKBOX_USB
185#define USB_VENDOR_ID 0x0781
186#define USB_PRODUCT_ID 0x7421
187
188
189/* Define this if you have adjustable CPU frequency */
190#define HAVE_ADJUSTABLE_CPU_FREQ
191
192#define MI4_FORMAT
193#define BOOTFILE_EXT "mi4"
194#define BOOTFILE "rockbox." BOOTFILE_EXT
195#define BOOTDIR "/.rockbox"
196
197#define ICODE_ATTR_TREMOR_NOT_MDCT
198
199#define INCLUDE_TIMEOUT_API
200
201#endif /* SIMULATOR */
202
203
204/** Port-specific settings **/
205
206/* Main LCD backlight brightness range and defaults */
207#define MIN_BRIGHTNESS_SETTING 1
208#define MAX_BRIGHTNESS_SETTING 12
209#define DEFAULT_BRIGHTNESS_SETTING 6
210
211/* Default recording levels */
212#define DEFAULT_REC_MIC_GAIN 23
213#define DEFAULT_REC_LEFT_GAIN 23
214#define DEFAULT_REC_RIGHT_GAIN 23
215
216#ifdef E200R_INSTALLER
217#define IRAMORIG 0x40004000
218#endif
219
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
new file mode 100644
index 0000000000..dff99cde16
--- /dev/null
+++ b/firmware/export/config/sansae200v2.h
@@ -0,0 +1,214 @@
1/*
2 * This config file is for the Sandisk Sansa e200v2
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 41
8#define MODEL_NAME "Sandisk Sansa e200v2 series"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12#if 0
13/* define this if you have recording possibility */
14#define HAVE_RECORDING
15
16#define REC_SAMPR_CAPS (SAMPR_CAP_22)
17#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
18#define REC_SAMPR_DEFAULT SAMPR_22
19
20#endif
21/* Define bitmask of input sources - recordable bitmask can be defined
22 explicitly if different */
23#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
24
25/* define this if you have a bitmap LCD display */
26#define HAVE_LCD_BITMAP
27
28/* define this if you have a colour LCD */
29#define HAVE_LCD_COLOR
30
31/* define this if you want album art for this target */
32#define HAVE_ALBUMART
33
34/* define this to enable bitmap scaling */
35#define HAVE_BMP_SCALING
36
37/* define this to enable JPEG decoding */
38#define HAVE_JPEG
39
40/* define this if you have a light associated with the buttons */
41#define HAVE_BUTTON_LIGHT
42
43/* define this if you have access to the quickscreen */
44#define HAVE_QUICKSCREEN
45
46/* define this if you have access to the pitchscreen */
47#define HAVE_PITCHSCREEN
48
49/* define this if you would like tagcache to build on this target */
50#define HAVE_TAGCACHE
51
52/* LCD dimensions */
53#define LCD_WIDTH 176
54#define LCD_HEIGHT 220
55#define LCD_DEPTH 16 /* 65536 colours */
56#define LCD_PIXELFORMAT RGB565 /* rgb565 */
57
58#ifndef BOOTLOADER
59/* define this if you have LCD enable function */
60#define HAVE_LCD_ENABLE
61
62/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
63 should be defined as well.
64#define HAVE_LCD_SLEEP
65#define HAVE_LCD_SLEEP_SETTING
66 */
67#endif
68
69/* define this if you can flip your LCD */
70#define HAVE_LCD_FLIP
71
72/* define this if you can invert the colours on your LCD */
73#define HAVE_LCD_INVERT
74
75/* put the lcd frame buffer in IRAM */
76#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
77
78#define CONFIG_KEYPAD SANSA_E200_PAD
79
80/* Define this if you do software codec */
81#define CONFIG_CODEC SWCODEC
82
83/* There is no hardware tone control */
84#define HAVE_SW_TONE_CONTROLS
85
86/* We're working on the assumption that the AS3525 has something
87 similar to the AS3514 for audio codec etc */
88#define HAVE_AS3514
89
90/* define this if you have a real-time clock */
91#ifndef BOOTLOADER
92#define CONFIG_RTC RTC_AS3514
93#endif
94
95/* Define this if you have a software controlled poweroff */
96#define HAVE_SW_POWEROFF
97
98/* Some Sansa E200s seem to be FAT16 formatted */
99#define HAVE_FAT16SUPPORT
100
101/* The number of bytes reserved for loadable codecs */
102#define CODEC_SIZE 0x100000
103
104/* The number of bytes reserved for loadable plugins */
105#define PLUGIN_BUFFER_SIZE 0x80000
106
107#define AB_REPEAT_ENABLE 1
108
109/* FM Tuner - suspected to be the SI4702 */
110#define CONFIG_TUNER SI4700
111/* #define HAVE_TUNER_PWR_CTRL */
112
113/* Define this for LCD backlight available */
114#define HAVE_BACKLIGHT
115#define HAVE_BACKLIGHT_BRIGHTNESS
116
117/* Main LCD backlight brightness range and defaults */
118#define MIN_BRIGHTNESS_SETTING 1
119#define MAX_BRIGHTNESS_SETTING 12
120#define DEFAULT_BRIGHTNESS_SETTING 6
121
122/* Which backlight fading type? */
123#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
124
125/* define this if the unit uses a scrollwheel for navigation */
126#define HAVE_SCROLLWHEEL
127/* define to activate advanced wheel acceleration code */
128#define HAVE_WHEEL_ACCELERATION
129/* define from which rotation speed [degree/sec] on the acceleration starts */
130#define WHEEL_ACCEL_START 540
131/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
132#define WHEEL_ACCELERATION 1
133
134/* define this if you have a flash memory storage */
135#define HAVE_FLASH_STORAGE
136
137/* define this if the flash memory uses the SecureDigital Memory Card protocol */
138#define CONFIG_STORAGE STORAGE_SD
139
140#define BATTERY_CAPACITY_DEFAULT 730 /* default battery capacity */
141#define BATTERY_CAPACITY_MIN 730 /* min. capacity selectable */
142#define BATTERY_CAPACITY_MAX 730 /* max. capacity selectable */
143#define BATTERY_CAPACITY_INC 0 /* capacity increment */
144#define BATTERY_TYPES_COUNT 1 /* only one type */
145
146/* Charging implemented in a target-specific algorithm */
147#define CONFIG_CHARGING CHARGING_TARGET
148
149/* define this if the unit can be powered or charged via USB */
150#define HAVE_USB_POWER
151
152/** Non-simulator section **/
153#ifndef SIMULATOR
154
155/* Define this if you have an AMS AS3525*/
156#define CONFIG_CPU AS3525
157
158/* Define how much SD sectors are reserved for OF */
159#define AMS_OF_SIZE 0xF000
160
161/* Define this if you want to use the AS2525 i2c interface */
162#define CONFIG_I2C I2C_AS3525
163
164/* define this if the hardware can be powered off while charging */
165/* Sansa can't be powered off while charging */
166/* #define HAVE_POWEROFF_WHILE_CHARGING */
167
168/* The start address index for ROM builds */
169#define ROM_START 0x00000000
170
171/* Define this to the CPU frequency */
172#define CPU_FREQ 75000000
173
174/* Type of LCD TODO: hopefully the same as the x5 but check this*/
175#define CONFIG_LCD LCD_X5
176
177/* Offset ( in the firmware file's header ) to the file CRC and data. These are
178 only used when loading the old format rockbox.e200 file */
179#define FIRMWARE_OFFSET_FILE_CRC 0x0
180#define FIRMWARE_OFFSET_FILE_DATA 0x8
181
182#ifndef BOOTLOADER
183#define HAVE_MULTIDRIVE
184#define NUM_DRIVES 2
185#define HAVE_HOTSWAP
186#endif
187
188#define USB_HANDLED_BY_OF
189
190/* USB On-the-go */
191#define CONFIG_USBOTG USBOTG_AS3525
192
193/* enable these for the experimental usb stack */
194#define HAVE_USBSTACK
195#define USB_VENDOR_ID 0x0781
196#define USB_PRODUCT_ID 0x7423
197
198/* Define this if you have adjustable CPU frequency */
199#define HAVE_ADJUSTABLE_CPU_FREQ
200
201#define BOOTFILE_EXT "sansa"
202#define BOOTFILE "rockbox." BOOTFILE_EXT
203#define BOOTDIR "/.rockbox"
204
205#define ICODE_ATTR_TREMOR_NOT_MDCT
206
207#define INCLUDE_TIMEOUT_API
208
209#endif /* SIMULATOR */
210
211/* Default recording levels */
212#define DEFAULT_REC_MIC_GAIN 23
213#define DEFAULT_REC_LEFT_GAIN 23
214#define DEFAULT_REC_RIGHT_GAIN 23
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
new file mode 100644
index 0000000000..4ca583ca60
--- /dev/null
+++ b/firmware/export/config/sansafuze.h
@@ -0,0 +1,208 @@
1/*
2 * This config file is for the Sandisk Sansa Fuze
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 43
8#define MODEL_NAME "Sandisk Sansa Fuze"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12#if 0
13/* define this if you have recording possibility */
14#define HAVE_RECORDING
15
16#define REC_SAMPR_CAPS (SAMPR_CAP_22)
17#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
18#define REC_SAMPR_DEFAULT SAMPR_22
19
20/* Default recording levels */
21#define DEFAULT_REC_MIC_GAIN 23
22#define DEFAULT_REC_LEFT_GAIN 23
23#define DEFAULT_REC_RIGHT_GAIN 23
24
25/* Define bitmask of input sources - recordable bitmask can be defined
26 explicitly if different */
27#endif
28#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
29
30/* define this if you have a bitmap LCD display */
31#define HAVE_LCD_BITMAP
32/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR
34
35#ifndef BOOTLOADER/* define this if you want album art for this target */
36#define HAVE_ALBUMART
37
38/* define this to enable bitmap scaling */
39#define HAVE_BMP_SCALING
40
41/* define this to enable JPEG decoding */
42#define HAVE_JPEG
43
44/* define this if you have a light associated with the buttons */
45#define HAVE_BUTTON_LIGHT
46
47/* define this if you have access to the quickscreen */
48#define HAVE_QUICKSCREEN
49
50/* define this if you have access to the pitchscreen */
51#define HAVE_PITCHSCREEN
52
53/* define this if you would like tagcache to build on this target */
54#define HAVE_TAGCACHE
55
56/* define this if you have LCD enable function */
57#define HAVE_LCD_ENABLE
58
59/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
60 should be defined as well.
61#define HAVE_LCD_SLEEP
62#define HAVE_LCD_SLEEP_SETTING
63*/
64
65/* define this if you can flip your LCD */
66//#define HAVE_LCD_FLIP
67
68/* define this if you can invert the colours on your LCD */
69//#define HAVE_LCD_INVERT
70
71
72/* define this if you have a real-time clock */
73#define CONFIG_RTC RTC_AS3514
74
75/* There is no hardware tone control */
76#define HAVE_SW_TONE_CONTROLS
77
78#endif /* !BOOTLOADER */
79
80/* put the lcd frame buffer in IRAM */
81#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
82
83#define CONFIG_KEYPAD SANSA_FUZE_PAD
84
85/* Define this if you do software codec */
86#define CONFIG_CODEC SWCODEC
87
88
89/* LCD dimensions */
90#define LCD_WIDTH 220
91#define LCD_HEIGHT 176
92#define LCD_DEPTH 16 /* 65536 colours */
93#define LCD_PIXELFORMAT RGB565 /* rgb565 */
94
95
96/* We're working on the assumption that the AS3525 has something
97 similar to the AS3514 for audio codec etc */
98#define HAVE_AS3514
99
100/* Define this if you have a software controlled poweroff */
101#define HAVE_SW_POWEROFF
102
103/* Some Sansa Fuzes seem to be FAT16 formatted */
104#define HAVE_FAT16SUPPORT
105
106/* The number of bytes reserved for loadable codecs */
107#define CODEC_SIZE 0x100000
108
109/* The number of bytes reserved for loadable plugins */
110#define PLUGIN_BUFFER_SIZE 0x80000
111
112#define AB_REPEAT_ENABLE 1
113
114/* FM Tuner - suspected to be the SI4702 */
115#define CONFIG_TUNER SI4700
116/* #define HAVE_TUNER_PWR_CTRL */
117
118/* Define this for LCD backlight available */
119#define HAVE_BACKLIGHT
120#define HAVE_BACKLIGHT_BRIGHTNESS
121
122/* Main LCD backlight brightness range and defaults */
123#define MIN_BRIGHTNESS_SETTING 1
124#define MAX_BRIGHTNESS_SETTING 12
125#define DEFAULT_BRIGHTNESS_SETTING 6
126
127/* Which backlight fading type? */
128#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
129
130/* define this if the unit uses a scrollwheel for navigation */
131#define HAVE_SCROLLWHEEL
132/* define to activate advanced wheel acceleration code */
133#define HAVE_WHEEL_ACCELERATION
134/* define from which rotation speed [degree/sec] on the acceleration starts */
135#define WHEEL_ACCEL_START 540
136/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
137#define WHEEL_ACCELERATION 1
138
139/* define this if you have a flash memory storage */
140#define HAVE_FLASH_STORAGE
141
142/* define this if the flash memory uses the SecureDigital Memory Card protocol */
143#define CONFIG_STORAGE STORAGE_SD
144
145#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */
146#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
147#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
148#define BATTERY_CAPACITY_INC 0 /* capacity increment */
149#define BATTERY_TYPES_COUNT 1 /* only one type */
150
151/* Charging implemented in a target-specific algorithm */
152#define CONFIG_CHARGING CHARGING_TARGET
153
154/* define this if the unit can be powered or charged via USB */
155#define HAVE_USB_POWER
156
157/** Non-simulator section **/
158#ifndef SIMULATOR
159
160/* Define this if you have an AMS AS3525*/
161#define CONFIG_CPU AS3525
162
163/* Define how much SD sectors are reserved for OF */
164#define AMS_OF_SIZE 0xF000
165
166/* Define this if you want to use the AS2525 i2c interface */
167#define CONFIG_I2C I2C_AS3525
168
169/* Define this to the CPU frequency */
170#define CPU_FREQ 250000000
171
172/* Type of LCD */
173#define CONFIG_LCD LCD_FUZE
174
175/* Offset ( in the firmware file's header ) to the file CRC and data. These are
176 only used when loading the old format rockbox.e200 file */
177#define FIRMWARE_OFFSET_FILE_CRC 0x0
178#define FIRMWARE_OFFSET_FILE_DATA 0x8
179
180#ifndef BOOTLOADER
181#define HAVE_MULTIDRIVE
182#define NUM_DRIVES 2
183#define HAVE_HOTSWAP
184#endif
185
186#define USB_HANDLED_BY_OF
187
188/* USB On-the-go */
189#define CONFIG_USBOTG USBOTG_AS3525
190
191/* enable these for the experimental usb stack */
192#define HAVE_USBSTACK
193#define USB_VENDOR_ID 0x0781
194#define USB_PRODUCT_ID 0x7423
195
196/* Define this if you have adjustable CPU frequency */
197#define HAVE_ADJUSTABLE_CPU_FREQ
198
199#define BOOTFILE_EXT "sansa"
200#define BOOTFILE "rockbox." BOOTFILE_EXT
201#define BOOTDIR "/.rockbox"
202
203#define ICODE_ATTR_TREMOR_NOT_MDCT
204
205#define INCLUDE_TIMEOUT_API
206
207#endif /* SIMULATOR */
208
diff --git a/firmware/export/config/sansam200.h b/firmware/export/config/sansam200.h
new file mode 100644
index 0000000000..3ec721cc7c
--- /dev/null
+++ b/firmware/export/config/sansam200.h
@@ -0,0 +1,136 @@
1/*
2 * This config file is for the Sansa M200 series
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 29
8
9#define MODEL_NAME "Sandisk Sansa m200 series"
10
11/* Enable FAT16 support */
12#define HAVE_FAT16SUPPORT
13
14/* define this if you have recording possibility */
15//#define HAVE_RECORDING
16
17/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
20
21/* define this if you have a bitmap LCD display */
22#define HAVE_LCD_BITMAP
23
24/* define this if you can flip your LCD */
25#define HAVE_LCD_FLIP
26
27/* define this if you can invert the colours on your LCD */
28#define HAVE_LCD_INVERT
29
30/* define this if you have access to the quickscreen */
31#define HAVE_QUICKSCREEN
32/* define this if you have access to the pitchscreen */
33#define HAVE_PITCHSCREEN
34
35/* define this if you would like tagcache to build on this target */
36#define HAVE_TAGCACHE
37
38/* define this if you have a flash memory storage */
39#define HAVE_FLASH_STORAGE
40
41#define CONFIG_STORAGE STORAGE_NAND
42
43#define CONFIG_NAND NAND_TCC
44
45/* LCD dimensions */
46#define LCD_WIDTH 128
47#define LCD_HEIGHT 64
48#define LCD_DEPTH 1
49
50#define LCD_PIXELFORMAT VERTICAL_PACKING
51
52/* Display colours, for screenshots and sim (0xRRGGBB) */
53#define LCD_BARKCOLOR 0x000000
54#define LCD_BRIGHTCOLOR 0x5e6854
55#define LCD_BL_DARKCOLOR 0x000000
56#define LCD_BL_BRIGHTCOLOR 0x3ca0e6
57
58/* define this to indicate your device's keypad */
59#define CONFIG_KEYPAD SANSA_M200_PAD
60
61/* define this if you have a real-time clock */
62#define CONFIG_RTC RTC_TCC77X
63
64/* define this if you have RTC RAM available for settings */
65//#define HAVE_RTC_RAM
66
67/* Define this if you have a software controlled poweroff */
68#define HAVE_SW_POWEROFF
69
70/* The number of bytes reserved for loadable codecs */
71#define CODEC_SIZE 0x38000
72
73/* The number of bytes reserved for loadable plugins */
74#define PLUGIN_BUFFER_SIZE 0x10000
75
76#define AB_REPEAT_ENABLE 1
77
78/* Define this if you do software codec */
79#define CONFIG_CODEC SWCODEC
80
81/* Define this if you have the TLV320 audio codec */
82#define HAVE_TLV320
83
84/* TLV320 has no tone controls, so we use the software ones */
85#define HAVE_SW_TONE_CONTROLS
86
87/* Define this for LCD backlight available */
88#define HAVE_BACKLIGHT
89
90#define CONFIG_I2C I2C_TCC77X
91
92#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
93#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
94#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
95#define BATTERY_CAPACITY_INC 50 /* capacity increment */
96#define BATTERY_TYPES_COUNT 1 /* only one type */
97
98/* define this if the unit should not shut down on low battery. */
99#define NO_LOW_BATTERY_SHUTDOWN
100
101#ifndef SIMULATOR
102
103/* Define this if you have a TCC770 */
104#define CONFIG_CPU TCC770
105
106/* Define this if you have ATA power-off control */
107#define HAVE_ATA_POWER_OFF
108
109/* Define this to the CPU frequency */
110#define CPU_FREQ 120000000
111
112/* Offset ( in the firmware file's header ) to the file CRC */
113#define FIRMWARE_OFFSET_FILE_CRC 0
114
115/* Offset ( in the firmware file's header ) to the real data */
116#define FIRMWARE_OFFSET_FILE_DATA 8
117
118#define CONFIG_LCD LCD_SSD1815
119
120#define BOOTFILE_EXT "m200"
121#define BOOTFILE "rockbox." BOOTFILE_EXT
122#define BOOTDIR "/"
123
124#define IBSS_ATTR_VOICE_STACK
125#define ICODE_ATTR_TREMOR_NOT_MDCT
126#define ICODE_ATTR_TREMOR_MDCT
127#define ICODE_ATTR_FLAC
128#define IBSS_ATTR_FLAC_DECODED0
129#define ICONST_ATTR_MPA_HUFFMAN
130#define IBSS_ATTR_MPC_SAMPLE_BUF
131#define ICODE_ATTR_ALAC
132#define IBSS_ATTR_SHORTEN_DECODED0
133
134#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
135
136#endif /* SIMULATOR */
diff --git a/firmware/export/config/sansam200v4.h b/firmware/export/config/sansam200v4.h
new file mode 100644
index 0000000000..21038349fd
--- /dev/null
+++ b/firmware/export/config/sansam200v4.h
@@ -0,0 +1,171 @@
1/*
2 * This config file is for the Sansa M200 V4 series
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 42
8
9#define MODEL_NAME "Sandisk Sansa m200 v4 series"
10
11/* Enable FAT16 support */
12#define HAVE_FAT16SUPPORT
13
14#if 0 /* disabled since there is no driver (yet) */
15
16#define HW_SAMPR_CAPS (SAMPR_CAP_44)
17
18/* define this if you have recording possibility */
19#define HAVE_RECORDING
20
21#define REC_SAMPR_CAPS (SAMPR_CAP_22)
22#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
23#define REC_SAMPR_DEFAULT SAMPR_22
24
25#endif
26
27/* Define bitmask of input sources - recordable bitmask can be defined
28 explicitly if different */
29#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
30
31/* define this if you have a bitmap LCD display */
32#define HAVE_LCD_BITMAP
33
34/* define this if you can flip your LCD */
35#define HAVE_LCD_FLIP
36
37/* define this if you can invert the colours on your LCD */
38#define HAVE_LCD_INVERT
39
40/* define this if you have access to the quickscreen */
41//#define HAVE_QUICKSCREEN
42/* define this if you have access to the pitchscreen */
43#define HAVE_PITCHSCREEN
44
45/* define this if you would like tagcache to build on this target */
46//#define HAVE_TAGCACHE
47
48/* define this if you have a flash memory storage */
49#define HAVE_FLASH_STORAGE
50
51/* define this if the flash memory uses the SecureDigital Memory Card protocol */
52#define CONFIG_STORAGE STORAGE_SD
53
54/* LCD dimensions */
55#define LCD_WIDTH 128
56#define LCD_HEIGHT 64
57#define LCD_DEPTH 1
58
59#define LCD_PIXELFORMAT VERTICAL_PACKING
60
61/* Display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_DARKCOLOR 0x000000
63#define LCD_BRIGHTCOLOR 0x5e6854
64#define LCD_BL_DARKCOLOR 0x000000
65#define LCD_BL_BRIGHTCOLOR 0x3ca0e6
66
67/* define this to indicate your device's keypad */
68#define CONFIG_KEYPAD SANSA_M200_PAD
69
70/* define this if you have a real-time clock */
71#ifndef BOOTLOADER
72#define CONFIG_RTC RTC_AS3514
73#endif
74
75/* define this if you have RTC RAM available for settings */
76//#define HAVE_RTC_RAM
77
78/* Define this if you have a software controlled poweroff */
79#define HAVE_SW_POWEROFF
80
81/* The number of bytes reserved for loadable codecs */
82#define CODEC_SIZE 0x48000 /* in IRAM */
83
84/* The number of bytes reserved for loadable plugins */
85#define PLUGIN_BUFFER_SIZE 0x60000
86
87#define AB_REPEAT_ENABLE 1
88
89#define CONFIG_TUNER TEA5767
90#define CONFIG_TUNER_XTAL 32768
91
92/* Define this if you do software codec */
93#define CONFIG_CODEC SWCODEC
94
95/* Define this if you have the TLV320 audio codec */
96/*#define HAVE_TLV320*/
97
98/* TLV320 has no tone controls, so we use the software ones */
99#define HAVE_SW_TONE_CONTROLS
100
101/* We're working on the assumption that the AS3525 has something
102 similar to the AS3514 for audio codec etc */
103#define HAVE_AS3514
104
105/* Define this for LCD backlight available */
106#define HAVE_BACKLIGHT
107
108/* Define how much SD sectors are reserved for OF */
109#define AMS_OF_SIZE 0x5000
110
111#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
112#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
113#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
114#define BATTERY_CAPACITY_INC 50 /* capacity increment */
115#define BATTERY_TYPES_COUNT 1 /* only one type */
116
117/* define this if the unit should not shut down on low battery. */
118#define NO_LOW_BATTERY_SHUTDOWN
119
120#ifndef SIMULATOR
121
122/* Define this if you have an AMS AS3525 */
123#define CONFIG_CPU AS3525
124
125/* Define this if you want to use the AS3525 i2c interface */
126#define CONFIG_I2C I2C_AS3525
127
128/* Define this to the CPU frequency */
129#define CPU_FREQ 250000000
130
131/* Define this if you have adjustable CPU frequency */
132#define HAVE_ADJUSTABLE_CPU_FREQ
133
134/* Offset ( in the firmware file's header ) to the file CRC */
135#define FIRMWARE_OFFSET_FILE_CRC 0
136
137/* Offset ( in the firmware file's header ) to the real data */
138#define FIRMWARE_OFFSET_FILE_DATA 8
139
140#ifndef BOOTLOADER
141
142#define USB_HANDLED_BY_OF
143
144#define CONFIG_USBOTG USBOTG_AS3525
145
146/* enable these for the experimental usb stack */
147#define HAVE_USBSTACK
148#define USB_VENDOR_ID 0x0781
149#define USB_PRODUCT_ID 0x7431
150
151#endif /* BOOTLOADER */
152
153#define CONFIG_LCD LCD_SSD1815
154
155#define BOOTFILE_EXT "sansa"
156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox"
158
159#define IBSS_ATTR_VOICE_STACK
160#define ICODE_ATTR_TREMOR_NOT_MDCT
161#define ICODE_ATTR_TREMOR_MDCT
162#define ICODE_ATTR_FLAC
163#define IBSS_ATTR_FLAC_DECODED0
164#define ICONST_ATTR_MPA_HUFFMAN
165#define IBSS_ATTR_MPC_SAMPLE_BUF
166#define ICODE_ATTR_ALAC
167#define IBSS_ATTR_SHORTEN_DECODED0
168
169#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
170
171#endif /* SIMULATOR */
diff --git a/firmware/export/config/sansaview.h b/firmware/export/config/sansaview.h
new file mode 100644
index 0000000000..4ba5d916ba
--- /dev/null
+++ b/firmware/export/config/sansaview.h
@@ -0,0 +1,205 @@
1/*
2 * This config file is for the Sandisk Sansa View
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 63
8#define MODEL_NAME "Sandisk View"
9
10#define HW_SAMPR_CAPS (SAMPR_CAP_44)
11
12/* define this if you have recording possibility */
13/* #define HAVE_RECORDING */
14
15#define REC_SAMPR_CAPS (SAMPR_CAP_22)
16#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
17#define REC_SAMPR_DEFAULT SAMPR_22
18
19/* Define bitmask of input sources - recordable bitmask can be defined
20 explicitly if different */
21#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
22
23/* define this if you have a bitmap LCD display */
24#define HAVE_LCD_BITMAP
25
26/* define this if you have a colour LCD */
27#define HAVE_LCD_COLOR
28
29/* define this if you want album art for this target */
30#define HAVE_ALBUMART
31
32/* define this to enable bitmap scaling */
33#define HAVE_BMP_SCALING
34
35/* define this to enable JPEG decoding */
36#define HAVE_JPEG
37
38/* define this if you have a light associated with the buttons */
39#define HAVE_BUTTON_LIGHT
40
41/* define this if you have access to the quickscreen */
42#define HAVE_QUICKSCREEN
43
44/* define this if you have access to the pitchscreen */
45#define HAVE_PITCHSCREEN
46
47/* define this if you would like tagcache to build on this target */
48#define HAVE_TAGCACHE
49
50/* LCD dimensions */
51#define LCD_WIDTH 240
52#define LCD_HEIGHT 320
53#define LCD_DEPTH 16 /* 65536 colours */
54#define LCD_PIXELFORMAT RGB565 /* rgb565 */
55
56#ifndef BOOTLOADER
57/* define this if you have LCD enable function */
58/* #define HAVE_LCD_ENABLE */
59
60/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
61 should be defined as well. */
62/* #define HAVE_LCD_SLEEP */
63/* #define HAVE_LCD_SLEEP_SETTING */
64#endif
65
66/* define this if you can flip your LCD */
67#define HAVE_LCD_FLIP
68
69/* define this if you can invert the colours on your LCD */
70#define HAVE_LCD_INVERT
71
72/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
73
74/* The only difference is that the power/hold is on the left instead of right on Fuze */
75#define CONFIG_KEYPAD SANSA_FUZE_PAD
76
77/* Define this if you do software codec */
78#define CONFIG_CODEC SWCODEC
79/* There is no hardware tone control */
80#define HAVE_SW_TONE_CONTROLS
81
82/* define this if you have a real-time clock */
83#ifndef BOOTLOADER
84/* #define CONFIG_RTC RTC_ */
85#endif
86
87/* Define this if you have a software controlled poweroff */
88#define HAVE_SW_POWEROFF
89
90/* Required for MicroSD cards */
91#define HAVE_FAT16SUPPORT
92
93/* The number of bytes reserved for loadable codecs */
94#define CODEC_SIZE 0x100000
95
96/* The number of bytes reserved for loadable plugins */
97#define PLUGIN_BUFFER_SIZE 0x80000
98
99#define AB_REPEAT_ENABLE 1
100
101/* Define this for LCD backlight available */
102#define HAVE_BACKLIGHT
103/* #define HAVE_BACKLIGHT_BRIGHTNESS */
104
105/* define this if the unit uses a scrollwheel for navigation */
106#define HAVE_SCROLLWHEEL
107/* define to activate advanced wheel acceleration code */
108#define HAVE_WHEEL_ACCELERATION
109/* define from which rotation speed [degree/sec] on the acceleration starts */
110#define WHEEL_ACCEL_START 540
111/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
112#define WHEEL_ACCELERATION 1
113
114/* define this if you have a flash memory storage */
115#define HAVE_FLASH_STORAGE
116
117/* define this if the flash memory uses the SecureDigital Memory Card protocol */
118#define CONFIG_STORAGE STORAGE_SD
119
120#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
121#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
122#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
123#define BATTERY_CAPACITY_INC 0 /* capacity increment */
124#define BATTERY_TYPES_COUNT 1 /* only one type */
125
126/* Charging implemented in a target-specific algorithm */
127#define CONFIG_CHARGING CHARGING_SIMPLE
128#define HAVE_POWEROFF_WHILE_CHARGING
129
130/* define current usage levels */
131#define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */
132#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
133#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/
134
135/* define this if the unit can be powered or charged via USB */
136#define HAVE_USB_POWER
137
138/** Non-simulator section **/
139#ifndef SIMULATOR
140
141/* Define this if you have a PortalPlayer PP5024 */
142#define CONFIG_CPU PP6100
143
144/* Define this if you want to use the PP5024 i2c interface */
145#define CONFIG_I2C I2C_PP5024
146
147/* define this if the hardware can be powered off while charging */
148/* Sansa can't be powered off while charging */
149/* #define HAVE_POWEROFF_WHILE_CHARGING */
150
151/* The start address index for ROM builds */
152#define ROM_START 0x00000000
153
154/* Define this to the CPU frequency */
155#define CPU_FREQ 250000000
156
157/* Type of LCD TODO: hopefully the same as the x5 but check this*/
158#define CONFIG_LCD LCD_VIEW
159
160/* Offset ( in the firmware file's header ) to the file CRC and data. These are
161 only used when loading the old format rockbox.e200 file
162 Required for bootloader/common.c to compile */
163#define FIRMWARE_OFFSET_FILE_CRC 0x0
164#define FIRMWARE_OFFSET_FILE_DATA 0x8
165
166#ifndef BOOTLOADER
167#define HAVE_MULTIDRIVE
168#define NUM_DRIVES 2
169#define HAVE_HOTSWAP
170#endif
171
172/* USB On-the-go */
173/* #define CONFIG_USBOTG USBOTG_ARC */
174
175/* enable these for the experimental usb stack */
176#define HAVE_USBSTACK
177#define USE_ROCKBOX_USB
178#define USB_VENDOR_ID 0x0781
179#define USB_PRODUCT_ID 0x74b1
180
181/* Define this if you have adjustable CPU frequency */
182/* #define HAVE_ADJUSTABLE_CPU_FREQ */
183
184#define MI4_FORMAT
185#define BOOTFILE_EXT "mi4"
186#define BOOTFILE "rockbox." BOOTFILE_EXT
187#define BOOTDIR "/.rockbox"
188
189#define ICODE_ATTR_TREMOR_NOT_MDCT
190
191#define INCLUDE_TIMEOUT_API
192
193#endif /* SIMULATOR */
194
195/** Port-specific settings **/
196
197/* Main LCD backlight brightness range and defaults */
198#define MIN_BRIGHTNESS_SETTING 1
199#define MAX_BRIGHTNESS_SETTING 12
200#define DEFAULT_BRIGHTNESS_SETTING 6
201
202/* Default recording levels */
203#define DEFAULT_REC_MIC_GAIN 23
204#define DEFAULT_REC_LEFT_GAIN 23
205#define DEFAULT_REC_RIGHT_GAIN 23
diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h
new file mode 100644
index 0000000000..cdb1eb93ac
--- /dev/null
+++ b/firmware/export/config/tatungtpj1022.h
@@ -0,0 +1,142 @@
1/*
2 * This config file is for the Tatung Elio TPJ-1022
3 */
4
5#define TARGET_TREE /* this target is using the target tree system */
6
7#define MODEL_NAME "Tatung Elio TPJ-1022"
8
9/* For Rolo and boot loader */
10#define MODEL_NUMBER 15
11
12/* define this if you use an ATA controller */
13#define CONFIG_STORAGE STORAGE_ATA
14
15/* define this if you have recording possibility */
16/*#define HAVE_RECORDING*/ /* TODO: add support for this */
17
18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
20 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
21
22/* define the bitmask of recording sample rates
23#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
24 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
25
26/* define this if you have a bitmap LCD display */
27#define HAVE_LCD_BITMAP
28
29/* define this if you have a colour LCD */
30#define HAVE_LCD_COLOR
31
32/* define this if you have access to the quickscreen */
33#define HAVE_QUICKSCREEN
34
35/* define this if you have access to the pitchscreen */
36#define HAVE_PITCHSCREEN
37
38/* LCD dimensions */
39#define LCD_WIDTH 220
40#define LCD_HEIGHT 176
41#define LCD_DEPTH 16 /* 65536 colours */
42#define LCD_PIXELFORMAT RGB565
43
44/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
45
46#define CONFIG_KEYPAD ELIO_TPJ1022_PAD
47
48/* Define this if you do software codec */
49#define CONFIG_CODEC SWCODEC
50
51/* define this if you have a real-time clock */
52#ifndef BOOTLOADER
53//#define CONFIG_RTC RTC_E8564
54#endif
55
56/* Define this if you have a software controlled poweroff */
57#define HAVE_SW_POWEROFF
58
59/* The number of bytes reserved for loadable codecs */
60#define CODEC_SIZE 0x100000
61
62/* The number of bytes reserved for loadable plugins */
63#define PLUGIN_BUFFER_SIZE 0x80000
64
65/* Define this if you have the WM8731 audio codec */
66#define HAVE_WM8731
67
68#define AB_REPEAT_ENABLE 1
69
70/* define this if you have a disk storage, i.e. something
71 that needs spinups and can cause skips when shaked */
72#define HAVE_DISK_STORAGE
73
74/* Define this for LCD backlight available */
75#define HAVE_BACKLIGHT
76
77#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity
78 TODO: check this, probably different
79 for different models too */
80#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
81#define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */
82#define BATTERY_CAPACITY_INC 10 /* capacity increment */
83#define BATTERY_TYPES_COUNT 1 /* only one type */
84
85/* Hardware controlled charging? FIXME */
86#define CONFIG_CHARGING CHARGING_SIMPLE
87
88/* define this if the unit can be powered or charged via USB */
89/*#define HAVE_USB_POWER*/
90
91#ifndef SIMULATOR
92
93/* Define this if you have a PortalPlayer PP5020 */
94#define CONFIG_CPU PP5020
95
96/* Define this if you want to use the PP5020 i2c interface */
97#define CONFIG_I2C I2C_PP5020
98
99/* define this if the hardware can be powered off while charging */
100/* TODO: should this be set for the H10? */
101//#define HAVE_POWEROFF_WHILE_CHARGING
102
103/* The start address index for ROM builds */
104#define ROM_START 0x00000000
105
106/* Define this to the CPU frequency */
107/* TODO: this is probably wrong */
108#define CPU_FREQ 11289600
109
110/* Type of LCD */
111#define CONFIG_LCD LCD_TPJ1022
112
113#define DEFAULT_CONTRAST_SETTING 19
114
115/* Offset ( in the firmware file's header ) to the file length */
116#define FIRMWARE_OFFSET_FILE_LENGTH 0
117
118/* Offset ( in the firmware file's header ) to the file CRC */
119#define FIRMWARE_OFFSET_FILE_CRC 0
120
121/* Offset ( in the firmware file's header ) to the real data */
122#define FIRMWARE_OFFSET_FILE_DATA 8
123
124/* USB On-the-go */
125#define CONFIG_USBOTG USBOTG_ARC
126
127/* define this if the unit can be powered or charged via USB */
128#define HAVE_USB_POWER
129
130/* enable these for the experimental usb stack ROOLKU */
131#define HAVE_USBSTACK
132#define USB_VENDOR_ID 0x07B4
133#define USB_PRODUCT_ID 0x0280
134
135/* Define this if you have adjustable CPU frequency */
136#define HAVE_ADJUSTABLE_CPU_FREQ
137
138#define BOOTFILE_EXT "elio"
139#define BOOTFILE "rockbox." BOOTFILE_EXT
140#define BOOTDIR "/.rockbox"
141
142#endif
diff --git a/firmware/export/config/zenvision.h b/firmware/export/config/zenvision.h
new file mode 100644
index 0000000000..48a9653ee9
--- /dev/null
+++ b/firmware/export/config/zenvision.h
@@ -0,0 +1,173 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Creative Zen Vision
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define CREATIVE_ZV 1
30
31#define MODEL_NAME "Creative Zen Vision"
32
33/* This makes it part of the Creative Zen Vision family :) */
34#define CREATIVE_ZVx 1
35
36/* For Rolo and boot loader */
37#define MODEL_NUMBER 28
38
39/* define this if you use an ATA controller */
40#define CONFIG_STORAGE STORAGE_ATA
41
42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP
44
45/* define this if you have a colour LCD */
46#define HAVE_LCD_COLOR
47
48/* define this if you have access to the quickscreen */
49#define HAVE_QUICKSCREEN
50
51/* define this if you have access to the pitchscreen */
52#define HAVE_PITCHSCREEN
53
54/* define this if you would like tagcache to build on this target */
55#define HAVE_TAGCACHE
56
57/* define this if the target has volume keys which can be used in the lists */
58//#define HAVE_VOLUME_IN_LIST
59
60/* LCD dimensions */
61#define CONFIG_LCD LCD_CREATIVEZVM
62
63/* choose the lcd orientation. both work */
64#define CONFIG_ORIENTATION SCREEN_PORTRAIT
65
66#define LCD_WIDTH 640
67#define LCD_HEIGHT 480
68
69#define LCD_DEPTH 16 /* 65k colours */
70#define LCD_PIXELFORMAT RGB565 /* rgb565 */
71
72/* Define this if your LCD can be enabled/disabled */
73#define HAVE_LCD_ENABLE
74
75#define CONFIG_KEYPAD CREATIVEZV_PAD
76#define HAVE_HEADPHONE_DETECTION
77//#define HAVE_TOUCHPAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83//#define CONFIG_RTC RTC_RX5X348AB
84
85/* define this if you have a disk storage, i.e. something
86 that needs spinups and can cause skips when shaked */
87#define HAVE_DISK_STORAGE
88
89/* Define this for LCD backlight available */
90//#define HAVE_BACKLIGHT
91
92//#define HAVE_BACKLIGHT_BRIGHTNESS
93
94/* Main LCD backlight brightness range and defaults */
95//#define MIN_BRIGHTNESS_SETTING 0
96//#define MAX_BRIGHTNESS_SETTING 127
97//#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
98//#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
99
100/* Define this if you have a software controlled poweroff */
101//#define HAVE_SW_POWEROFF
102//TODO: enable this back
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x100000
109
110/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
111#define HAVE_TLV320
112
113#define CONFIG_I2C I2C_DM320
114
115/* TLV320 has no tone controls, so we use the software ones */
116#define HAVE_SW_TONE_CONTROLS
117
118/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
119 SAMPR_CAP_11)*/
120
121#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
122#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
123#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
124#define BATTERY_CAPACITY_INC 100 /* capacity increment */
125#define BATTERY_TYPES_COUNT 1 /* only one type */
126
127/* Hardware controlled charging with monitoring */
128//#define CONFIG_CHARGING CHARGING_MONITOR
129
130#ifndef SIMULATOR
131
132/* Define this if you have a TI TMS320DM320 */
133#define CONFIG_CPU DM320
134
135/* define this if the hardware can be powered off while charging */
136#define HAVE_POWEROFF_WHILE_CHARGING
137
138/* The size of the flash ROM */
139#define FLASH_SIZE 0x400000
140
141/* Define this to the CPU frequency */
142#define CPU_FREQ 16934400
143
144/* Define this if you have ATA power-off control */
145#define HAVE_ATA_POWER_OFF
146
147/* Virtual LED (icon) */
148#define CONFIG_LED LED_VIRTUAL
149
150/* define this if the backlight can be set to a brightness */
151//#define __BACKLIGHT_INIT
152
153/* Offset ( in the firmware file's header ) to the file CRC */
154#define FIRMWARE_OFFSET_FILE_CRC 0
155
156/* Offset ( in the firmware file's header ) to the real data */
157#define FIRMWARE_OFFSET_FILE_DATA 8
158
159/* Define this if you have adjustable CPU frequency */
160/* #define HAVE_ADJUSTABLE_CPU_FREQ */
161
162#define BOOTFILE_EXT "zv"
163#define BOOTFILE "rockbox." BOOTFILE_EXT
164#define BOOTDIR "/.rockbox"
165
166#define CONFIG_USBOTG USBOTG_ISP1583
167#define HAVE_USBSTACK
168#define USE_ROCKBOX_USB
169#define USB_VENDOR_ID 0x041e
170#define USB_PRODUCT_ID 0x4133
171#define USB_NUM_ENDPOINTS 7
172
173#endif /* SIMULATOR */
diff --git a/firmware/export/config/zenvisionm30gb.h b/firmware/export/config/zenvisionm30gb.h
new file mode 100644
index 0000000000..752ec4eb22
--- /dev/null
+++ b/firmware/export/config/zenvisionm30gb.h
@@ -0,0 +1,179 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Creative Zen Vision:M
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define CREATIVE_ZVM 1
30
31#define MODEL_NAME "Creative Zen Vision:M"
32
33/* This makes it part of the Creative Zen Vision family :) */
34#define CREATIVE_ZVx 1
35
36/* For Rolo and boot loader */
37#define MODEL_NUMBER 26
38
39/* define this if you use an ATA controller */
40#define CONFIG_STORAGE STORAGE_ATA
41
42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP
44
45/* define this if you have a colour LCD */
46#define HAVE_LCD_COLOR
47
48/* define this if you have access to the quickscreen */
49#define HAVE_QUICKSCREEN
50
51/* define this if you have access to the pitchscreen */
52#define HAVE_PITCHSCREEN
53
54/* define this if you would like tagcache to build on this target */
55#define HAVE_TAGCACHE
56
57/* define this if the target has volume keys which can be used in the lists */
58//#define HAVE_VOLUME_IN_LIST
59
60/* LCD dimensions */
61#define CONFIG_LCD LCD_CREATIVEZVM
62
63/* choose the lcd orientation. both work */
64#define CONFIG_ORIENTATION SCREEN_PORTRAIT
65
66#define LCD_WIDTH 320
67#define LCD_HEIGHT 240
68
69#define LCD_DEPTH 16 /* 65k colours */
70#define LCD_PIXELFORMAT RGB565 /* rgb565 */
71
72/* Define this if your LCD can be enabled/disabled */
73/* Disabled until properly working
74#define HAVE_LCD_ENABLE */
75
76#define CONFIG_KEYPAD CREATIVEZVM_PAD
77#define HAVE_HEADPHONE_DETECTION
78//#define HAVE_TOUCHPAD
79
80/* Define this if you do software codec */
81#define CONFIG_CODEC SWCODEC
82
83/* define this if you have a real-time clock */
84//#define CONFIG_RTC RTC_RX5X348AB
85
86/* define this if you have a disk storage, i.e. something
87 that needs spinups and can cause skips when shaked */
88#define HAVE_DISK_STORAGE
89
90/* Define this for LCD backlight available */
91//#define HAVE_BACKLIGHT
92
93//#define HAVE_BACKLIGHT_BRIGHTNESS
94
95/* Main LCD backlight brightness range and defaults */
96//#define MIN_BRIGHTNESS_SETTING 0
97//#define MAX_BRIGHTNESS_SETTING 127
98//#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
99//#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
100
101/* Define this if you have a software controlled poweroff */
102//#define HAVE_SW_POWEROFF
103//TODO: enable this back
104
105/* The number of bytes reserved for loadable codecs */
106#define CODEC_SIZE 0x100000
107
108/* The number of bytes reserved for loadable plugins */
109#define PLUGIN_BUFFER_SIZE 0x100000
110
111/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
112#define HAVE_TLV320
113
114#define CONFIG_I2C I2C_DM320
115
116/* TLV320 has no tone controls, so we use the software ones */
117#define HAVE_SW_TONE_CONTROLS
118
119/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
120 SAMPR_CAP_11)*/
121
122#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
123#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
124#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
125#define BATTERY_CAPACITY_INC 100 /* capacity increment */
126#define BATTERY_TYPES_COUNT 1 /* only one type */
127
128/* Hardware controlled charging with monitoring */
129//#define CONFIG_CHARGING CHARGING_MONITOR
130
131#ifndef SIMULATOR
132
133/* Define this if you have a TI TMS320DM320 */
134#define CONFIG_CPU DM320
135
136/* define this if the hardware can be powered off while charging */
137#define HAVE_POWEROFF_WHILE_CHARGING
138
139/* The size of the flash ROM */
140#define FLASH_SIZE 0x400000
141
142/* Define this to the CPU frequency */
143#define CPU_FREQ 16934400
144
145/* Define this if you have ATA power-off control */
146#define HAVE_ATA_POWER_OFF
147
148/* define this if the backlight can be set to a brightness */
149//#define __BACKLIGHT_INIT
150
151/* Offset ( in the firmware file's header ) to the file CRC */
152#define FIRMWARE_OFFSET_FILE_CRC 0
153
154/* Offset ( in the firmware file's header ) to the real data */
155#define FIRMWARE_OFFSET_FILE_DATA 8
156
157/* Define this if you have adjustable CPU frequency */
158/* #define HAVE_ADJUSTABLE_CPU_FREQ */
159
160#define BOOTFILE_EXT "zvm"
161#define BOOTFILE "rockbox." BOOTFILE_EXT
162#define BOOTDIR "/.rockbox"
163
164#define CONFIG_USBOTG USBOTG_ISP1583
165#define HAVE_USBSTACK
166#define USE_ROCKBOX_USB
167#define USB_VENDOR_ID 0x041e
168#define USB_PRODUCT_ID 0x4133
169#define USB_NUM_ENDPOINTS 7
170
171/*DEBUGGING!*/
172/*
173#define THREAD_EXTRA_CHECKS 1
174#define DEBUG 1
175#define debug(msg) printf(msg)
176#define BUTTON_DEBUG
177*/
178
179#endif
diff --git a/firmware/export/config/zenvisionm60gb.h b/firmware/export/config/zenvisionm60gb.h
new file mode 100644
index 0000000000..6d6228304b
--- /dev/null
+++ b/firmware/export/config/zenvisionm60gb.h
@@ -0,0 +1,171 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Maurus Cuelenaere
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Creative Zen Vision:M 60GB
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x00900000
28
29#define CREATIVE_ZVM60GB 1
30
31#define MODEL_NAME "Creative Zen Vision:M 60GB"
32
33/* This makes it part of the Creative Zen Vision family :) */
34#define CREATIVE_ZVx 1
35
36/* For Rolo and boot loader */
37#define MODEL_NUMBER 27
38
39/* define this if you use an ATA controller */
40#define CONFIG_STORAGE STORAGE_ATA
41
42/* define this if you have a bitmap LCD display */
43#define HAVE_LCD_BITMAP
44
45/* define this if you have a colour LCD */
46#define HAVE_LCD_COLOR
47
48/* define this if you have access to the quickscreen */
49#define HAVE_QUICKSCREEN
50
51/* define this if you have access to the pitchscreen */
52#define HAVE_PITCHSCREEN
53
54/* define this if you would like tagcache to build on this target */
55#define HAVE_TAGCACHE
56
57/* define this if the target has volume keys which can be used in the lists */
58//#define HAVE_VOLUME_IN_LIST
59
60/* LCD dimensions */
61#define CONFIG_LCD LCD_CREATIVEZVM
62
63/* choose the lcd orientation. both work */
64#define CONFIG_ORIENTATION SCREEN_PORTRAIT
65
66#define LCD_WIDTH 320
67#define LCD_HEIGHT 240
68
69#define LCD_DEPTH 16 /* 65k colours */
70#define LCD_PIXELFORMAT RGB565 /* rgb565 */
71
72/* Define this if your LCD can be enabled/disabled */
73#define HAVE_LCD_ENABLE
74
75#define CONFIG_KEYPAD CREATIVEZVM_PAD
76#define HAVE_HEADPHONE_DETECTION
77//#define HAVE_TOUCHPAD
78
79/* Define this if you do software codec */
80#define CONFIG_CODEC SWCODEC
81
82/* define this if you have a real-time clock */
83//#define CONFIG_RTC RTC_RX5X348AB
84
85/* define this if you have a disk storage, i.e. something
86 that needs spinups and can cause skips when shaked */
87#define HAVE_DISK_STORAGE
88
89/* Define this for LCD backlight available */
90//#define HAVE_BACKLIGHT
91
92//#define HAVE_BACKLIGHT_BRIGHTNESS
93
94/* Main LCD backlight brightness range and defaults */
95//#define MIN_BRIGHTNESS_SETTING 0
96//#define MAX_BRIGHTNESS_SETTING 127
97//#define DEFAULT_BRIGHTNESS_SETTING 85 /* OF "full brightness" */
98//#define DEFAULT_DIMNESS_SETTING 22 /* OF "most dim" */
99
100/* Define this if you have a software controlled poweroff */
101//#define HAVE_SW_POWEROFF
102//TODO: enable this back
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x100000
109
110/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
111#define HAVE_TLV320
112
113#define CONFIG_I2C I2C_DM320
114
115/* TLV320 has no tone controls, so we use the software ones */
116#define HAVE_SW_TONE_CONTROLS
117
118/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
119 SAMPR_CAP_11)*/
120
121#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
122#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
123#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
124#define BATTERY_CAPACITY_INC 100 /* capacity increment */
125#define BATTERY_TYPES_COUNT 1 /* only one type */
126
127/* Hardware controlled charging with monitoring */
128//#define CONFIG_CHARGING CHARGING_MONITOR
129
130#ifndef SIMULATOR
131
132/* Define this if you have a TI TMS320DM320 */
133#define CONFIG_CPU DM320
134
135/* define this if the hardware can be powered off while charging */
136#define HAVE_POWEROFF_WHILE_CHARGING
137
138/* The size of the flash ROM */
139#define FLASH_SIZE 0x400000
140
141/* Define this to the CPU frequency */
142#define CPU_FREQ 16934400
143
144/* Define this if you have ATA power-off control */
145#define HAVE_ATA_POWER_OFF
146
147/* define this if the backlight can be set to a brightness */
148//#define __BACKLIGHT_INIT
149
150/* Offset ( in the firmware file's header ) to the file CRC */
151#define FIRMWARE_OFFSET_FILE_CRC 0
152
153/* Offset ( in the firmware file's header ) to the real data */
154#define FIRMWARE_OFFSET_FILE_DATA 8
155
156/* Define this if you have adjustable CPU frequency */
157/* #define HAVE_ADJUSTABLE_CPU_FREQ */
158
159#define BOOTFILE_EXT "zvm60"
160#define BOOTFILE "rockbox." BOOTFILE_EXT
161#define BOOTDIR "/.rockbox"
162
163/* #define CONFIG_USBOTG USBOTG_ISP1761 */
164#define CONFIG_USBOTG USBOTG_ISP1583
165#define HAVE_USBSTACK
166#define USE_ROCKBOX_USB
167#define USB_VENDOR_ID 0x041e
168#define USB_PRODUCT_ID 0x4133
169#define USB_NUM_ENDPOINTS 7
170
171#endif /* SIMULATOR */