From 7963ce2cddd0c69f10eecaeb2347ade1e0ea811d Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 13 Sep 2017 17:38:42 +0300 Subject: [PATCH] Do not warn about "custom_" options in configuration file --- platformio/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 64d27c23..e27aa455 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -227,7 +227,7 @@ class EnvironmentProcessor(object): v = self.RENAMED_PLATFORMS[v] # warn about unknown options - if k not in self.KNOWN_OPTIONS: + if k not in self.KNOWN_OPTIONS and not k.startswith("custom_"): click.secho( "Detected non-PlatformIO `%s` option in `[env:%s]` section" % (k, self.name),