diff options
author | Dave Chapman <dave@dchapman.com> | 2007-01-14 13:48:09 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-01-14 13:48:09 +0000 |
commit | d64e626387e21dc6a7ab374f17dec1e902cd9779 (patch) | |
tree | 6a16bbf5de0becfd6588bff30c11c8ed9fd25c9e /firmware/export | |
parent | 72f1027b3edae94ad9962c654519c2cab8566078 (diff) | |
download | rockbox-d64e626387e21dc6a7ab374f17dec1e902cd9779.tar.gz rockbox-d64e626387e21dc6a7ab374f17dec1e902cd9779.zip |
Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index e37cc3f782..20fdc1d770 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -37,14 +37,15 @@ | |||
37 | #define SWCODEC 1 /* if codec is done by SW */ | 37 | #define SWCODEC 1 /* if codec is done by SW */ |
38 | 38 | ||
39 | /* CONFIG_CPU */ | 39 | /* CONFIG_CPU */ |
40 | #define SH7034 7034 | 40 | #define SH7034 7034 |
41 | #define MCF5249 5249 | 41 | #define MCF5249 5249 |
42 | #define MCF5250 5250 | 42 | #define MCF5250 5250 |
43 | #define PP5002 5002 | 43 | #define PP5002 5002 |
44 | #define PP5020 5020 | 44 | #define PP5020 5020 |
45 | #define PNX0101 101 | 45 | #define PNX0101 101 |
46 | #define S3C2440 2440 | 46 | #define S3C2440 2440 |
47 | #define PP5024 5024 | 47 | #define PP5024 5024 |
48 | #define TMS320DSC25 25 | ||
48 | 49 | ||
49 | /* CONFIG_KEYPAD */ | 50 | /* CONFIG_KEYPAD */ |
50 | #define PLAYER_PAD 1 | 51 | #define PLAYER_PAD 1 |
@@ -60,6 +61,7 @@ | |||
60 | #define IRIVER_H10_PAD 11 | 61 | #define IRIVER_H10_PAD 11 |
61 | #define SANSA_E200_PAD 12 | 62 | #define SANSA_E200_PAD 12 |
62 | #define ELIO_TPJ1022_PAD 13 | 63 | #define ELIO_TPJ1022_PAD 13 |
64 | #define ARCHOS_AV300_PAD 14 | ||
63 | 65 | ||
64 | /* CONFIG_REMOTE_KEYPAD */ | 66 | /* CONFIG_REMOTE_KEYPAD */ |
65 | #define H100_REMOTE 1 | 67 | #define H100_REMOTE 1 |
@@ -99,6 +101,7 @@ | |||
99 | #define LCD_H10 13 /* as used by iriver H10 20Gb */ | 101 | #define LCD_H10 13 /* as used by iriver H10 20Gb */ |
100 | #define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */ | 102 | #define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */ |
101 | #define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */ | 103 | #define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */ |
104 | #define LCD_DSC25 16 /* as used by Archos AV300 */ | ||
102 | 105 | ||
103 | /* LCD_PIXELFORMAT */ | 106 | /* LCD_PIXELFORMAT */ |
104 | #define HORIZONTAL_PACKING 1 | 107 | #define HORIZONTAL_PACKING 1 |
@@ -170,6 +173,8 @@ | |||
170 | #include "config-ondiosp.h" | 173 | #include "config-ondiosp.h" |
171 | #elif defined(ARCHOS_ONDIOFM) | 174 | #elif defined(ARCHOS_ONDIOFM) |
172 | #include "config-ondiofm.h" | 175 | #include "config-ondiofm.h" |
176 | #elif defined(ARCHOS_AV300) | ||
177 | #include "config-av300.h" | ||
173 | #elif defined(IRIVER_H100) | 178 | #elif defined(IRIVER_H100) |
174 | #include "config-h100.h" | 179 | #include "config-h100.h" |
175 | #elif defined(IRIVER_H120) | 180 | #elif defined(IRIVER_H120) |
@@ -255,7 +260,8 @@ | |||
255 | #endif | 260 | #endif |
256 | 261 | ||
257 | /* define for all cpus from ARM family */ | 262 | /* define for all cpus from ARM family */ |
258 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) | 263 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ |
264 | || (CONFIG_CPU == TMS320DSC25) | ||
259 | #define CPU_ARM | 265 | #define CPU_ARM |
260 | #endif | 266 | #endif |
261 | 267 | ||