![]() |
CANopen Slave Protocol Stack
Version 7.06.02
|
The source files test the correct integration of the API (Compile and Build Process). The build file can be executed, but without any feedback.
In order to build the examples the following programs are required:
Before building, the stack must be configured for the target hardware and application. The configuration is done in the file cos_conf.h, which is part of the application project (not the stack source tree). The template application already contains a working cos_conf.h under source/application/template-cos/. When starting a new integration, copy this file as the basis for the project-specific configuration and adjust the feature defines (e.g. COS_PDO_RCV_NUMBER, COS_LSS_SUPPORT) to match the device requirements.
An example which runs on every target system is located inside the directory source/application/template-cos. This example uses a CANpie FD dummy driver (located in the directory source/application/template-device). Perform the following steps to build this example:
After the template builds and runs successfully, continue with: