FreeCalypso > hg > fc-selenite
comparison src/cs/drivers/drv_app/r2d/r2d_inits.c @ 112:fdecfb3bd860
.../drv_app/r2d/r2d_*.c: LCD include case fixes from Magnetite
R2D is not used in Selenite, but we strive to keep the two source trees
in sync as much as possible to reduce the diffs.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 13 Oct 2018 16:56:22 +0000 |
parents | b6a5e36de839 |
children | 6a53de2c4fc2 |
comparison
equal
deleted
inserted
replaced
111:97297555c71a | 112:fdecfb3bd860 |
---|---|
87 | 87 |
88 extern T_R2D_FONT_DESCRIPTION *r2d_g_font_configuration; | 88 extern T_R2D_FONT_DESCRIPTION *r2d_g_font_configuration; |
89 | 89 |
90 | 90 |
91 #if (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD) | 91 #if (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD) |
92 #include "r2d/lcds/colorpc/r2d_task_init_i.c" | 92 #include "r2d/lcds/ColorPC/r2d_task_init_i.c" |
93 #endif | 93 #endif |
94 | 94 |
95 #if (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE) | 95 #if (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE) |
96 #include "r2d/lcds/pc_csample/r2d_task_init_i.c" | 96 #include "r2d/lcds/PC_CSAMPLE/r2d_task_init_i.c" |
97 #endif | 97 #endif |
98 | 98 |
99 #if (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE) | 99 #if (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE) |
100 #include "r2d/lcds/pc_dsample/r2d_task_init_i.c" | 100 #include "r2d/lcds/PC_DSAMPLE/r2d_task_init_i.c" |
101 #endif | 101 #endif |
102 | 102 |
103 #if (R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) | 103 #if (R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) |
104 #ifdef CONFIG_TARGET_C139 | 104 #ifdef CONFIG_TARGET_C139 |
105 #include "r2d/lcds/c139/r2d_task_init_i.c" | 105 #include "r2d/lcds/c139/r2d_task_init_i.c" |
106 #else | 106 #else |
107 #include "r2d/lcds/simple/r2d_task_init_i.c" | 107 #include "r2d/lcds/Simple/r2d_task_init_i.c" |
108 #endif | 108 #endif |
109 #endif | 109 #endif |
110 | 110 |
111 #if (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD) | 111 #if (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD) |
112 #include "r2d/lcds/customer/r2d_task_init_i.c" | 112 #include "r2d/lcds/Customer/r2d_task_init_i.c" |
113 #endif | 113 #endif |
114 | 114 |
115 #if (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD) | 115 #if (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD) |
116 #include "r2d/lcds/horizontal/r2d_task_init_i.c" | 116 #include "r2d/lcds/Horizontal/r2d_task_init_i.c" |
117 #endif | 117 #endif |
118 | 118 |
119 #if (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD) | 119 #if (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD) |
120 #include "r2d/lcds/simple/r2d_task_init_i.c" | 120 #include "r2d/lcds/Simple/r2d_task_init_i.c" |
121 #endif | 121 #endif |
122 | 122 |
123 #if (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) | 123 #if (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) |
124 #include "r2d/lcds/colorboard/r2d_task_init_i.c" | 124 #include "r2d/lcds/ColorBoard/r2d_task_init_i.c" |
125 #endif | 125 #endif |
126 | 126 |
127 #if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) | 127 #if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) |
128 #include "r2d/lcds/d_sample/r2d_task_init_i.c" | 128 #include "r2d/lcds/D_Sample/r2d_task_init_i.c" |
129 #endif | 129 #endif |
130 | 130 |
131 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) | 131 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) |
132 #include "r2d/lcds/bw_d_sample/r2d_task_init_i.c" | 132 #include "r2d/lcds/BW_D_Sample/r2d_task_init_i.c" |
133 #endif | 133 #endif |
134 | 134 |
135 UINT32 r2d_get_memory_bank_size() | 135 UINT32 r2d_get_memory_bank_size() |
136 { | 136 { |
137 return(R2D_MB_PRIM_SIZE); | 137 return(R2D_MB_PRIM_SIZE); |