Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CO_OD_PERSIST_COMM : where is this supposed to be defined ? #243

Open
fenugrec opened this issue Dec 22, 2020 · 0 comments
Open

CO_OD_PERSIST_COMM : where is this supposed to be defined ? #243

fenugrec opened this issue Dec 22, 2020 · 0 comments

Comments

@fenugrec
Copy link

fenugrec commented Dec 22, 2020

Trying to use libedssharp with CANopenNode 1.3 ; with "CANOPENNODE_LEGACY" selected as the exporter.

The generated CO_OD.{c,h} files have many references to a certain struct CO_OD_PERSIST_COMM which is defined nowhere obvious.
Of course compilation fails;

arm-none-eabi-gcc "../canopen_stuff/CO_OD.c" -mcpu=cortex-m0 -std=gnu11 -g3 '-DCO_VERSION_MAJOR=2'  -I [......] -MF"canopen_stuff/CO_OD.d" -MT"canopen_stuff/CO_OD.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "canopen_stuff/CO_OD.o"
../canopen_stuff/CO_OD.c:51:21: error: 'CO_OD_PERSIST_COMM' undeclared here (not in a function); did you mean 'CO_ODA_MEM_ROM'?
            {(void*)&CO_OD_PERSIST_COMM.identity.highestSubIndexSupported, 0x06, 0x1 },

Where is this documented, and where should it be implemented ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant