See details
Hi,
Some feedback for ST on the latest motor control MCSDK_v5.Y.3: Within files mcptl.h and aspep.c, bad practice to name an enumerated constant 'free', as of course conflicts with stdlib.h free function. We include stdlib.h for a few standard functions, though not free. Anyway, the duplicate name use causes a compilation error, that was not present with MCSDK_v5.4.5. Our workaround: Within the two mentioned files, rename free to free_ (one place in mcptl.h, three places in aspep.c)
Also, while writing, ST, do you have some documentation about the ASPEP protocol? A quick google yielded none, though I see someone else requested, two months back. Presently, we are using the published information about the 5.4.5 Motor Control Protocol, to communicate with a device other than the workbench. To use 5.Y.3, we would need to changeover our device comms to use ASPEP. I'll take a guess at what that stands for. Is it Advanced Serial Private Embedded Protocol?
Mods, if moving parts of a thread to a more appropriate section of the forum, could you include a source to dest link, and vice-versa, so that the thread is still useful?
Thank you,
David