Skip to content

XPCC Generator

lbuild module: modm:communication:xpcc:generator

Translates the XPCC XML declarations into C++ code. See the SCons build script generator documentation for how the generated sources are integrated.

Deprecated

XPCC moved into the modm-io/xpcc repository and this module will be removed in the 2027q4 release! Add the xpcc repository to your project and use the xpcc:generator module instead, see its README for how to migrate. For new projects please use a modern CAN protocol like DroneCAN.

Options

container

Name of the XPCC container to generate for

Default: ""
Inputs: [String]

namespace

Namespace of the generated XPCC communications

Default: robot
Inputs: [String]

path

Path to the XPCC generated folder

Default: generated/xpcc
Inputs: [Path]

source

Path to the XPCC source file

Default: []
Inputs: [Path]