1
0
Fork 0
CANopenNode/stack/eCos
Olivier Desenfans 07c61316b3 Single project-wide header for driver functions
Created a single header file (`CO_driver.h`) to declare the functions
of the drivers API. This forces drivers to use a common API.

Previously, each driver declared these functions in its specific
`CO_driver.h` file. This causes two issues:
1. while these functions are used in target-independent code,
   the declarations could be target specific, leading to API/ABI
   compatibility issues.
2. the declarations were duplicated for each driver.

The `CO_driver.h` files for each driver were renamed to
`CO_driver_target.h`. This file is included from `CO_driver.h`.

Added a new header for types: `CO_types.h`. This file currently
holds the definition of `CO_ReturnError_t` that was previously
duplicated for all drivers. Added a few enum values to support
the `neuberger-socketCAN` code.
2019-11-13 13:28:21 +01:00
..
application.cpp Move and rename files. No file change. 2015-07-25 14:03:15 +02:00
CO_driver.c Renaming CANdevicePtr to CANdriverState 2019-11-13 08:34:42 +01:00
CO_driver_target.h Single project-wide header for driver functions 2019-11-13 13:28:21 +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/