CANopenNode / CanOpenSTM32

CANopenNode on STM32 microcontrollers.
Other
281 stars 112 forks source link

Undefined references CO_process_SYNC,CO_process_RPDO, CO_process_TPDO #16

Closed rohinidr closed 1 year ago

rohinidr commented 1 year ago

Why am I getting these undefined references when I compile CANopenNode_STM32/CO_app_STM32.c:260: undefined reference to CO_process_SYNC' ../CANopenNode_STM32/CO_app_STM32.c:263: undefined reference toCO_process_RPDO' ../CANopenNode_STM32/CO_app_STM32.c:266: undefined reference to `CO_process_TPDO'

MaJerle commented 1 year ago

Which example are you trying to build?

rohinidr commented 1 year ago

I just included CANOpen and CANSTM32 in my own project. Am I missing something?

MaJerle commented 1 year ago

Most probably all configuration for canopen, to maoe functions available for lonking.

rohinidr commented 1 year ago

It was just the folder structure . CANOpenNode was not added as sub directory . Rather I retained outside CanOpenSTM32 for which I needed a make file update . Thanks for responding quickly. I am gonna close this issue