Skip to content

Commit fea553c

Browse files
committed
Deprecate Atmel Studio
1 parent 39f8a7d commit fea553c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/export/atmelstudio/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
import uuid
1818
from os.path import splitext, basename, dirname
1919

20-
from tools.export.exporters import Exporter
20+
from tools.export.exporters import Exporter, deprecated_exporter
2121

2222

23+
@deprecated_exporter
2324
class AtmelStudio(Exporter):
2425
NAME = 'AtmelStudio'
2526
TOOLCHAIN = 'GCC_ARM'
@@ -36,6 +37,10 @@ class AtmelStudio(Exporter):
3637

3738
MBED_CONFIG_HEADER_SUPPORTED = True
3839

40+
@classmethod
41+
def is_target_supported(cls, maybe_supported):
42+
return maybe_supported in cls.TARGETS
43+
3944
def generate(self):
4045

4146
source_files = []

0 commit comments

Comments
 (0)