Skip to content

Configure Arduino CLI to export binaries to the sketch folder #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2020
Merged

Configure Arduino CLI to export binaries to the sketch folder #20

merged 1 commit into from
Nov 4, 2020

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Nov 4, 2020

As is documented in this project's readme, Arduino CLI 0.11.0 - 0.13.0 saves the compiled binaries to the build subfolder of the sketch by default. This behavior will change in the next Arduino CLI release (see: arduino/arduino-cli#1051) to defaulting to not save the binaries.

The previous behavior may be most easily preserved in a backwards compatible manner by configuring Arduino CLI's sketch.always_export_binaries configuration setting via an environment variable:
https://arduino.github.io/arduino-cli/latest/configuration/#environment-variables

Even though the change to Arduino CLI won't affect this project until the next release of Arduino CLI, I thought it best to prepare in advance to make it possible to avoid any disruption to users whose workflows might rely on the availability of the binaries.

Arduino CLI 0.11.0 - 0.13.0 saved the compiled binaries to the build subfolder of the sketch by default. This behavior
will change in the next Arduino CLI release, so that the default is to not save the binaries.

The previous behavior may be most easily preserved in a backwards compatible manner by configuring Arduino CLI's
sketch.always_export_binaries configuration setting via an environment variable:
https://arduino.github.io/arduino-cli/latest/configuration/#environment-variables
@ArminJo ArminJo merged commit 1a639bf into ArminJo:master Nov 4, 2020
@ArminJo
Copy link
Owner

ArminJo commented Nov 4, 2020

Thanks 🥇 !!!!

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

Successfully merging this pull request may close these issues.

2 participants