File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ def generate(self):
76
76
project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("--c99" )
77
77
# ARM_INC is by default as system inclusion, not required for exported project
78
78
project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("-I \" " + ARM_INC + "\" " )
79
+ # cpp is not required as it's implicit for cpp files
80
+ project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("--cpp" )
79
81
project_data ['tool_specific' ]['uvision' ]['misc' ]['ld_flags' ] = self .toolchain .flags ['ld' ]
80
82
81
83
i = 0
Original file line number Diff line number Diff line change @@ -71,8 +71,12 @@ def generate(self):
71
71
project_data ['tool_specific' ]['uvision5' ]['misc' ]['asm_flags' ] = list (set (self .toolchain .flags ['asm' ]))
72
72
# cxx flags included, as uvision have them all in one tab
73
73
project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ] + self .toolchain .flags ['cxx' ]))
74
+ # ARM_INC is by default as system inclusion, not required for exported project
75
+ project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("-I \" " + ARM_INC + "\" " )
74
76
# not compatible with c99 flag set in the template
75
77
project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ].remove ("--c99" )
78
+ # cpp is not required as it's implicit for cpp files
79
+ project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("--cpp" )
76
80
project_data ['tool_specific' ]['uvision5' ]['misc' ]['ld_flags' ] = self .toolchain .flags ['ld' ]
77
81
78
82
i = 0
You can’t perform that action at this time.
0 commit comments