From b3b70c6c0a9e033bfe2495b8933b943b649b6fe2 Mon Sep 17 00:00:00 2001 From: ohagendorf Date: Sun, 28 Sep 2014 14:40:50 +0200 Subject: [PATCH] [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 '' --- workspace_tools/export/coide.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workspace_tools/export/coide.py b/workspace_tools/export/coide.py index 0a89943ab5..c2090931d4 100644 --- a/workspace_tools/export/coide.py +++ b/workspace_tools/export/coide.py @@ -62,6 +62,9 @@ class CoIDE(Exporter): l, _ = splitext(basename(lib)) libraries.append(l[3:]) + if self.resources.linker_script is None: + self.resources.linker_script = '' + ctx = { 'name': self.program_name, 'source_files': source_files,