diff options
Diffstat (limited to 'firmware/export/config-h10.h')
-rw-r--r-- | firmware/export/config-h10.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index a316cbec3f..c024fd464c 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h | |||
@@ -26,7 +26,10 @@ | |||
26 | #define LCD_WIDTH 160 | 26 | #define LCD_WIDTH 160 |
27 | #define LCD_HEIGHT 128 | 27 | #define LCD_HEIGHT 128 |
28 | #define LCD_DEPTH 16 /* 65536 colours */ | 28 | #define LCD_DEPTH 16 /* 65536 colours */ |
29 | #define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */ | 29 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
30 | |||
31 | /* define this if you can flip your LCD */ | ||
32 | #define HAVE_LCD_FLIP | ||
30 | 33 | ||
31 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | 34 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ |
32 | 35 | ||
@@ -93,13 +96,25 @@ | |||
93 | #define ROM_START 0x00000000 | 96 | #define ROM_START 0x00000000 |
94 | 97 | ||
95 | /* Define this to the CPU frequency */ | 98 | /* Define this to the CPU frequency */ |
96 | /* TODO: this is probably wrong */ | 99 | #define CPU_FREQ 75000000 |
97 | #define CPU_FREQ 11289600 | ||
98 | 100 | ||
99 | /* Type of LCD */ | 101 | /* Type of LCD */ |
100 | #define CONFIG_LCD LCD_H10_20GB | 102 | #define CONFIG_LCD LCD_H10_20GB |
101 | 103 | ||
102 | #define DEFAULT_CONTRAST_SETTING 19 | 104 | /* Define this if your LCD can set contrast */ |
105 | #define HAVE_LCD_CONTRAST | ||
106 | |||
107 | #define MIN_CONTRAST_SETTING 0 | ||
108 | #define MAX_CONTRAST_SETTING 30 | ||
109 | #define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */ | ||
110 | |||
111 | /* Define this if your LCD can be enabled/disabled */ | ||
112 | #define HAVE_LCD_ENABLE | ||
113 | |||
114 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
115 | * should be defined as well. | ||
116 | * We can currently put the lcd to sleep but it won't wake up properly */ | ||
117 | /*#define HAVE_LCD_SLEEP*/ | ||
103 | 118 | ||
104 | /* Offset ( in the firmware file's header ) to the file length */ | 119 | /* Offset ( in the firmware file's header ) to the file length */ |
105 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 | 120 | #define FIRMWARE_OFFSET_FILE_LENGTH 0 |