1
0
Fork 0
CANopenNode/stack/eCos
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
..
application.cpp Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
CO_driver.c Use a void pointer for the CAN device address 2019-11-10 13:14:53 +01:00
CO_driver.h Use a void pointer for the CAN device address 2019-11-10 13:14:53 +01:00
CO_Flash.c License changed to the GNU General Public License version 2 with the classpath exception. 2016-01-10 00:15:50 +01:00
CO_Flash.h License changed to the GNU General Public License version 2 with the classpath exception. 2016-01-10 00:15:50 +01:00
CO_PollingTimer.c Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
CO_PollingTimer.h Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
ecos_helper.cpp Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
ecos_helper.h Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
main.c Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
Makefile Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
readme Readme updated and SocketCAN Linux tasks added. 2015-11-29 21:45:01 +01:00

CANopenNode driver for eCos CAN framework. The driver supports any hardware that is supported by the eCos CAN framework.
See http://ecos.sourceware.org/

The driver was developed and tested with the Olimex LCP-E2294-1MB board:
https://www.olimex.com/Products/ARM/NXP/LPC-E2294-1MB/

and with the Olimex LPC-L2294-1MB board:
https://www.olimex.com/Products/ARM/NXP/LPC-L2294-1MB/

The driver also utilizes the eCos generic flash support to implement parameter storage and default parameter restore functionality via objects 0x1010 and 0x1011.

Contributed by Uwe Kindler: http://sourceforge.net/p/canopennode/discussion/387151/thread/7603e3b5/