{{ message }}
-
Beta Was this translation helpful? Give feedback.
Answered by
fpistm
Jun 1, 2026
Replies: 2 comments 2 replies
-
|
Hi @jmchiappa you can refer to this issue and related PR. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jmchiappa
-
|
Perfect ! I wasn't aware about that ! Thank you @fpistm |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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.