Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: export/atmelstudio/__init__.py
- Revision:
- 40:7d3fa6b99b2b
- Parent:
- 35:da9c89f8be7d
- Child:
- 43:2a7da56ebd24
diff -r c98cb013e99f -r 7d3fa6b99b2b export/atmelstudio/__init__.py
--- a/export/atmelstudio/__init__.py Wed Jul 19 16:44:30 2017 -0500
+++ b/export/atmelstudio/__init__.py Tue Oct 10 16:56:30 2017 -0500
@@ -17,9 +17,10 @@
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 @@
MBED_CONFIG_HEADER_SUPPORTED = True
+ @classmethod
+ def is_target_supported(cls, maybe_supported):
+ return maybe_supported in cls.TARGETS
+
def generate(self):
source_files = []
