diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-04 15:00:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-04 15:00:55 +0000 |
commit | 521ecb81625a7cfa6f74432054c1fb2cf5c89a00 (patch) | |
tree | 9b710d9e0a92af8450080ba0d8bd485c5d3b2bfe | |
parent | 72fdf373e0d06b10ece9ae5dec959ae67feb6bcd (diff) | |
download | rockbox-521ecb81625a7cfa6f74432054c1fb2cf5c89a00.tar.gz rockbox-521ecb81625a7cfa6f74432054c1fb2cf5c89a00.zip |
Early and basic gmini 120 config. Needs attention and corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5532 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/config-gmini120.h | 28 | ||||
-rw-r--r-- | firmware/export/config.h | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h new file mode 100644 index 0000000000..20804c5007 --- /dev/null +++ b/firmware/export/config-gmini120.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* Note: this is just a basic early version that needs attention and | ||
2 | corrections! */ | ||
3 | |||
4 | /* define this if you have recording possibility */ | ||
5 | #define HAVE_RECORDING 1 | ||
6 | |||
7 | /* define this if you have a bitmap LCD display */ | ||
8 | #define HAVE_LCD_BITMAP 1 | ||
9 | |||
10 | /* LCD dimensions */ | ||
11 | #define LCD_WIDTH 128 | ||
12 | #define LCD_HEIGHT 64 | ||
13 | |||
14 | /* When button.h is updated with gmini details, then fix this: */ | ||
15 | #define CONFIG_KEYPAD /*GMINI_PAD */ IRIVER_H100_PAD | ||
16 | |||
17 | #ifndef SIMULATOR | ||
18 | |||
19 | /* Define this if you have a CalmRISC16 */ | ||
20 | #define CONFIG_CPU CR16 | ||
21 | |||
22 | /* Type of mobile power, FIXME: probably different, make new type */ | ||
23 | #define CONFIG_BATTERY | ||
24 | |||
25 | /* Define this if the platform can charge batteries */ | ||
26 | #define HAVE_CHARGING 1 | ||
27 | |||
28 | #endif | ||
diff --git a/firmware/export/config.h b/firmware/export/config.h index 7c0e285bbe..45e8d890e3 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -34,12 +34,14 @@ | |||
34 | /* CONFIG_CPU */ | 34 | /* CONFIG_CPU */ |
35 | #define SH7034 7034 | 35 | #define SH7034 7034 |
36 | #define MCF5249 5249 | 36 | #define MCF5249 5249 |
37 | #define CR16 16 /* lacking a proper abbrivation */ | ||
37 | 38 | ||
38 | /* CONFIG_KEYPAD */ | 39 | /* CONFIG_KEYPAD */ |
39 | #define PLAYER_PAD 0 | 40 | #define PLAYER_PAD 0 |
40 | #define RECORDER_PAD 1 | 41 | #define RECORDER_PAD 1 |
41 | #define ONDIO_PAD 2 | 42 | #define ONDIO_PAD 2 |
42 | #define IRIVER_H100_PAD 3 | 43 | #define IRIVER_H100_PAD 3 |
44 | #define GMINI_PAD 4 | ||
43 | 45 | ||
44 | /* CONFIG_BATTERY */ | 46 | /* CONFIG_BATTERY */ |
45 | #define BATT_LIION2200 2200 /* FM/V2 recorder type */ | 47 | #define BATT_LIION2200 2200 /* FM/V2 recorder type */ |
@@ -67,6 +69,8 @@ | |||
67 | #include "config-ondiofm.h" | 69 | #include "config-ondiofm.h" |
68 | #elif defined(IRIVER_H100) | 70 | #elif defined(IRIVER_H100) |
69 | #include "config-h100.h" | 71 | #include "config-h100.h" |
72 | #elif defined(ARCHOS_GMINI120) | ||
73 | #include "config-gmini120.h" | ||
70 | #else | 74 | #else |
71 | /* no known platform */ | 75 | /* no known platform */ |
72 | #endif | 76 | #endif |