FreeCalypso > hg > fc-magnetite
changeset 130:a0c5d28798fe
src/cs/drivers/drv_app/r2d: enabled C-Sample config for the C139 target
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 07 Oct 2016 20:27:46 +0000 |
parents | f4ee7ba49bdb |
children | 384fbd61c252 |
files | src/cs/drivers/drv_app/r2d/r2d_config.h src/cs/drivers/drv_app/r2d/r2d_pool_size.h |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_config.h Fri Oct 07 20:16:50 2016 +0000 +++ b/src/cs/drivers/drv_app/r2d/r2d_config.h Fri Oct 07 20:27:46 2016 +0000 @@ -19,6 +19,7 @@ #ifndef _WINDOWS #include "config/r2d.cfg" #include "config/board.cfg" + #include "config/fc-target.cfg" #include "config/swconfig.cfg" #endif @@ -84,7 +85,8 @@ #define R2D_REFRESH_PERIOD 40 // ms #define R2D_EMBEDDED_LCD R2D_BOARD_COLOR_LCD #else - #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) + #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9) || \ + defined(CONFIG_TARGET_C139)) // C-Sample is equipped with Mirrored LCD #define R2D_REFRESH_PERIOD 40 // ms #define R2D_EMBEDDED_LCD R2D_MIRRORED_LCD
--- a/src/cs/drivers/drv_app/r2d/r2d_pool_size.h Fri Oct 07 20:16:50 2016 +0000 +++ b/src/cs/drivers/drv_app/r2d/r2d_pool_size.h Fri Oct 07 20:27:46 2016 +0000 @@ -27,6 +27,7 @@ #ifndef _WINDOWS #include "config/r2d.cfg" #include "config/board.cfg" + #include "config/fc-target.cfg" #include "config/swconfig.cfg" #endif @@ -42,7 +43,8 @@ #else #define R2D_MB1_SIZE (3000) #endif -#elif ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) +#elif ((BOARD == 7) || (BOARD == 8) || (BOARD == 9) || \ + defined(CONFIG_TARGET_C139)) /* #if ((R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) || (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD)) */ #define R2D_MB1_SIZE (2000) /* B or C-Sample with B&W LCD (default setting) */ /* #elif (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) */