Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions soes/esc_coe.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define __esc_coe__

#include <cc.h>
#include "options.h"


typedef struct
Expand Down Expand Up @@ -133,6 +134,11 @@ extern uint32_t ESC_upload_pre_objecthandler (uint16_t index,
size_t *size,
uint16_t flags);
extern uint32_t ESC_upload_post_objecthandler (uint16_t index, uint8_t subindex, uint16_t flags);

#if USE_CONST_OBJECTLIST
extern const _objectlist SDOobjects[];
#else
extern _objectlist SDOobjects[];
#endif

#endif
5 changes: 5 additions & 0 deletions soes/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
/* User-defined options, Options defined here will override default values */
#include "ecat_options.h"

/* SDOobjects to be provided as const */
#ifndef USE_CONST_OBJECTLIST
#define USE_CONST_OBJECTLIST 1
#endif

/* FoE support */
#ifndef USE_FOE
#define USE_FOE 1
Expand Down
Loading