1
0
Fork 0
CANopenNode/example
Olivier Desenfans e7d9652658 Use a void pointer for the CAN device address
Previously, the address of the CAN device (`CANbaseAddress`)
was specified as a signed or unsigned integer of variable size.
This made the ABI specific for each driver and is not generic
enough for some use cases.

Replaced all usages by using a void pointer instead.
Renamed `CANbaseAddress` to `CANdevicePtr`.
Refactored the code where it needed to be (some comparisons to -1).

Use a pointer to a user-defined variable/structure instead of
a 32-bit integer for CANbaseAddress. Renamed CANbaseAddress
to CANbaseStruct to reflect that change in behavior.

This is more modular and avoids casts.
2019-11-10 13:14:53 +01:00
..
CO_OD_with_trace Trace functionality updated. 2016-04-04 14:04:47 +02:00
_project.html Added trace interface for monitoring variables. 2016-03-24 22:01:44 +01:00
_project.xml Trace functionality updated. 2016-04-04 14:04:47 +02:00
application.c License changed to the GNU General Public License version 2 with the classpath exception. 2016-01-10 00:15:50 +01:00
application.h License changed to the GNU General Public License version 2 with the classpath exception. 2016-01-10 00:15:50 +01:00
CO_OD.c Trace is disabled by default. 2016-03-25 18:07:13 +01:00
CO_OD.h fixed build after adding lss 2018-09-05 08:48:38 +02:00
IO.eds Trace functionality updated. 2016-04-04 14:04:47 +02:00
IO.html Trace functionality updated. 2016-04-04 14:04:47 +02:00
main.c Use a void pointer for the CAN device address 2019-11-10 13:14:53 +01:00