J1939 Documentation
Version 4.14.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-j1939. 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-j1939
mkdir build
cd build
cmake ..
cmake --build .

Executing template code

./J1939CompileTemplate
*******************************************************************************
*
* J1939 Protocol Stack template application
*
*******************************************************************************
J1939 stack version: '4.14'
CANpie FD version : '3.10'