Merge pull request #2041 from 0xc0170/fix_uvision_vla

uvision4/5 - remove no-vla for exporters
pull/2043/head
Bogdan Marinescu 2016-06-28 15:17:08 +03:00 committed by GitHub
commit 693a8313c5
2 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class Uvision4(Exporter):
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("-I \""+ARM_INC+"\"")
# cpp is not required as it's implicit for cpp files
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--cpp")
# we want no-vla for only cxx, but it's also applied for C in IDE, thus we remove it
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--no_vla")
project_data['tool_specific']['uvision']['misc']['ld_flags'] = self.progen_flags['ld_flags']
i = 0

View File

@ -80,6 +80,8 @@ class Uvision5(Exporter):
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--c99")
# cpp is not required as it's implicit for cpp files
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--cpp")
# we want no-vla for only cxx, but it's also applied for C in IDE, thus we remove it
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--no_vla")
project_data['tool_specific']['uvision5']['misc']['ld_flags'] = self.progen_flags['ld_flags']
i = 0