Hans-Erik Floryd
f61e77a5d1
revert to 32-bit objd values
...
The size of the objd->value member was previously increased to 64-bit
to allow setting 64-bit default values. This may waste some (ROM)
memory as 64-bit values are somewhat uncommon, and the value can be
set from an application hook instead. Revert to 32-bit values.
Fix #59
2019-07-10 12:05:23 +02:00
Andreas Karlsson
e600a515c5
add support for legacy static PDO mapping
...
Add possibility to use static PDO mapping. Upgrade XMC43 bare-metal
example to SOESv3.0 and use the static mapping.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
d204255ad3
update objecthandler and hooks
...
Replace isCA with a set of flags to hold more data.
The pre_object_download_hook should return a COE abort code which is
an unsigned 32-bit value.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
236a02bfb4
add hook for setting default values
...
Add set_defaults_hook to let application override default values.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
5b33b077ca
add support for dynamic pdos
...
Add support for dynamic pdos, i.e. pdos that can be configured by the
EtherCAT master.
2019-05-09 15:43:07 +02:00
Andreas Karlsson
6fb665a701
Update App to use new DC checks, set error function, SM watchdog, fixed EEPROM delayed write and move generic slave functionallity to generic SOES
2019-05-09 15:43:07 +02:00
Andreas Karlsson
ca48f9db21
Move DC config to the applications
2019-05-09 15:43:07 +02:00
Andreas Karlsson
ef6e55a6e2
Return data type for SDOinfo for type array and return maxsub of index 0 for array and record, maxsub from object VAR
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
1917a6f72b
fix infoerror abort code
...
The upper 16 bits of the infoerror abort code was invalid.
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
c66a5efb32
fix access check when downloading to RxPDO or TxPDO
...
The access type field is a bitfield and may have additional bits
set. Use only read/write permission bits to verify access.
2019-04-04 15:07:26 +02:00
rtlaka
39fb2c91e7
added new xmc irq sample and adopted old samples
2017-10-30 09:50:30 +01:00
rtlaka
148cdba265
Add IRQ with SM/DC sync0 support
2017-10-25 14:38:38 +02:00
rtlaka
7715a2fffd
extend esc_config for generic stack configuration
2017-10-25 14:31:30 +02:00
rtlaka
036fb47dc3
Put a brief license info in source files and bump version
2017-10-25 13:39:20 +02:00
Mikael Heden
a53868daec
Fix bug when the number of PDO subindexes is 255
...
The problem was that for (sic = 1; sic <= si; sic++) never terminates if
si = 255 (number of subindexes) since sic was a uint8_t.
2016-08-19 16:19:06 +02:00
ArthurKetels
10c7f5191f
Bugfix against latest CTT 2.0.34
...
Fixed various big endian conversions. MBX error behaviour adapted to
specification
2016-01-27 22:14:36 +01:00
Hans-Erik Floryd
1dd230f742
use C99 types
2015-05-21 10:42:10 +02:00
Hans-Erik Floryd
fa7a68381e
remove FLASHSTORE
2015-05-21 10:21:37 +02:00
Hans-Erik Floryd
4abe6e0f6c
remove nil, use the standard NULL
2015-05-21 10:12:45 +02:00
Hans-Erik Floryd
134d2eb20b
clean license headers
2015-05-20 11:47:50 +02:00
Hans-Erik Floryd
6b9aa5a343
decouple stack from application
2015-05-13 17:02:01 +02:00
Hans-Erik Floryd
a5ce11ea9a
add compiler abstraction header
2015-05-13 17:02:01 +02:00
Hans-Erik Floryd
6fbb2f7dae
CTT wants ABORT_UNSUPPORTED
2014-10-27 16:12:37 +01:00
Mikael Heden
fbe99a8ab7
Imported Arthur Ketels' SOES (hg: ea7f05102d58)
2014-09-12 16:01:33 +02:00