##// END OF EJS Templates
The flight software is now compatible with the VHDL 0.1.32...
The flight software is now compatible with the VHDL 0.1.32 Still some bugs at startup, may be due to the VHDL

File last commit:

r166:b9d810e81e1d patch rev 2
r171:13f27d43af32 VHDL_0_1_28
Show More
fsw_config.c
25 lines | 1005 B | 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
packet emission task added...
r33 {"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
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 {"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 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