FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/r2d/r2d_refresh.c @ 44:1821e301a65b
R2D: new Tourmaline driver selection
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 17 Oct 2020 19:45:18 +0000 |
parents | 4e78acac3d88 |
children | c905daaff834 |
comparison
equal
deleted
inserted
replaced
43:01a8b04242af | 44:1821e301a65b |
---|---|
63 r2d_update_br_x=-1; | 63 r2d_update_br_x=-1; |
64 r2d_update_br_y=-1; | 64 r2d_update_br_y=-1; |
65 rvf_unlock_mutex(r2d_g_global_mutex); | 65 rvf_unlock_mutex(r2d_g_global_mutex); |
66 } | 66 } |
67 | 67 |
68 #if (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD) | 68 /* FreeCalypso Tourmaline: totally new approach */ |
69 #include "lcds/ColorPC/r2d_task_i.c" | 69 |
70 #if defined(CONFIG_TARGET_LUNA) && (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) | |
71 #include "lcds/luna/r2d_task_i.c" | |
72 #elif defined(CONFIG_TARGET_LUNA) && (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) | |
73 #include "lcds/luna/r2d_task_i_bw.c" | |
74 #else | |
75 #error "R2D refresh selection: unsupported combination" | |
70 #endif | 76 #endif |
71 | |
72 #if (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE) | |
73 #include "lcds/PC_CSAMPLE/r2d_task_i.c" | |
74 #endif | |
75 | |
76 #if (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE) | |
77 #include "lcds/PC_DSAMPLE/r2d_task_i.c" | |
78 #endif | |
79 | |
80 #if (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD) | |
81 #include "lcds/Simple/r2d_task_i.c" | |
82 #endif | |
83 | |
84 #if (R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) | |
85 #ifdef CONFIG_TARGET_C139 | |
86 #include "lcds/c139/r2d_task_i.c" | |
87 #else | |
88 #include "lcds/Simple/r2d_task_i.c" | |
89 #endif | |
90 #endif | |
91 | |
92 #if (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD) | |
93 #include "lcds/Customer/r2d_task_i.c" | |
94 #endif | |
95 | |
96 #if (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD) | |
97 #include "lcds/Horizontal/r2d_task_i.c" | |
98 #endif | |
99 | |
100 #if (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) | |
101 #include "lcds/ColorBoard/r2d_task_i.c" | |
102 #endif | |
103 | |
104 #if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) | |
105 #ifdef CONFIG_TARGET_LUNA | |
106 #include "lcds/luna/r2d_task_i.c" | |
107 #else | |
108 #include "lcds/D_Sample/r2d_task_i.c" | |
109 #endif | |
110 #endif | |
111 | |
112 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) | |
113 #ifdef CONFIG_TARGET_LUNA | |
114 #include "lcds/luna/r2d_task_i_bw.c" | |
115 #else | |
116 #include "lcds/BW_D_Sample/r2d_task_i.c" | |
117 #endif | |
118 #endif | |
119 |