diff --git a/tools/export/atmelstudio/__init__.py b/tools/export/atmelstudio/__init__.py index bab012db69..f123810b8a 100644 --- a/tools/export/atmelstudio/__init__.py +++ b/tools/export/atmelstudio/__init__.py @@ -17,9 +17,10 @@ limitations under the License. import uuid from os.path import splitext, basename, dirname -from tools.export.exporters import Exporter +from tools.export.exporters import Exporter, deprecated_exporter +@deprecated_exporter class AtmelStudio(Exporter): NAME = 'AtmelStudio' TOOLCHAIN = 'GCC_ARM' @@ -36,6 +37,10 @@ class AtmelStudio(Exporter): MBED_CONFIG_HEADER_SUPPORTED = True + @classmethod + def is_target_supported(cls, maybe_supported): + return maybe_supported in cls.TARGETS + def generate(self): source_files = []