Skip to content

Commit

Permalink
Merge pull request #97 from hefloryd/master
Browse files Browse the repository at this point in the history
Regenerate rtl_xmc4_dynpdo
  • Loading branch information
hefloryd authored Feb 11, 2021
2 parents eb1848a + 85319b8 commit 591d08d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Binary file modified applications/rtl_xmc4_dynpdo/sii_eeprom.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion applications/rtl_xmc4_dynpdo/slave.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@
<Name>TXPDO 2</Name>
</TxPdo>
<Mailbox DataLinkLayer="true">
<CoE CompleteAccess="false" PdoAssign="true" PdoConfig="true" PdoUpload="false" SdoInfo="true"/>
<CoE CompleteAccess="true" PdoAssign="true" PdoConfig="true" PdoUpload="false" SdoInfo="true"/>
</Mailbox>
<Eeprom>
<ByteSize>256</ByteSize>
Expand Down
2 changes: 1 addition & 1 deletion applications/rtl_xmc4_dynpdo/slave_objectlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const _objd SDO1018[] =
{0x01, DTYPE_UNSIGNED32, 32, ATYPE_RO, acName1018_01, 0x1337, NULL},
{0x02, DTYPE_UNSIGNED32, 32, ATYPE_RO, acName1018_02, 0x4800, NULL},
{0x03, DTYPE_UNSIGNED32, 32, ATYPE_RO, acName1018_03, 0, NULL},
{0x04, DTYPE_UNSIGNED32, 32, ATYPE_RO, acName1018_04, 0x00000000, NULL},
{0x04, DTYPE_UNSIGNED32, 32, ATYPE_RO, acName1018_04, 0x00000000, &Obj.serial},
};
const _objd SDO10F1[] =
{
Expand Down
4 changes: 4 additions & 0 deletions applications/rtl_xmc4_dynpdo/utypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

typedef struct
{
/* Identity */

uint32_t serial;

/* Inputs */

struct
Expand Down

0 comments on commit 591d08d

Please sign in to comment.