diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-07-01 02:18:49 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-07-01 02:18:49 +0000 |
commit | 4093874f80571f32e2aedd2b09b2be9eb5efc47c (patch) | |
tree | f3e2bff8519f60587f9b5db0809c310396cd2e67 /firmware/export/config-sa9200.h | |
parent | d12df3a50ee99766ed7dfba797a19ab08cc9aec7 (diff) | |
download | rockbox-4093874f80571f32e2aedd2b09b2be9eb5efc47c.tar.gz rockbox-4093874f80571f32e2aedd2b09b2be9eb5efc47c.zip |
Philips SA9200. Add LCD features: enable, sleep, flip, contrast, and invert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-sa9200.h')
-rwxr-xr-x | firmware/export/config-sa9200.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h index 37c0b50035..30aad93898 100755 --- a/firmware/export/config-sa9200.h +++ b/firmware/export/config-sa9200.h | |||
@@ -42,18 +42,21 @@ | |||
42 | #define LCD_DEPTH 16 /* 65536 colours */ | 42 | #define LCD_DEPTH 16 /* 65536 colours */ |
43 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 43 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
44 | 44 | ||
45 | #ifndef BOOTLOADER | ||
45 | /* define this if you have LCD enable function */ | 46 | /* define this if you have LCD enable function */ |
46 | /* #define HAVE_LCD_ENABLE */ | 47 | #define HAVE_LCD_ENABLE |
47 | 48 | ||
48 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | 49 | /* Define this if your LCD can be put to sleep. |
49 | should be defined as well. */ | 50 | HAVE_LCD_ENABLE should be defined as well. */ |
50 | /* #define HAVE_LCD_SLEEP */ | 51 | #define HAVE_LCD_SLEEP |
52 | #define HAVE_LCD_SLEEP_SETTING | ||
53 | #endif | ||
51 | 54 | ||
52 | /* define this if you can flip your LCD */ | 55 | /* define this if you can flip your LCD */ |
53 | /* #define HAVE_LCD_FLIP */ | 56 | #define HAVE_LCD_FLIP |
54 | 57 | ||
55 | /* define this if you can invert the colours on your LCD */ | 58 | /* define this if you can invert the colours on your LCD */ |
56 | /* #define HAVE_LCD_INVERT */ | 59 | #define HAVE_LCD_INVERT |
57 | 60 | ||
58 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | 61 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ |
59 | 62 | ||
@@ -150,9 +153,16 @@ | |||
150 | /* Define this to the CPU frequency */ | 153 | /* Define this to the CPU frequency */ |
151 | #define CPU_FREQ 75000000 | 154 | #define CPU_FREQ 75000000 |
152 | 155 | ||
153 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ | 156 | /* Type of LCD */ |
154 | #define CONFIG_LCD LCD_SA9200 | 157 | #define CONFIG_LCD LCD_SA9200 |
155 | 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 | |||
156 | /* USB On-the-go */ | 166 | /* USB On-the-go */ |
157 | #define CONFIG_USBOTG USBOTG_ARC | 167 | #define CONFIG_USBOTG USBOTG_ARC |
158 | 168 | ||