here is the solution:
https://github.com/CANopenNode/CanOpenSTM32/pull/44
File changes in CanOpenSTM32 Library
Best regards, C.O