FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/r2d/r2d_config.h @ 6:b55b47f49638
FC Tourmaline R2D_EMBEDDED_LCD config change
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:49:33 +0000 |
parents | 927e8b825ed1 |
children | c905daaff834 |
comparison
equal
deleted
inserted
replaced
5:3bb135e72ac9 | 6:b55b47f49638 |
---|---|
79 #ifdef _WINDOWS | 79 #ifdef _WINDOWS |
80 #define R2D_REFRESH_PERIOD 50 // ms | 80 #define R2D_REFRESH_PERIOD 50 // ms |
81 #define R2D_EMBEDDED_LCD R2D_PC_COLOR_LCD | 81 #define R2D_EMBEDDED_LCD R2D_PC_COLOR_LCD |
82 #endif | 82 #endif |
83 | 83 |
84 #if (R2D_LCD_TEST == 1) | 84 /* FreeCalypso Tourmaline: R2D_EMBEDDED_LCD is set in r2d.cfg */ |
85 #define R2D_REFRESH_PERIOD 40 // ms | 85 |
86 #define R2D_EMBEDDED_LCD R2D_BOARD_COLOR_LCD | 86 #define R2D_REFRESH_PERIOD 40 // ms |
87 #else | |
88 #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) | |
89 // C-Sample is equipped with Mirrored LCD | |
90 #define R2D_REFRESH_PERIOD 40 // ms | |
91 #define R2D_EMBEDDED_LCD R2D_MIRRORED_LCD | |
92 #elif ((BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43)) | |
93 #if DSAMPLE_FULL_COLOR | |
94 // D-Sample Board with Color Display | |
95 #define R2D_REFRESH_PERIOD 40 // ms | |
96 #define R2D_EMBEDDED_LCD R2D_BOARD_DSAMPLE | |
97 #else | |
98 // D-Sample Board with simulated B&W Display | |
99 #define R2D_REFRESH_PERIOD 40 // ms | |
100 #define R2D_EMBEDDED_LCD R2D_BOARD_BW_DSAMPLE | |
101 #endif | |
102 #endif | |
103 #endif | |
104 | 87 |
105 // Launch R2D_REFRESH_LOOP to estimate the time | 88 // Launch R2D_REFRESH_LOOP to estimate the time |
106 // taken by one loop | 89 // taken by one loop |
107 #define R2D_BENCHMARKING R2D_OFF | 90 #define R2D_BENCHMARKING R2D_OFF |
108 #define R2D_REFRESH_LOOP 100 | 91 #define R2D_REFRESH_LOOP 100 |