comparison chipsetsw/drivers/drv_app/r2d/r2d_pool_size.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /**
2 * @file r2d_pool_size.h
3 *
4 * Declarations of:
5 * - the memory bank sizes and their watermark
6 * - the SWE stack size
7 * - the pool size needed (generally the sum of memory bank and stack sizes)
8 *
9 * @author Vincent Oberle
10 * @version 0.1
11 */
12
13 /*
14 * History:
15 *
16 * Date Author Modification
17 * -------------------------------------------------------------------
18 * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h
19 *
20 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
21 */
22
23 #ifndef __R2D_POOL_SIZE_H_
24 #define __R2D_POOL_SIZE_H_
25
26
27 #ifndef _WINDOWS
28 #include "config/r2d.cfg"
29 #include "config/board.cfg"
30 #include "config/swconfig.cfg"
31 #endif
32
33
34 /*
35 * Values used in r2d_env.h (Stack) & r2d_inits.c (Memory Banks)
36 */
37 #define R2D_STACK_SIZE (1000)
38
39 #if (R2D_LCD_TEST == 1)
40 #if defined (_WINDOWS)
41 #define R2D_MB1_SIZE (4000)
42 #else
43 #define R2D_MB1_SIZE (3000)
44 #endif
45 #elif ((BOARD == 7) || (BOARD == 8) || (BOARD == 9))
46 /* #if ((R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) || (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD)) */
47 #define R2D_MB1_SIZE (2000) /* B or C-Sample with B&W LCD (default setting) */
48 /* #elif (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) */
49 /* #define R2D_MB1_SIZE (3000) */ /* C-Sample with Color LCD */
50 #elif ((BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43))
51 /* #elif ((R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) || (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)) */
52 #define R2D_MB1_SIZE (4000) /* D-Sample */
53 #elif defined (_WINDOWS)
54 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD) */
55 #define R2D_MB1_SIZE (4000) /* ColorPC */
56 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE) */
57 /* #define R2D_MB1_SIZE (XXXX) */
58 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE) */
59 /* #define R2D_MB1_SIZE (XXXX) */
60 /* #elif (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD) */
61 /* #define R2D_MB1_SIZE (XXXX) */
62 /* #elif (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD) */
63 /* #define R2D_MB1_SIZE (XXXX) */
64 #endif
65
66 #define R2D_POOL_SIZE (R2D_STACK_SIZE + R2D_MB1_SIZE)
67
68
69 #endif /*__R2D_POOL_SIZE_H_*/