File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
from tools .export .exporters import Exporter
21
21
from tools .targets import TARGET_MAP , TARGET_NAMES
22
+ from tools .settings import ARM_INC
22
23
23
24
# If you wish to add a new target, add it to project_generator_definitions, and then
24
25
# define progen_target name in the target class (`` self.progen_target = 'my_target_name' ``)
@@ -72,11 +73,11 @@ def generate(self):
72
73
# cxx flags included, as uvision have them all in one tab
73
74
project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ] + self .toolchain .flags ['cxx' ]))
74
75
# 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 + "\" " )
76
+ project_data ['tool_specific' ]['uvision5 ' ]['misc' ]['c_flags' ].remove ("-I \" " + ARM_INC + "\" " )
76
77
# not compatible with c99 flag set in the template
77
78
project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ].remove ("--c99" )
78
79
# cpp is not required as it's implicit for cpp files
79
- project_data ['tool_specific' ]['uvision ' ]['misc' ]['c_flags' ].remove ("--cpp" )
80
+ project_data ['tool_specific' ]['uvision5 ' ]['misc' ]['c_flags' ].remove ("--cpp" )
80
81
project_data ['tool_specific' ]['uvision5' ]['misc' ]['ld_flags' ] = self .toolchain .flags ['ld' ]
81
82
82
83
i = 0
You can’t perform that action at this time.
0 commit comments