Skip to content

Commit b3b70c6

Browse files
committed
[EXPORT][CoIDE] problem with missing linker script
- a missing linker script configures the scatter file option (linker script path in CoIDE) to 'None' not to ''
1 parent 25ff4eb commit b3b70c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

workspace_tools/export/coide.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def generate(self):
6262
l, _ = splitext(basename(lib))
6363
libraries.append(l[3:])
6464

65+
if self.resources.linker_script is None:
66+
self.resources.linker_script = ''
67+
6568
ctx = {
6669
'name': self.program_name,
6770
'source_files': source_files,

0 commit comments

Comments
 (0)