export: Fix after testing Sw4STM32

Quotation marks in defines had to be replaced with html codes.
pull/4779/head
Jaakko Heikkilä 2017-08-29 15:10:37 +03:00
parent e0cdda6e72
commit 98e578f707
1 changed files with 4 additions and 3 deletions

View File

@ -342,9 +342,10 @@ class Sw4STM32(GNUARMEclipse):
]
profiles = self.get_all_profiles()
self.as_defines = self.toolchain.get_symbols(True)
self.c_defines = self.toolchain.get_symbols()
self.as_defines = [s.replace('"', '"')
for s in self.toolchain.get_symbols(True)]
self.c_defines = [s.replace('"', '"')
for s in self.toolchain.get_symbols()]
self.cpp_defines = self.c_defines
print 'Symbols: {0}'.format(len(self.c_defines))