Add Custom Tool to Toolchain

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Add Custom Tool to Toolchain

1,148 次查看
deniscollis
Contributor V

I want to add some tools to the toolchain.  This is to add some steps that prepare and package the firmware image for OTA programming.  The idea is to get the IDE do it as part of the build.

From the project properties:

ToolchainEditor.jpg

Now, clicking [Select Tools]:

SelectTools.jpg

Any pointers on how to add custom utils to the 'Available tools' list?

Much appreciated,

Denis

标签 (1)
标记 (2)
0 项奖励
2 回复数

1,080 次查看
converse
Senior Contributor V

Short answer - it involves a lot of work. 

Longer answer. You can't add individual tools, you add 'toolchains' - compiler, assembler, linker etc. This involves writing an Eclipse plugin and writing (a lot) of XML. When adding a toolchain, you can add you own tools to 'extend' the compilation tools.

More information can be found in the Managed Build System Extensibility docs:

CDT/Archive/designs/MBS - Eclipsepedia 

What do your tools do - there may be a better (i.e. easier) way to do this.

0 项奖励

1,080 次查看
deniscollis
Contributor V

Thanks converse‌.

Looks like this requires a deep-dive into Eclipse, for which I have neither the time nor the inclination.  I'll try "Post-build steps", instead.

0 项奖励