[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 ''
pull/516/head
ohagendorf 2014-09-28 14:40:50 +02:00
parent 25ff4eb5b4
commit b3b70c6c0a
1 changed files with 3 additions and 0 deletions

View File

@ -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,