Added missing macros to symbol list

pull/452/head
Przemek Wirkus 2014-08-20 10:59:28 +01:00
parent f44b3ab3e2
commit a9713521d7
1 changed files with 32 additions and 31 deletions

View File

@ -271,8 +271,9 @@ class mbedToolchain:
self.symbols.append('MBED_USERNAME=' + MBED_ORG_USER)
# Add target's symbols
for macro in self.target.macros:
self.symbols.append(macro)
self.symbols += self.target.macros
# Add extra symbols passed via 'macros' parameter
self.symbols += self.macros
# Form factor variables
if hasattr(self.target, 'supported_form_factors'):