##// END OF EJS Templates
sy_lfr_n_swf_p implemented...
sy_lfr_n_swf_p implemented sy_lfr_n_asm_p implemented in normal mode one ASM_F0 matrix is sent each (100 * sy_lfr_n_asm_p) IRQ GSA => 100 IRQ per second

File last commit:

r23:af9a6b32a71f default
r32:796c5aa15417 default
Show More
fsw_config.c
55 lines | 1.8 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #include <drvmgr/ambapp_bus.h>
// GRSPW0 resources
struct drvmgr_key grlib_grspw_0n1_res[] = {
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 {"txBdCnt", KEY_TYPE_INT, {(unsigned int)10}},
{"rxBdCnt", KEY_TYPE_INT, {(unsigned int)10}},
{"txDataSize", KEY_TYPE_INT, {(unsigned int)4096}},
{"txHdrSize", KEY_TYPE_INT, {(unsigned int)20+12}}, // 12 is for the auxiliary header, when needed
{"rxPktSize", KEY_TYPE_INT, {(unsigned int)248+4}},
KEY_EMPTY
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 };
#if 0
/* APBUART0 */
struct drvmgr_key grlib_drv_res_apbuart0[] =
{
{"mode", KEY_TYPE_INT, {(unsigned int)1}},
{"syscon", KEY_TYPE_INT, {(unsigned int)1}},
KEY_EMPTY
};
/* APBUART1 */
struct drvmgr_key grlib_drv_res_apbuart1[] =
{
{"mode", KEY_TYPE_INT, {(unsigned int)1}},
{"syscon", KEY_TYPE_INT, {(unsigned int)0}},
KEY_EMPTY
};
/* LEON3 System with driver configuration for 2 APBUARTs, the
* the rest of the AMBA device drivers use their defaults.
*/
/* Override default debug UART assignment.
* 0 = Default APBUART. APBUART[0], but on MP system CPU0=APBUART0,
* CPU1=APBUART1...
* 1 = APBUART[0]
* 2 = APBUART[1]
* 3 = APBUART[2]
* ...
*/
//int debug_uart_index = 2; /* second UART -- APBUART[1] */
#endif
// If RTEMS_DRVMGR_STARTUP is defined we override the "weak defaults" that is defined by the LEON3 BSP.
struct drvmgr_bus_res grlib_drv_resources = {
.next = NULL,
.resource = {
{DRIVER_AMBAPP_GAISLER_GRSPW_ID, 0, &grlib_grspw_0n1_res[0]},
// {DRIVER_AMBAPP_GAISLER_APBUART_ID, 0, &grlib_drv_res_apbuart0[0]},
// {DRIVER_AMBAPP_GAISLER_APBUART_ID, 1, &grlib_drv_res_apbuart1[0]},
RES_EMPTY /* Mark end of device resource array */
}
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 };
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23