FreeCalypso > hg > freecalypso-sw
diff gsm-fw/gpf/conf/gsmcomp.c @ 853:ae254ffeaec3
AT command interface works!
The cause of the breakage was the same Nucleus API issue with NU_Create_Timer()
which we encountered at the very beginning of this project with Riviera timers:
the code in uartfax.c from TCS211 was passing 0 as the initial dummy value for
the timer duration, and our FreeNucleus version doesn't like it. The fix is
the same: pass 1 as the initial dummy value instead.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 30 Apr 2015 01:46:26 +0000 |
parents | 86364a58aa6c |
children | 353daaa6014d |
line wrap: on
line diff
--- a/gsm-fw/gpf/conf/gsmcomp.c Sun Apr 26 03:06:32 2015 +0000 +++ b/gsm-fw/gpf/conf/gsmcomp.c Thu Apr 30 01:46:26 2015 +0000 @@ -428,22 +428,26 @@ /* * Partitions pool configuration for test interface communication + * + * FreeCalypso: I bumped the configuration up from what TI had in their + * (likely unmaintained) gsmcomp.c as I expect we'll be doing a lot of + * debugging. - Space Falcon */ -#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 const USHORT TST_SndQueueEntries = TSTSND_QUEUE_ENTRIES; const USHORT TST_RcvQueueEntries = TSTRCV_QUEUE_ENTRIES; @@ -453,10 +457,13 @@ char pool21 [ POOL_SIZE(TESTPOOL_1_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_1_SIZE)) ] __attribute__ ((section ("ext.ram"))); +char pool22 [ POOL_SIZE(TESTPOOL_2_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_2_SIZE)) ] __attribute__ ((section ("ext.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 } };