CANopen Bootloader Documentation
Version 4.10.00
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-cbl. 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-cbl/CMake
mkdir build
cd build
cmake ..
cmake --build .

Executing template code

./CblCompileTemplate
*******************************************************************************
*
* CANopen Bootloader Protocol Stack template application
*
*******************************************************************************
CBL stack version: '4.08'
CANpie FD version: '3.10'
--- CBL user parameter of device application ---
Device name : 'Boot'
Hardware version: '1.00'
Software version: '1.00'