The source files tests the correct integration of the API (Compile and Build Process). The build file can be executed, but without any feedback.
Prerequisites
In order to build the examples the following programs are required:
- C compiler supporting the C99 standard
- Installation of CMake when using the corresponding project files (recommended)
Building example code
An example which runs on every target system is located inside the directory source/application/template-com
. This example uses a CANpie FD dummy driver (located in the directory source/application/template-device
). Perform the following steps to build this example:
cd source/application/template-com/CMake
mkdir build
cd build
cmake ..
cmake --build .
Executing template code
###############################################################################
# CANopen Master Example #
###############################################################################
CANopen Master, Version 6.8.0, build on Apr 23 2025 at 11:19:01
Number of Networks : 1
Number of Devices : 127
Default timer period : 10000 [usec]
Number of SDO clients : 1
Number of RPDOs : 512
Number of TPDOs : 512
LSS Master support : 1
SAE J1939 support : 0
CANpie FD socket processing : 0
Exit CANopen FD master demo