File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ CCADMIN=CCadmin
51
51
52
52
BUILDDIR = BUILD
53
53
PLATFORM = {{target}}
54
- ELF2BIN = 'arm-none-eabi-objcopy '
54
+ ELF2BIN = '{{elf2bin_cmd}} '
55
55
TARGET = ${CND_DISTDIR}/${CONF}/${CND_PLATFORM}/{{name}}
56
56
57
57
Original file line number Diff line number Diff line change @@ -243,7 +243,12 @@ def create_jinja_ctx(self):
243
243
'cpp_std' : self .get_netbeans_cpp_std (cpp_std ),
244
244
'linker_script' : self .ld_script ,
245
245
'linker_libs' : sys_libs ,
246
- 'pp_cmd' : preproc
246
+ 'pp_cmd' : preproc ,
247
+ 'cc_cmd' : self .toolchain .cc [0 ],
248
+ 'cppc_cmd' : self .toolchain .cppc [0 ],
249
+ 'asm_cmd' : self .toolchain .asm [0 ],
250
+ 'ld_cmd' : self .toolchain .ld [0 ],
251
+ 'elf2bin_cmd' : self .toolchain .elf2bin
247
252
}
248
253
return jinja_ctx
249
254
Original file line number Diff line number Diff line change 79
79
<Elem >{{ symbol }}</Elem >
80
80
{% endfor -%}
81
81
</preprocessorList >
82
+ <commandlineTool >{{cc_cmd}}</commandlineTool >
82
83
</cTool >
83
84
<ccTool >
84
85
<standard >{{ cpp_std }}</standard >
104
105
<Elem >{{ symbol }}</Elem >
105
106
{% endfor -%}
106
107
</preprocessorList >
108
+ <commandlineTool >{{cppc_cmd}}</commandlineTool >
107
109
</ccTool >
108
110
<fortranCompilerTool >
109
111
<developmentMode >5</developmentMode >
129
131
<Elem >{{ symbol }}</Elem >
130
132
{% endfor -%}
131
133
</preprocessorList >
134
+ <commandlineTool >{{asm_cmd}}</commandlineTool >
132
135
</asmTool >
133
136
<linkerTool >
134
137
<output >${CND_DISTDIR}/${CND_CONF}/{{target}}/{{name}}.elf</output >
135
138
<additionalDep >${CND_BUILDDIR}/${CND_CONF}/{{target}}/.link_script.ld</additionalDep >
136
- <commandlineTool >arm-none-eabi-gcc </commandlineTool >
139
+ <commandlineTool >{{ld_cmd}} </commandlineTool >
137
140
<commandLine >-T ${CND_BUILDDIR}/${CND_CONF}/{{target}}/.link_script.ld {%- for symbol in opts['ld'] -%}{{" "+symbol}}{%- endfor -%} {%- for item in linker_libs -%}{{" "+item}}{%- endfor -%} </commandLine >
138
141
</linkerTool >
139
142
</compileType >
You can’t perform that action at this time.
0 commit comments