libedssharp icon indicating copy to clipboard operation
libedssharp copied to clipboard

Warning and error messages with generated CO_OD.h and CO_OD.c files using Copley EDS with CANopenNode Stack on Zephyr

Open clewis04 opened this issue 4 years ago • 1 comments

Hello,

I am running into issues using libedssharp on windows to generate CO_OD.h and CO_OD.c files using the Copley EDS with CANopenNode Stack on a MCU with Zephyr as the RTOS. When I try to compile with no editing of the eds and just generation of the c and h files, I get errors using the Zephyr CANopenNode Stack that I do not see when I use the socketCAN Linux with this same eds file. Specifically, the objects with no default values are causing issues.

Has anyone run into this issue or know to resolve? Thanks, and links to eds below as a text file and as a download since .eds file types are not supposed.

CopleyAmp.eds.txt

This was directly downloaded from Copley Website: https://www.copleycontrols.com/en/products/ap2-090-14/ Under the Downloads & Resources section under Software named CANopen EDS

clewis04 avatar Nov 03 '20 15:11 clewis04

To add to this: it seems as though, regardless, this tool should generate valid .C and .H files that can be compiled. It appears that that is not the case. Apart from the empty commas it produces, it also suggests that there is an array that has too many variables. Any help with this would be great! Thank you!

eden-desta avatar Nov 09 '20 13:11 eden-desta