Skip to content

"Improve precompiled libraries handling" broke "mixed code" libraries #353

Closed
arduino/arduino-cli
#611
@sierraatomic

Description

@sierraatomic

When you have library with both precompiled and source code (precompiled!=source code), Arduino v1.8.12 will skip compilation phase, and you will get missing code error at linker phase.
If you change "precompiled=true" to "precompiled=false" it will compile the code, but will not add precompiled code to linker, and you will get missing code error (different code missing).
Example: https://github.com/BoschSensortec/BSEC-Arduino-library
It is compiling just fine on Arduino v1.8.11.
Looks like the reason for this behaviour is from:
General change:

  • library compilation bails out if the precompiled object is found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions