comparison 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
comparison
equal deleted inserted replaced
852:fc713944bd1c 853:ae254ffeaec3
426 { 0 , 0 , NULL } 426 { 0 , 0 , NULL }
427 }; 427 };
428 428
429 /* 429 /*
430 * Partitions pool configuration for test interface communication 430 * Partitions pool configuration for test interface communication
431 *
432 * FreeCalypso: I bumped the configuration up from what TI had in their
433 * (likely unmaintained) gsmcomp.c as I expect we'll be doing a lot of
434 * debugging. - Space Falcon
431 */ 435 */
432 #define TESTPOOL_0_PARTITIONS 1 /* 10 */ 436 #define TESTPOOL_0_PARTITIONS 10 /* was 1 */
433 #define TESTPOOL_1_PARTITIONS 15 /* 50 */ 437 #define TESTPOOL_1_PARTITIONS 50 /* was 15 */
434 #define TESTPOOL_2_PARTITIONS 0 /* 2 */ 438 #define TESTPOOL_2_PARTITIONS 2 /* was 0 */
435 439
436 #define TSTSND_QUEUE_ENTRIES (TESTPOOL_0_PARTITIONS+TESTPOOL_1_PARTITIONS+TESTPOOL_2_PARTITIONS) 440 #define TSTSND_QUEUE_ENTRIES (TESTPOOL_0_PARTITIONS+TESTPOOL_1_PARTITIONS+TESTPOOL_2_PARTITIONS)
437 #define TSTRCV_QUEUE_ENTRIES 50 441 #define TSTRCV_QUEUE_ENTRIES 50
438 442
439 #define TEST_PARTITION_0_SIZE 16 /* 80 */ 443 #define TEST_PARTITION_0_SIZE 80 /* was 16 */
440 #ifdef _TARGET_ 444 #ifdef _TARGET_
441 #define TEST_PARTITION_1_SIZE 160 445 #define TEST_PARTITION_1_SIZE 160
442 #else 446 #else
443 #define TEST_PARTITION_1_SIZE 260 447 #define TEST_PARTITION_1_SIZE 260
444 #endif /* else, #ifdef _TARGET_ */ 448 #endif /* else, #ifdef _TARGET_ */
445 449
446 #define TEST_PARTITION_2_SIZE 0 /* 1600 */ 450 #define TEST_PARTITION_2_SIZE 1600
447 451
448 const USHORT TST_SndQueueEntries = TSTSND_QUEUE_ENTRIES; 452 const USHORT TST_SndQueueEntries = TSTSND_QUEUE_ENTRIES;
449 const USHORT TST_RcvQueueEntries = TSTRCV_QUEUE_ENTRIES; 453 const USHORT TST_RcvQueueEntries = TSTRCV_QUEUE_ENTRIES;
450 const USHORT TextTracePartitionSize = TEST_PARTITION_1_SIZE; 454 const USHORT TextTracePartitionSize = TEST_PARTITION_1_SIZE;
451 455
452 char pool20 [ POOL_SIZE(TESTPOOL_0_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_0_SIZE)) ] __attribute__ ((section ("ext.ram"))); 456 char pool20 [ POOL_SIZE(TESTPOOL_0_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_0_SIZE)) ] __attribute__ ((section ("ext.ram")));
453 457
454 char pool21 [ POOL_SIZE(TESTPOOL_1_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_1_SIZE)) ] __attribute__ ((section ("ext.ram"))); 458 char pool21 [ POOL_SIZE(TESTPOOL_1_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_1_SIZE)) ] __attribute__ ((section ("ext.ram")));
455 459
460 char pool22 [ POOL_SIZE(TESTPOOL_2_PARTITIONS,ALIGN_SIZE(TEST_PARTITION_2_SIZE)) ] __attribute__ ((section ("ext.ram")));
461
456 const T_FRM_PARTITION_POOL_CONFIG test_grp_config[] = 462 const T_FRM_PARTITION_POOL_CONFIG test_grp_config[] =
457 { 463 {
458 { TESTPOOL_0_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_0_SIZE), &pool20 }, 464 { TESTPOOL_0_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_0_SIZE), &pool20 },
459 { TESTPOOL_1_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_1_SIZE), &pool21 }, 465 { TESTPOOL_1_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_1_SIZE), &pool21 },
466 { TESTPOOL_2_PARTITIONS, ALIGN_SIZE(TEST_PARTITION_2_SIZE), &pool22 },
460 { 0 , 0 , NULL } 467 { 0 , 0 , NULL }
461 }; 468 };
462 469
463 /* 470 /*
464 * Partitions pool configuration for general purpose allocation 471 * Partitions pool configuration for general purpose allocation