# HG changeset patch # User Mychaela Falconia # Date 1602830973 0 # Node ID b55b47f4963884a49dac4e9be05d533ee1f2613a # Parent 3bb135e72ac9200e12bdc55c13209a72118fd92e FC Tourmaline R2D_EMBEDDED_LCD config change diff -r 3bb135e72ac9 -r b55b47f49638 scripts/cfg-template --- a/scripts/cfg-template Fri Oct 16 06:43:34 2020 +0000 +++ b/scripts/cfg-template Fri Oct 16 06:49:33 2020 +0000 @@ -1,7 +1,6 @@ [board.cfg] BOARD 41 -DSAMPLE_FULL_COLOR var [chipset.cfg] @@ -50,6 +49,7 @@ [r2d.cfg] R2D_ASM 0 +R2D_EMBEDDED_LCD var R2D_LCD_TEST 0 [rf.cfg] diff -r 3bb135e72ac9 -r b55b47f49638 src/cs/drivers/drv_app/r2d/r2d_config.h --- a/src/cs/drivers/drv_app/r2d/r2d_config.h Fri Oct 16 06:43:34 2020 +0000 +++ b/src/cs/drivers/drv_app/r2d/r2d_config.h Fri Oct 16 06:49:33 2020 +0000 @@ -81,26 +81,9 @@ #define R2D_EMBEDDED_LCD R2D_PC_COLOR_LCD #endif -#if (R2D_LCD_TEST == 1) - #define R2D_REFRESH_PERIOD 40 // ms - #define R2D_EMBEDDED_LCD R2D_BOARD_COLOR_LCD -#else - #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) - // C-Sample is equipped with Mirrored LCD - #define R2D_REFRESH_PERIOD 40 // ms - #define R2D_EMBEDDED_LCD R2D_MIRRORED_LCD - #elif ((BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43)) - #if DSAMPLE_FULL_COLOR - // D-Sample Board with Color Display - #define R2D_REFRESH_PERIOD 40 // ms - #define R2D_EMBEDDED_LCD R2D_BOARD_DSAMPLE - #else - // D-Sample Board with simulated B&W Display - #define R2D_REFRESH_PERIOD 40 // ms - #define R2D_EMBEDDED_LCD R2D_BOARD_BW_DSAMPLE - #endif - #endif -#endif +/* FreeCalypso Tourmaline: R2D_EMBEDDED_LCD is set in r2d.cfg */ + +#define R2D_REFRESH_PERIOD 40 // ms // Launch R2D_REFRESH_LOOP to estimate the time // taken by one loop