# HG changeset patch # User Mychaela Falconia # Date 1514170534 0 # Node ID 38c284cd102b2905093869d270dc65900f5edd9b # Parent 984df0753560b0dee6da39307d800a5a5090fdb3 gsmcomp.c: TIF pool enlarged like in Citrine diff -r 984df0753560 -r 38c284cd102b src/condat2/com/src/config/gsmcomp.c --- a/src/condat2/com/src/config/gsmcomp.c Mon Dec 25 02:14:55 2017 +0000 +++ b/src/condat2/com/src/config/gsmcomp.c Mon Dec 25 02:55:34 2017 +0000 @@ -464,22 +464,28 @@ /* * Partitions pool configuration for test interface communication + * + * FreeCalypso change: the values we got in the version of this gsmcomp.c + * source file in our copy of TCS211 were shrunk way too small, + * so we are going to use the more reasonable config from our + * first gsm-fw project, which is also apparently what TI had originally, + * and closer to what we use in the GPRS-enabled config. */ -#define TESTPOOL_0_PARTITIONS 1 /* 10 */ -#define TESTPOOL_1_PARTITIONS 15 /* 50 */ -#define TESTPOOL_2_PARTITIONS 0 /* 2 */ +#define TESTPOOL_0_PARTITIONS 10 /* was 1 */ +#define TESTPOOL_1_PARTITIONS 50 /* was 15 */ +#define TESTPOOL_2_PARTITIONS 2 /* was 0 */ #define TSTSND_QUEUE_ENTRIES (TESTPOOL_0_PARTITIONS+TESTPOOL_1_PARTITIONS+TESTPOOL_2_PARTITIONS) #define TSTRCV_QUEUE_ENTRIES 50 -#define TEST_PARTITION_0_SIZE 16 /* 80 */ +#define TEST_PARTITION_0_SIZE 80 /* was 16 */ #ifdef _TARGET_ #define TEST_PARTITION_1_SIZE 160 #else #define TEST_PARTITION_1_SIZE 260 #endif /* else, #ifdef _TARGET_ */ -#define TEST_PARTITION_2_SIZE 0 /* 1600 */ +#define TEST_PARTITION_2_SIZE 1600 #ifndef DATA_INT_RAM const USHORT TST_SndQueueEntries = TSTSND_QUEUE_ENTRIES; @@ -499,11 +505,18 @@ extern char pool21 []; #endif +#if (!defined DATA_EXT_RAM && defined TEST_2_INT_RAM) || (!defined DATA_INT_RAM && !defined TEST_2_INT_RAM) +char pool22 [ POOL_SIZE(TESTPOOL_2_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_2_SIZE)) ]; +#else +extern char pool22 []; +#endif + #ifndef DATA_INT_RAM const T_FRM_PARTITION_POOL_CONFIG test_grp_config[] = { { TESTPOOL_0_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_0_SIZE), &pool20 }, { TESTPOOL_1_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_1_SIZE), &pool21 }, + { TESTPOOL_2_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_2_SIZE), &pool22 }, { 0 , 0 , NULL } }; #endif /* !DATA_INT_RAM */