Skip to main content
Documentation v2.0
Firmware compilation failed/docs/troubleshooting/firmware-compile

Troubleshooting

Stable

Firmware compilation failed

Reading Smart Diagnostics and the raw log, plus library, board, linker, and memory usage errors.

On this page4 sections

Start with the first error

Later errors are often a result of the first one. Open the earliest file, line, and column location.

Common categories

Category Example
Syntax Semicolons, brackets, strings.
Symbol/type Undeclared identifier, wrong parameter.
Library Header not found, multiple libraries.
Board/core FQBN or core not available.
Linker Undefined reference, multiple definition.
Memory Flash or RAM overflow.

Stale results

If the source has changed but an old error still appears, save the source and run Verify again. The system uses the source revision to ignore outdated results.

Raw log

Download or copy the raw log when the summary isn't enough.

Documentation feedback

Was this article helpful?

Documentation search

What do you want to learn?

Type at least two characters to search the documentation.
Code copied.