We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad8faab commit 54e1e55Copy full SHA for 54e1e55
tools/export/iar/__init__.py
@@ -10,6 +10,7 @@
10
from tools.export.exporters import Exporter, TargetNotSupportedException
11
import json
12
from tools.export.cmsis import DeviceCMSIS
13
+from tools.utils import NotSupportedException
14
from multiprocessing import cpu_count
15
16
class IAR(Exporter):
@@ -100,6 +101,8 @@ def format_src(self, srcs):
100
101
102
def generate(self):
103
"""Generate the .eww, .ewd, and .ewp files"""
104
+ if not self.resources.linker_script:
105
+ raise NotSupportedException("No linker script found.")
106
srcs = self.resources.headers + self.resources.s_sources + \
107
self.resources.c_sources + self.resources.cpp_sources + \
108
self.resources.objects + self.resources.libraries
0 commit comments