CANopenNode icon indicating copy to clipboard operation
CANopenNode copied to clipboard

CANopenEditor (formerly libedssharp) updates and its new homepage

Open CANopenNode opened this issue 4 years ago • 0 comments

CANopenEditor is a fork from libedssharp. As agreed with @robincornelius, developement will continue on CANopenEditor, which is now sub-project of CANopenNode. libedssharp is currently not up to date.

Latest CANopenEditor adds features to the generated OD.h file:

  • Sizes of OD arrays, for example #define OD_CNT_ARR_1016 8
  • Initialization macro for CO_config_t structure for the case CO_MULTIPLE_OD is used.
  • Added attributes for controlling memory location of OD data
  • Automatic calculation of the "CO_countLabel" for the case of old object dictionary.

Consequently, the latest CANopenNode, the base stack, must be compiled by using the OD.h and OD.c files generated by the latest CANopenEditor, or compile error will be thrown: OD_CNT_ARR_1016 is not defined in Object Dictionary or value is wrong!

Additionally two configuration macros was removed from the latest CANopenNode: CO_CONFIG_EM_BUFFER_SIZE and CO_CONFIG_HB_CONS_SIZE. Those values are now fetched from OD.h.

CANopenNode avatar Jun 28 '21 13:06 CANopenNode