Open Source CANOpen stack by Clovel
This project and it's dependecies are WIP !
You first need to generate a CANOpen Object Dictionary using OSCO-OD-Gen.
Once your Object Dictionary C code has been generated, they should be all in one directory.
Use the copy_od_gen_code.sh
script to copy the source files into the correct directory in the OSCO project.
./copy_od_gen_code.sh <GEN_SOURCE_DIRECTORY>
The source files will be copied in the gen/
directory, and be compiled with CMake (if you use CMake).
For now, the OSCOCANDriver
uses CAN over IP as a CAN driver.
Here is the list of driver layers in development for the OSCO project :
- can-ip : CAN over UDP boradcast
- can-serial : CAN over Serial, using CANUSB protocol
- can-socketcan : CAN over SocketCAN for Linux
To build a CAN transceiver for macOS, I am building an USB-to-ESP8266-to-MCP2515 device that will work with can-serial. It is called the esp-can-spi-bridge
A Object Dictionary code geenrator is being built at OSCO-OD-Gen.
To implement a clock for the examples, TimerThread.
To implement the INI file parser, this project uses INITools.
Contributions are welcome ! Please refer to the CONTRIBUTING.md for more information.
A code of conduct has been established. Please do your best to comply to it. By following the rules, we ensure that our interractions will be as civil and enjoyable as possible.