diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2009-10-26 18:16:58 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2009-10-26 18:16:58 +0000 |
commit | 90b576f55ea6854a70c8ed77095b42e57b744723 (patch) | |
tree | 33b5a4d1b76b435ef6ec5138e7160d9d32c955c1 /firmware/export/config-mini2440.h | |
parent | 6d20102a9c468135770f820a896dad3518c2093f (diff) | |
download | rockbox-90b576f55ea6854a70c8ed77095b42e57b744723.tar.gz rockbox-90b576f55ea6854a70c8ed77095b42e57b744723.zip |
Many more drivers for mini2440. Now the main binary compiles and runs.
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-mini2440.h')
-rw-r--r-- | firmware/export/config-mini2440.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/firmware/export/config-mini2440.h b/firmware/export/config-mini2440.h index 0db027c7a0..b9d5dadf9c 100644 --- a/firmware/export/config-mini2440.h +++ b/firmware/export/config-mini2440.h | |||
@@ -39,9 +39,11 @@ | |||
39 | /* define the storage type */ | 39 | /* define the storage type */ |
40 | #define CONFIG_STORAGE STORAGE_SD | 40 | #define CONFIG_STORAGE STORAGE_SD |
41 | 41 | ||
42 | /* | ||
42 | #define HAVE_MULTIDRIVE | 43 | #define HAVE_MULTIDRIVE |
43 | #define NUM_DRIVES 2 | 44 | #define NUM_DRIVES 2 |
44 | #define HAVE_HOTSWAP | 45 | #define HAVE_HOTSWAP |
46 | */ | ||
45 | 47 | ||
46 | /* Disk storage */ | 48 | /* Disk storage */ |
47 | /* define this if you have a disk storage, i.e. something | 49 | /* define this if you have a disk storage, i.e. something |
@@ -62,7 +64,7 @@ | |||
62 | #define LCD_DEPTH 16 /* 65536 colours */ | 64 | #define LCD_DEPTH 16 /* 65536 colours */ |
63 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 65 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
64 | /* Define this for LCD backlight available */ | 66 | /* Define this for LCD backlight available */ |
65 | /* The Mini2440 supports backight brightness depending on LCD type */ | 67 | /* The Mini2440 supports backlight brightness depending on LCD type */ |
66 | /* But the 3.5" LCD touch screen does not support brightness*/ | 68 | /* But the 3.5" LCD touch screen does not support brightness*/ |
67 | #define HAVE_BACKLIGHT | 69 | #define HAVE_BACKLIGHT |
68 | #define HAVE_BACKLIGHT_BRIGHTNESS | 70 | #define HAVE_BACKLIGHT_BRIGHTNESS |
@@ -71,15 +73,17 @@ | |||
71 | #define CONFIG_KEYPAD MINI2440_PAD | 73 | #define CONFIG_KEYPAD MINI2440_PAD |
72 | 74 | ||
73 | /* I2C */ | 75 | /* I2C */ |
74 | /* Do not use I2C */ | 76 | /* We do not use currently use hardware I2C, but does not build without */ |
75 | #define CONFIG_I2C I2C_NONE | 77 | #define CONFIG_I2C I2C_S3C2440 |
76 | 78 | ||
77 | /* Define DAC/Codec */ | 79 | /* Define DAC/Codec */ |
78 | /*#define HAVE_UDA1341*/ | 80 | #define HAVE_UDA1341 |
79 | #define HAVE_TLV320 | ||
80 | /* ... tone controls, use the software ones */ | 81 | /* ... tone controls, use the software ones */ |
81 | #define HAVE_SW_TONE_CONTROLS | 82 | #define HAVE_SW_TONE_CONTROLS |
82 | 83 | ||
84 | #define HW_SAMPR_CAPS (SAMPR_CAP_64 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ | ||
85 | SAMPR_CAP_11) | ||
86 | |||
83 | /* Battery */ | 87 | /* Battery */ |
84 | #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */ | 88 | #define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */ |
85 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ | 89 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ |
@@ -89,6 +93,9 @@ | |||
89 | 93 | ||
90 | /* USB */ | 94 | /* USB */ |
91 | /* TODO:#define HAVE_USBSTACK */ | 95 | /* TODO:#define HAVE_USBSTACK */ |
96 | #define USB_NONE | ||
97 | |||
98 | #define HAVE_SERIAL | ||
92 | 99 | ||
93 | /***************************************************************************/ | 100 | /***************************************************************************/ |
94 | /* Application Config */ | 101 | /* Application Config */ |