Can't compile AVB Daisy Chain Firmware
Posted: Wed Aug 03, 2016 12:29 pm
Hello,
I am having problems in compiling the default AVB Daisy Chain Firmware (v.1.0.6). I am using xTimeComposer v14.2.0 and I always get the error "passing non-local alias to function `acmp_send_response' which accesses a global variable" at line 485 of file avb_1722_1_acmp_periodic.xc. I have highlighted the line in the code:
Anyone having the same problem? I haven't changed anything from the default firmware provided on the website...
I am having problems in compiling the default AVB Daisy Chain Firmware (v.1.0.6). I am using xTimeComposer v14.2.0 and I always get the error "passing non-local alias to function `acmp_send_response' which accesses a global variable" at line 485 of file avb_1722_1_acmp_periodic.xc. I have highlighted the line in the code:
Code: Select all
int i = acmp_inflight_timeout_idx[LISTENER];
avb_1722_1_acmp_inflight_command *inflight = &acmp_listener_inflight_commands[i];
if (inflight->retried)
{
inflight->command.sequence_id = inflight->original_sequence_id;
// + 7 of the message_type transforms a CONNECT_TX_COMMAND to a CONNECT_RX_RESPONSE etc.
-------> acmp_send_response(inflight->command.message_type + 7, &inflight->command, ACMP_STATUS_LISTENER_TALKER_TIMEOUT, c_tx); <------
// Remove inflight command
inflight->in_use = 0;