Remove support for renamed dev/platforms

This commit is contained in:
Ivan Kravets
2019-05-07 15:59:09 +03:00
parent 4fdd51e190
commit 1b4f945907

View File

@ -168,8 +168,6 @@ class EnvironmentProcessor(object):
"board_flash_mode": "board_build.flash_mode"
}
RENAMED_PLATFORMS = {"espressif": "espressif8266"}
def __init__(
self, # pylint: disable=R0913
cmd_ctx,
@ -231,14 +229,6 @@ class EnvironmentProcessor(object):
"`%s` instead." % (k, self.RENAMED_OPTIONS[k]),
fg="yellow")
k = self.RENAMED_OPTIONS[k]
# process renamed platforms
if k == "platform" and v in self.RENAMED_PLATFORMS:
click.secho(
"Warning! Platform `%s` is deprecated and will be "
"removed in the next release! Please use "
"`%s` instead." % (v, self.RENAMED_PLATFORMS[v]),
fg="yellow")
v = self.RENAMED_PLATFORMS[v]
# warn about unknown options
unknown_conditions = [