Hi,
I'm trying to compile the Ethercat slave demo (PRU-ICSS-EtherCAT_Slave_01.00.00.00) with the latest PDK but it doesn't work. First of all, the linked file "pruicss_device.c" point to a non-existing file in the PDK. I think it's been renamed to "pruicss_soc.c". Then, the content ot the linked file "AM57x_board.c" has completely changed, there's no function AM57x_setup() function anymore. What should I do? Revert to PDK 1.0.3?
Also, I find it a bit disturbing that files in the PRU-ICSS EtherCAT package includes private files of the PDK instead of the public header. For example, "tiescutils.c" includes these:
#include <ti/csl/src/ip/mdio/V2/cslr_mdio.h>
#include <ti/csl/src/ip/mdio/V2/csl_mdio.h>
#include <ti/csl/src/ip/mdio/V2/csl_mdioAux.h>
instead of:
#include <ti/csl/cslr_mdio.h>
#include <ti/csl/csl_mdio.h>
Is there a reason for this?
Thanks,
Francis