Skip to content
Discussion options

You must be logged in to vote

Hi @jmchiappa
build_opt.h is used for compilation options not for the link step.
To be able to link an external library you should create an Arduino library then add your archive to it and specify the ldflags:
https://arduino.github.io/arduino-cli/1.5/library-specification/#libraryproperties-file-format

you can refer to this issue and related PR.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Answer selected by jmchiappa
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants