function blocks = rpp_get_blocks()
target = rpp_get_target();
- if strcmp(target, 'rm48_hdk') || strcmp(target, 'tms570_hdk') || strcmp(target, 'tms570_hydctr'),
+ if strcmp(target, 'rm48_hdk') || strcmp(target, 'tms570_hdk'),
blocks = {
'rpp_can_rx',
'rpp_can_setup',
'rpp_sci_rx',
'rpp_sci_tx'
};
+ elseif strcmp(target, 'tms570_hydctr'),
+ blocks = {
+ 'rpp_can_rx',
+ 'rpp_can_setup',
+ 'rpp_can_tx',
+ 'rpp_gio_in',
+ 'rpp_gio_out',
+ 'rpp_hdk_ain',
+ 'rpp_overrun',
+ 'rpp_sci_cfg',
+ 'rpp_sci_printf',
+ 'rpp_sci_rx',
+ 'rpp_sci_tx',
+ 'rpp_hydctr_init'
+ };
+ elseif strcmp(target, 'tms570_rpp'),
+ blocks = {
+ 'rpp_aout',
+ 'rpp_can_rx',
+ 'rpp_can_setup',
+ 'rpp_can_tx',
+ 'rpp_din_cfg',
+ 'rpp_din',
+ 'rpp_dout',
+ 'rpp_fr_cfg',
+ 'rpp_fr_rx',
+ 'rpp_fr_tx',
+ 'rpp_gio_in',
+ 'rpp_gio_out',
+ 'rpp_hbr',
+ 'rpp_ircin',
+ 'rpp_log',
+ 'rpp_overrun',
+ 'rpp_power',
+ 'rpp_rpp_ain',
+ 'rpp_sci_cfg',
+ 'rpp_sci_printf',
+ 'rpp_sci_rx',
+ 'rpp_sci_tx'
+ };
end
end