AutoBuildMarlin icon indicating copy to clipboard operation
AutoBuildMarlin copied to clipboard

Restricting Environments

Open BigBird0000 opened this issue 2 years ago • 1 comments

Is there a way currently (or possibly in the future) is specify which environment to use, if more than 1 environment is available? For example, in the attached screenshot, I do not want to use the environment with _Maple attached

ABMEnvironments

Thanx

BigBird0000 avatar May 28 '22 01:05 BigBird0000

There is nothing that Auto Build looks for in your configurations or ini files for hiding unwanted environments. But these come from pins.h, so you can edit pins.h to prevent an environment from appearing in Auto Build.

If you just want to have your preferred environment build with "pio run" alone you can set the default build environment in platformio.ini.

Another way to do the build from a shell without interaction would be to use buildroot/bin/mftest -a -n1 -y.

thinkyhead avatar Jun 04 '22 01:06 thinkyhead