CANopen Master Documentation
Version 6.06.02
Loading...
Searching...
No Matches
Getting started

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

./ComCompileTemplate
###############################################################################
# CANopen Master Example #
###############################################################################
CANopen Master, Version 6.04.02, build on Jul 28 2023 at 10:34:53
Number of Networks : 1
Number of Devices : 127
Default timer period : 10000 [usec]
Number of SDO clients : 1
Number of RPDOs : 32
Number of TPDOs : 32
LSS Master support : 1
SAE J1939 support : 0
CANpie FD socket processing : 0
Exit CANopen FD master demo