Commit a7e9c84d authored by Bruno Gomes's avatar Bruno Gomes

CONFIGURATOR: adjust 1553 make accordingly with the deletion of old iop files.

refs #112663
parent a41ee6f7
......@@ -45,8 +45,6 @@
#include <iop.h>
#include <IOPgr1553b.h>
#include <IOPgr1553${device.setup.mode.lower()}.h>
#include <IOPmilstd_config.h>
#include <IOPdriverconfig_interface.h>
#include <gr1553_support.h>
${MILAlloc(device)}\
......@@ -69,12 +67,8 @@ static iop_1553_device_t device_configuration = ${'\\'}
};
${iop_template.PhysicalDevice(iop_configuration, device, device_functions)}\
${MILFuncs(device)}\
<% return %>
<%def name="MILAlloc(pdevice)">\
#define COMMAND_LIST_SIZE ${init_nb_cmd}
......@@ -159,37 +153,16 @@ static grb_priv mildriver = \
.mem_start = gr1553bmem,
.minor = ${pdevice.setup.id},
.user_config = &userconf,
.shortcut_cmd = (void *)shortcut_mem
.shortcut_cmd = (void *)shortcut_mem,
.cl = command_list,
.cl_size = COMMAND_LIST_SIZE,
.a_cl_size = ASYNCHRONOUS_COMMAND_LIST_SIZE,
.hwlist = gr1553hwlist,
.data_buffer_size = DATA_BUFFERS
};
</%def>
<%def name="MILFuncs(pdevice)">\
/**
* @brief Driver Interface Functions
*/
bc_command_t *iop_milstd_get_command_list(){
return command_list;
}
int iop_milstd_get_command_list_size(){
return COMMAND_LIST_SIZE;
}
int iop_milstd_get_async_command_list_size(){
return ASYNCHRONOUS_COMMAND_LIST_SIZE;
}
int iop_milstd_get_data_buffers_size(){
return DATA_BUFFERS;
}
gr1553hwaddr *iop_get_gr1553hwlist(){
return gr1553hwlist;
}
</%def>
<%def name="MILBCListStruct(cmd)">\
{
.ccw = CCW_${cmd.type}_${cmd.bus} | ${int(cmd.wcmode)},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment