Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-02 Thread Fontana Nicola
Il giorno dom, 01/08/2021 alle 22.55 +, Gavin Lambert ha scritto: > Why are you calling ecrt_slave_config_pdos *OR* > ecrt_slave_config_reg_pdo_entry?  You need to do both things. Hi Gavin, I am calling both. `ecrt_slave_config_pdos` is called only when there is at least one sync manager to

Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-02 Thread Fontana Nicola
Il giorno lun, 02/08/2021 alle 13.50 +0200, Fontana Nicola ha scritto: > > Il giorno dom, 01/08/2021 alle 22.55 +, Gavin Lambert ha scritto: > > Why are you calling ecrt_slave_config_pdos *OR* > > ecrt_slave_config_reg_pdo_entry?  You need to do both things. > > Hi Gavin, > > I am calling

Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-02 Thread Gavin Lambert
Yes, you're calling both now. Previously you had the "else-if" structured such that it wouldn't, though. ecrt_domain_reg_pdo_entry_list doesn't require a *static* array (although that's used in the examples); you can build a temporary array if you wish, although then you're back to needing a