##// END OF EJS Templates
3.1.0.2...
3.1.0.2 PAS filtering updated (default parameters were used instead of TC parameters) After the reboot, LFR internal parameters are set to the default values

File last commit:

r290:135d1e42c4e1 R3_plus
r293:e6dce572ae0e R3_plus
Show More
fsw_config.c
25 lines | 961 B | text/x-c | CLexer
#include <drvmgr/ambapp_bus.h>
// GRSPW0 resources
struct drvmgr_key grlib_grspw_0n1_res[] = {
{"txBdCnt", KEY_TYPE_INT, {(unsigned int)50}}, // 7 SWF_F0, 7 SWF_F1, 7 SWF_F2, 7 CWF_F3, 7 CWF_F1 ou 7 CWF_F2
{"rxBdCnt", KEY_TYPE_INT, {(unsigned int)10}},
{"txDataSize", KEY_TYPE_INT, {(unsigned int)4096}},
{"txHdrSize", KEY_TYPE_INT, {(unsigned int)34}},
{"rxPktSize", KEY_TYPE_INT, {(unsigned int)228+4}},
KEY_EMPTY
};
// 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 */
}
};