I'm working with an AVB Endpoint Kit board (using the xCORE XS1-L16), Software Version 5.2.1rc1.
In the gptp module is a function named "ptp_output_test_clock", that, as far as I can tell, allows to output a signal generated from the current ptp time.
However, if I try to call the function with an unused pin, I get this error message:
Code: Select all
passing arg 2 of `ptp_output_test_clock' changes synchronicity of reference target type
Code: Select all
void toggle_pin(port p_gptp_out)
{
}
Unfortunately I'm not able to find any documentation about this. There is only one forum post (https://www.xcore.com/forum/viewtopic.p ... &view=next) referencing this error message.
The author says he was able to solve the problem by defining the port as "unbuffered". Unfortunately this doesn't help me either.
Does anyone have an idea how to solve this issue? And can someone explain what the error message is about?
Best
Marc