Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Invalid Hardware Map Output Configuration

This error describes a problem with the --hwmap-file command-line argument - most commonly an output path whose extension does not identify a supported serialization format. The hardware map sidecar is currently emitted as JSON or TOML, selected by the file extension.

Erroneous invocation:

plc main.st --hwmap-file=output.xml

To fix, use a supported extension:

plc main.st --hwmap-file=output.json
plc main.st --hwmap-file=output.toml

Or omit the value to let the compiler derive <output>.hwmap.json next to the binary:

plc main.st -o main.so --hwmap-file