summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /firmware/export/config
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/archosfmrecorder.h147
-rw-r--r--firmware/export/config/archosondiofm.h147
-rw-r--r--firmware/export/config/archosondiosp.h131
-rw-r--r--firmware/export/config/archosplayer.h111
-rw-r--r--firmware/export/config/archosrecorder.h141
-rw-r--r--firmware/export/config/archosrecorderv2.h147
6 files changed, 0 insertions, 824 deletions
diff --git a/firmware/export/config/archosfmrecorder.h b/firmware/export/config/archosfmrecorder.h
deleted file mode 100644
index 0c64d70be4..0000000000
--- a/firmware/export/config/archosfmrecorder.h
+++ /dev/null
@@ -1,147 +0,0 @@
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
25/* define this if you have the button bar */
26#define HAVE_BUTTONBAR
27
28/* define this if you would like tagcache to build on this target */
29#define HAVE_TAGCACHE
30
31/* LCD dimensions */
32#define LCD_WIDTH 112
33#define LCD_HEIGHT 64
34/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */
35#define LCD_DPI 85
36#define LCD_DEPTH 1
37
38#define LCD_PIXEL_ASPECT_WIDTH 4
39#define LCD_PIXEL_ASPECT_HEIGHT 5
40
41#define LCD_PIXELFORMAT VERTICAL_PACKING
42
43/* Display colours, for screenshots and sim (0xRRGGBB) */
44#define LCD_DARKCOLOR 0x000000
45#define LCD_BRIGHTCOLOR 0x5a915a
46#define LCD_BL_DARKCOLOR 0x000000
47#define LCD_BL_BRIGHTCOLOR 0x7ee57e
48
49/* define this if you have a Recorder style 10-key keyboard */
50#define CONFIG_KEYPAD RECORDER_PAD
51
52/* Define this to enable morse code input */
53#define HAVE_MORSE_INPUT
54
55/* define this if you have a real-time clock */
56#define CONFIG_RTC RTC_M41ST84W
57
58/* FM recorders can wake up from RTC alarm */
59#define HAVE_RTC_ALARM
60
61/* define this if you have RTC RAM available for settings */
62#define HAVE_RTC_RAM
63
64/* Define this if you have a software controlled poweroff */
65#define HAVE_SW_POWEROFF
66
67/* The number of bytes reserved for loadable plugins */
68#define PLUGIN_BUFFER_SIZE 0x8000
69
70#ifndef BOOTLOADER
71/* Define this if you have an FM Radio */
72#define CONFIG_TUNER S1A0903X01
73#endif
74
75#define AB_REPEAT_ENABLE
76
77/* Define this if you have a MAS3587F */
78#define CONFIG_CODEC MAS3587F
79
80/* Define this for LCD backlight available */
81#define HAVE_BACKLIGHT
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 CONFIG_I2C I2C_PLAYREC
88
89#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
90#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
91#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
92#define BATTERY_CAPACITY_INC 50 /* capacity increment */
93#define BATTERY_TYPES_COUNT 1 /* only one type */
94
95#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
96
97#define CURRENT_NORMAL 145 /* usual current in mA */
98#define CURRENT_RECORD 35 /* additional recording current */
99#define CURRENT_USB 500 /* usual current in mA in USB mode */
100
101/* Hardware controlled charging with monitoring */
102#define CONFIG_CHARGING CHARGING_MONITOR
103
104/* define this if the unit can be powered or charged via USB */
105#define HAVE_USB_POWER
106
107/* Define this if you have a SH7034 */
108#define CONFIG_CPU SH7034
109
110/* Define this if you have a FM Recorder key system */
111#define HAVE_FMADC
112
113/* Define this if battery voltage can only be measured with ATA powered */
114#define NEED_ATA_POWER_BATT_MEASURE
115
116/* Define this to the CPU frequency */
117#define CPU_FREQ 11059200
118
119/* Offset ( in the firmware file's header ) to the file length */
120#define FIRMWARE_OFFSET_FILE_LENGTH 20
121
122/* Offset ( in the firmware file's header ) to the file CRC */
123#define FIRMWARE_OFFSET_FILE_CRC 6
124
125/* Offset ( in the firmware file's header ) to the real data */
126#define FIRMWARE_OFFSET_FILE_DATA 24
127
128/* The start address index for ROM builds */
129/* #define ROM_START 0x14010 for behind original Archos */
130#define ROM_START 0x7010 /* for behind BootBox */
131
132/* Software controlled LED */
133#define CONFIG_LED LED_REAL
134
135#define CONFIG_LCD LCD_SSD1815
136
137#define BOOTFILE_EXT "ajz"
138#define BOOTFILE "ajbrec." BOOTFILE_EXT
139#define BOOTDIR "/"
140
141#define HAVE_LCD_CONTRAST
142
143#define MIN_CONTRAST_SETTING 5
144#define MAX_CONTRAST_SETTING 63
145
146/* Define this if a programmable hotkey is mapped */
147#define HAVE_HOTKEY
diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h
deleted file mode 100644
index 68ecc217c1..0000000000
--- a/firmware/export/config/archosondiofm.h
+++ /dev/null
@@ -1,147 +0,0 @@
1/* define this if you have recording possibility */
2#define HAVE_RECORDING
3
4#define MODEL_NAME "Ondio FM"
5
6#define ONDIO_SERIES
7
8/* Define bitmask of input sources - recordable bitmask can be defined
9 explicitly if different */
10#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
11
12/* define this if you have a bitmap LCD display */
13#define HAVE_LCD_BITMAP
14
15/* define this if you can flip your LCD */
16#define HAVE_LCD_FLIP
17
18/* define this if you can invert the colours on your LCD */
19#define HAVE_LCD_INVERT
20
21/* define this if you would like tagcache to build on this target */
22#define HAVE_TAGCACHE
23
24/* LCD dimensions */
25#define LCD_WIDTH 112
26#define LCD_HEIGHT 64
27/* sqrt(112^2 + 64^2) / 1.5 = 83.8 */
28#define LCD_DPI 84
29#define LCD_DEPTH 1
30
31#define LCD_PIXEL_ASPECT_WIDTH 4
32#define LCD_PIXEL_ASPECT_HEIGHT 5
33
34#define LCD_PIXELFORMAT VERTICAL_PACKING
35
36/* Display colours, for screenshots and sim (0xRRGGBB) */
37#define LCD_DARKCOLOR 0x000000
38#define LCD_BRIGHTCOLOR 0x5a915a
39#define LCD_BL_DARKCOLOR 0x000000
40#define LCD_BL_BRIGHTCOLOR 0x82b4fa
41
42/* define this if you have an Ondio style 6-key keyboard */
43#define CONFIG_KEYPAD ONDIO_PAD
44
45/* Define this to enable morse code input */
46#define HAVE_MORSE_INPUT
47
48#define AB_REPEAT_ENABLE
49#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
50
51/* Define this if you have a software controlled poweroff */
52#define HAVE_SW_POWEROFF
53
54/* The number of bytes reserved for loadable plugins */
55#define PLUGIN_BUFFER_SIZE 0x8000
56
57#ifndef BOOTLOADER
58/* Define this if you have an FM Radio */
59#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
60#define CONFIG_TUNER_XTAL 13000000
61#endif
62
63/* Define this if you have a MAS3587F */
64#define CONFIG_CODEC MAS3587F
65
66/* define this if you have a flash memory storage */
67#define HAVE_FLASH_STORAGE
68
69#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
70#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
71#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
72#define BATTERY_CAPACITY_INC 50 /* capacity increment */
73#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
74
75#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
76
77/* define this if the unit should not shut down on low battery. */
78#define NO_LOW_BATTERY_SHUTDOWN
79
80/* define this if the unit can be powered or charged via USB */
81#define HAVE_USB_POWER
82
83/* define current usage levels */
84#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
85#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
86#define CURRENT_BACKLIGHT 0 /* no backlight */
87
88/* Define this if you have a SH7034 */
89#define CONFIG_CPU SH7034
90
91/* Define this to the CPU frequency */
92#define CPU_FREQ 12000000
93
94/* Define this for different I2C pinout */
95#define CONFIG_I2C I2C_ONDIO
96
97/* Offset ( in the firmware file's header ) to the file length */
98#define FIRMWARE_OFFSET_FILE_LENGTH 20
99
100/* Offset ( in the firmware file's header ) to the file CRC */
101#define FIRMWARE_OFFSET_FILE_CRC 6
102
103/* Offset ( in the firmware file's header ) to the real data */
104#define FIRMWARE_OFFSET_FILE_DATA 24
105
106/* Define this if the tuner is switched on by software */
107#define HAVE_TUNER_PWR_CTRL
108
109/* The start address index for ROM builds */
110/* #define ROM_START 0x16010 for behind original Archos */
111#define ROM_START 0x7010 /* for behind BootBox */
112
113/* Define this if the display is mounted upside down */
114#define HAVE_DISPLAY_FLIPPED
115
116/* Define this for different ADC channel assignment */
117#define HAVE_ONDIO_ADC
118
119/* Define this for MMC support instead of ATA harddisk */
120#define CONFIG_STORAGE STORAGE_MMC
121
122/* Define this to support mounting FAT16 partitions */
123#define HAVE_FAT16SUPPORT
124
125/* Define this if the MAS SIBI line can be controlled via PB8 */
126#define HAVE_MAS_SIBI_CONTROL
127
128/* define this if more than one device/partition can be used */
129#define HAVE_MULTIDRIVE
130#define NUM_DRIVES 2
131
132/* define this if media can be exchanged on the fly */
133#define HAVE_HOTSWAP
134
135#define CONFIG_LCD LCD_SSD1815
136
137#define BOOTFILE_EXT "ajz"
138#define BOOTFILE "ajbrec." BOOTFILE_EXT
139#define BOOTDIR "/"
140
141#define HAVE_LCD_CONTRAST
142
143#define MIN_CONTRAST_SETTING 5
144#define MAX_CONTRAST_SETTING 63
145
146/* Define this if a programmable hotkey is mapped */
147//#define HAVE_HOTKEY
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
deleted file mode 100644
index 3e9de1eda6..0000000000
--- a/firmware/export/config/archosondiosp.h
+++ /dev/null
@@ -1,131 +0,0 @@
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 ONDIO_SERIES
7
8/* define this if you can flip your LCD */
9#define HAVE_LCD_FLIP
10
11/* define this if you can invert the colours on your LCD */
12#define HAVE_LCD_INVERT
13
14/* define this if you would like tagcache to build on this target */
15#define HAVE_TAGCACHE
16
17/* LCD dimensions */
18#define LCD_WIDTH 112
19#define LCD_HEIGHT 64
20/* sqrt(112^2 + 64^2) / 1.5 = 83.8 */
21#define LCD_DPI 84
22#define LCD_DEPTH 1
23
24#define LCD_PIXEL_ASPECT_WIDTH 4
25#define LCD_PIXEL_ASPECT_HEIGHT 5
26
27#define LCD_PIXELFORMAT VERTICAL_PACKING
28
29/* Display colours, for screenshots and sim (0xRRGGBB) */
30#define LCD_DARKCOLOR 0x000000
31#define LCD_BRIGHTCOLOR 0x5a915a
32#define LCD_BL_DARKCOLOR 0x000000
33#define LCD_BL_BRIGHTCOLOR 0x82b4fa
34
35/* define this if you have an Ondio style 6-key keyboard */
36#define CONFIG_KEYPAD ONDIO_PAD
37
38/* Define this to enable morse code input */
39#define HAVE_MORSE_INPUT
40
41#define AB_REPEAT_ENABLE
42#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
43
44/* Define this if you have a software controlled poweroff */
45#define HAVE_SW_POWEROFF
46
47/* The number of bytes reserved for loadable plugins */
48#define PLUGIN_BUFFER_SIZE 0x8000
49
50/* Define this if you have a MAS3539F */
51#define CONFIG_CODEC MAS3539F
52
53/* define this if you have a flash memory storage */
54#define HAVE_FLASH_STORAGE
55
56#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
57#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
58#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
59#define BATTERY_CAPACITY_INC 50 /* capacity increment */
60#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
61
62#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
63
64/* define this if the unit should not shut down on low battery. */
65#define NO_LOW_BATTERY_SHUTDOWN
66
67/* define this if the unit can be powered or charged via USB */
68#define HAVE_USB_POWER
69
70/* define current usage levels */
71#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
72#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
73#define CURRENT_BACKLIGHT 0 /* no backlight */
74
75/* Define this if you have a SH7034 */
76#define CONFIG_CPU SH7034
77
78/* Define this to the CPU frequency */
79#define CPU_FREQ 12000000
80
81/* Offset ( in the firmware file's header ) to the file length */
82#define FIRMWARE_OFFSET_FILE_LENGTH 20
83
84/* Offset ( in the firmware file's header ) to the file CRC */
85#define FIRMWARE_OFFSET_FILE_CRC 6
86
87/* Offset ( in the firmware file's header ) to the real data */
88#define FIRMWARE_OFFSET_FILE_DATA 24
89
90/* The start address index for ROM builds */
91/* #define ROM_START 0x12010 for behind original Archos */
92#define ROM_START 0x7010 /* for behind BootBox */
93
94/* Define this if the display is mounted upside down */
95#define HAVE_DISPLAY_FLIPPED
96
97/* Define this for different I2C pinout */
98#define CONFIG_I2C I2C_ONDIO
99
100/* Define this for different ADC channel assignment */
101#define HAVE_ONDIO_ADC
102
103/* Define this for MMC support instead of ATA harddisk */
104#define CONFIG_STORAGE STORAGE_MMC
105
106/* Define this to support mounting FAT16 partitions */
107#define HAVE_FAT16SUPPORT
108
109/* Define this if the MAS SIBI line can be controlled via PB8 */
110#define HAVE_MAS_SIBI_CONTROL
111
112/* define this if more than one device/partition can be used */
113#define HAVE_MULTIDRIVE
114#define NUM_DRIVES 2
115
116/* define this if media can be exchanged on the fly */
117#define HAVE_HOTSWAP
118
119#define CONFIG_LCD LCD_SSD1815
120
121#define BOOTFILE_EXT "ajz"
122#define BOOTFILE "ajbrec." BOOTFILE_EXT
123#define BOOTDIR "/"
124
125#define HAVE_LCD_CONTRAST
126
127#define MIN_CONTRAST_SETTING 5
128#define MAX_CONTRAST_SETTING 63
129
130/* Define this if a programmable hotkey is mapped */
131//#define HAVE_HOTKEY
diff --git a/firmware/export/config/archosplayer.h b/firmware/export/config/archosplayer.h
deleted file mode 100644
index 2e0219cff5..0000000000
--- a/firmware/export/config/archosplayer.h
+++ /dev/null
@@ -1,111 +0,0 @@
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/* sqrt(11^2 + 2^2) / 1.5 = 7.5 */
15#define LCD_DPI 7
16#define LCD_DEPTH 1
17#define SIM_LCD_WIDTH 132 /* pixels */
18#define SIM_LCD_HEIGHT 64 /* pixels */
19
20/* Display colours, for screenshots and sim (0xRRGGBB) */
21#define LCD_DARKCOLOR 0x000000
22#define LCD_BRIGHTCOLOR 0x5a915a
23#define LCD_BL_DARKCOLOR 0x000000
24#define LCD_BL_BRIGHTCOLOR 0x7ee57e
25
26/* define this if you have the Player's keyboard */
27#define CONFIG_KEYPAD PLAYER_PAD
28
29#define AB_REPEAT_ENABLE
30#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
31
32/* The number of bytes reserved for loadable plugins */
33#define PLUGIN_BUFFER_SIZE 0x8000
34
35/* Define this if you have a MAS3507D */
36#define CONFIG_CODEC MAS3507D
37
38/* Define this if you have a DAC3550A */
39#define HAVE_DAC3550A
40
41/* define this if you have a disk storage, i.e. something
42 that needs spinups and can cause skips when shaked */
43#define HAVE_DISK_STORAGE
44
45/* Define this for LCD backlight available */
46#define HAVE_BACKLIGHT
47
48#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
49#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
50#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
51#define BATTERY_CAPACITY_INC 50 /* capacity increment */
52#define BATTERY_TYPES_COUNT 1 /* only one type */
53
54#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
55
56#define CURRENT_NORMAL 145 /* usual current in mA */
57#define CURRENT_USB 500 /* usual current in mA in USB mode */
58
59/* define this if the unit should not shut down on low battery. */
60#define NO_LOW_BATTERY_SHUTDOWN
61
62/* Hardware controlled charging */
63#define CONFIG_CHARGING CHARGING_SIMPLE
64
65/* Define this if you have a SH7034 */
66#define CONFIG_CPU SH7034
67
68/* Define this if you control ata power player style
69 (with PB4, new player only) */
70#define ATA_POWER_PLAYERSTYLE
71
72/* Define this to the CPU frequency */
73#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
74
75/* Define this if you must discharge the data line by driving it low
76 and then set it to input to see if it stays low or goes high */
77#define HAVE_I2C_LOW_FIRST
78
79#define CONFIG_I2C I2C_PLAYREC
80
81/* Offset ( in the firmware file's header ) to the file length */
82#define FIRMWARE_OFFSET_FILE_LENGTH 0
83
84/* Offset ( in the firmware file's header ) to the file CRC */
85#define FIRMWARE_OFFSET_FILE_CRC 4
86
87/* Offset ( in the firmware file's header ) to the real data */
88#define FIRMWARE_OFFSET_FILE_DATA 6
89
90/* The start address index for ROM builds */
91#define ROM_START 0x7010 /* for behind BootBox */
92
93/* Software controlled LED */
94#define CONFIG_LED LED_REAL
95
96#define CONFIG_LCD LCD_SSD1801
97
98#define BOOTFILE_EXT "mod"
99#define BOOTFILE "archos." BOOTFILE_EXT
100#define BOOTDIR "/"
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
110/* Define this if a programmable hotkey is mapped */
111#define HAVE_HOTKEY
diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h
deleted file mode 100644
index 016ea8b944..0000000000
--- a/firmware/export/config/archosrecorder.h
+++ /dev/null
@@ -1,141 +0,0 @@
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
25/* define this if you have the button bar */
26#define HAVE_BUTTONBAR
27
28/* define this if you would like tagcache to build on this target */
29#define HAVE_TAGCACHE
30
31/* LCD dimensions */
32#define LCD_WIDTH 112
33#define LCD_HEIGHT 64
34/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */
35#define LCD_DPI 85
36#define LCD_DEPTH 1
37
38#define LCD_PIXEL_ASPECT_WIDTH 4
39#define LCD_PIXEL_ASPECT_HEIGHT 5
40
41#define LCD_PIXELFORMAT VERTICAL_PACKING
42
43/* Display colours, for screenshots and sim (0xRRGGBB) */
44#define LCD_DARKCOLOR 0x000000
45#define LCD_BRIGHTCOLOR 0x5a915a
46#define LCD_BL_DARKCOLOR 0x000000
47#define LCD_BL_BRIGHTCOLOR 0x7ee57e
48
49/* define this if you have the Recorder's 10-key keyboard */
50#define CONFIG_KEYPAD RECORDER_PAD
51
52/* Define this to enable morse code input */
53//#define HAVE_MORSE_INPUT
54
55/* define this if you have a real-time clock */
56#define CONFIG_RTC RTC_M41ST84W
57
58/* define this if you have RTC RAM available for settings */
59#define HAVE_RTC_RAM
60
61/* The number of bytes reserved for loadable plugins */
62#define PLUGIN_BUFFER_SIZE 0x8000
63
64#define AB_REPEAT_ENABLE
65
66/* Define this if you have a MAS3587F */
67#define CONFIG_CODEC MAS3587F
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 for LCD backlight available */
74#define HAVE_BACKLIGHT
75
76#define CONFIG_I2C I2C_PLAYREC
77
78#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
79#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
80#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
81#define BATTERY_CAPACITY_INC 50 /* capacity increment */
82#define BATTERY_TYPES_COUNT 1 /* only one type */
83
84#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
85
86#if MEMORYSIZE < 8
87 #define CURRENT_NORMAL 145 /* usual current in mA */
88#else
89 #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */
90#endif
91#define CURRENT_RECORD 35 /* additional recording current */
92#define CURRENT_USB 500 /* usual current in mA in USB mode */
93
94/* define this if the unit should not shut down on low battery. */
95#define NO_LOW_BATTERY_SHUTDOWN
96
97/* Software controlled charging */
98#define CONFIG_CHARGING CHARGING_TARGET
99
100/* Define this if you have a SH7034 */
101#define CONFIG_CPU SH7034
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 11059200
108
109/* Offset ( in the firmware file's header ) to the file length */
110#define FIRMWARE_OFFSET_FILE_LENGTH 0
111
112/* Offset ( in the firmware file's header ) to the file CRC */
113#define FIRMWARE_OFFSET_FILE_CRC 4
114
115/* Offset ( in the firmware file's header ) to the real data */
116#define FIRMWARE_OFFSET_FILE_DATA 6
117
118/* The start address index for ROM builds */
119/* #define ROM_START 0x11010 for behind original Archos */
120#define ROM_START 0x7010 /* for behind BootBox */
121
122/* Software controlled LED */
123#define CONFIG_LED LED_REAL
124
125/* Define this for S/PDIF output available */
126#define HAVE_SPDIF_OUT
127
128#define CONFIG_LCD LCD_SSD1815
129
130#define BOOTFILE_EXT "ajz"
131#define BOOTFILE "ajbrec." BOOTFILE_EXT
132#define BOOTDIR "/"
133
134#define HAVE_LCD_CONTRAST
135
136#define MIN_CONTRAST_SETTING 5
137#define MAX_CONTRAST_SETTING 63
138
139#define HAVE_SERIAL
140/* Define this if a programmable hotkey is mapped */
141#define HAVE_HOTKEY
diff --git a/firmware/export/config/archosrecorderv2.h b/firmware/export/config/archosrecorderv2.h
deleted file mode 100644
index 4640eae247..0000000000
--- a/firmware/export/config/archosrecorderv2.h
+++ /dev/null
@@ -1,147 +0,0 @@
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
25/* define this if you have the button bar */
26#define HAVE_BUTTONBAR
27
28/* define this if you would like tagcache to build on this target */
29#define HAVE_TAGCACHE
30
31/* LCD dimensions */
32#define LCD_WIDTH 112
33#define LCD_HEIGHT 64
34/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */
35#define LCD_DPI 85
36#define LCD_DEPTH 1
37
38#define LCD_PIXEL_ASPECT_WIDTH 4
39#define LCD_PIXEL_ASPECT_HEIGHT 5
40
41#define LCD_PIXELFORMAT VERTICAL_PACKING
42
43/* Display colours, for screenshots and sim (0xRRGGBB) */
44#define LCD_DARKCOLOR 0x000000
45#define LCD_BRIGHTCOLOR 0x5a915a
46#define LCD_BL_DARKCOLOR 0x000000
47#define LCD_BL_BRIGHTCOLOR 0x7ee57e
48
49/* define this if you have a Recorder style 10-key keyboard */
50#define CONFIG_KEYPAD RECORDER_PAD
51
52/* Define this to enable morse code input */
53#define HAVE_MORSE_INPUT
54
55/* define this if you have a real-time clock */
56#define CONFIG_RTC RTC_M41ST84W
57
58/* FM recorders can wake up from RTC alarm */
59#define HAVE_RTC_ALARM
60
61/* define this if you have RTC RAM available for settings */
62#define HAVE_RTC_RAM
63
64/* Define this if you have a software controlled poweroff */
65#define HAVE_SW_POWEROFF
66
67/* The number of bytes reserved for loadable plugins */
68#define PLUGIN_BUFFER_SIZE 0x8000
69
70#define AB_REPEAT_ENABLE
71
72/* Define this if you have a MAS3587F */
73#define CONFIG_CODEC MAS3587F
74
75/* define this if you have a disk storage, i.e. something
76 that needs spinups and can cause skips when shaked */
77#define HAVE_DISK_STORAGE
78
79/* Define this for LCD backlight available */
80#define HAVE_BACKLIGHT
81
82#define CONFIG_I2C I2C_PLAYREC
83
84#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
85#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
86#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
87#define BATTERY_CAPACITY_INC 50 /* capacity increment */
88#define BATTERY_TYPES_COUNT 1 /* only one type */
89
90#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
91
92#define CURRENT_NORMAL 145 /* usual current in mA */
93#define CURRENT_RECORD 35 /* additional recording current */
94#define CURRENT_USB 500 /* usual current in mA in USB mode */
95
96/* Hardware controlled charging with monitoring */
97#define CONFIG_CHARGING CHARGING_MONITOR
98
99/* define this if the unit can be powered or charged via USB */
100#define HAVE_USB_POWER
101
102/* Define this if you have a SH7034 */
103#define CONFIG_CPU SH7034
104
105/* Define this if you have a FM Recorder key system */
106#define HAVE_FMADC
107
108/* Define this if battery voltage can only be measured with ATA powered */
109#define NEED_ATA_POWER_BATT_MEASURE
110
111/* Define this to the CPU frequency */
112#define CPU_FREQ 11059200
113
114/* Offset ( in the firmware file's header ) to the file length */
115#define FIRMWARE_OFFSET_FILE_LENGTH 20
116
117/* Offset ( in the firmware file's header ) to the file CRC */
118#define FIRMWARE_OFFSET_FILE_CRC 6
119
120/* Offset ( in the firmware file's header ) to the real data */
121#define FIRMWARE_OFFSET_FILE_DATA 24
122
123#ifndef BOOTLOADER
124/* Define this if you have an FM Radio */
125#define CONFIG_TUNER S1A0903X01
126#endif
127
128/* The start address index for ROM builds */
129/* #define ROM_START 0x12010 for behind original Archos */
130#define ROM_START 0x7010 /* for behind BootBox */
131
132/* Software controlled LED */
133#define CONFIG_LED LED_REAL
134
135#define CONFIG_LCD LCD_SSD1815
136
137#define BOOTFILE_EXT "ajz"
138#define BOOTFILE "ajbrec." BOOTFILE_EXT
139#define BOOTDIR "/"
140
141#define HAVE_LCD_CONTRAST
142
143#define MIN_CONTRAST_SETTING 5
144#define MAX_CONTRAST_SETTING 63
145
146/* Define this if a programmable hotkey is mapped */
147#define HAVE_HOTKEY