LPCXpresso code build through Command

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

LPCXpresso code build through Command

跳至解决方案
2,831 次查看
ankitvats
Contributor I

Hi , I wants to Build by Firmware through cmd that generate .bin and .hex file in Window system

 

So , How to do that ??

 

0 项奖励
1 解答
2,820 次查看
ErichStyger
Senior Contributor V

Hi @ankitvats ,

you have many options:

a) simple create batch file and call the compiler and linker. Easy for simple projects.

b) use a make file and call it with make (or cmake, if you prefer), see for example https://mcuoneclipse.com/2017/07/22/tutorial-makefile-projects-with-eclipse/ or https://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/

c) call the IDE to build your project from the command line, see https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-li...

d) if using the MCUXpresso SDK, you can do it directly too, see https://mcuoneclipse.com/2019/04/14/tutorial-mcuxpresso-sdk-with-linux-part-1-installation-and-build...

I hope this helps,

Erich

在原帖中查看解决方案

2 回复数
2,814 次查看
ankitvats
Contributor I

Thanks for your support.

0 项奖励
2,821 次查看
ErichStyger
Senior Contributor V

Hi @ankitvats ,

you have many options:

a) simple create batch file and call the compiler and linker. Easy for simple projects.

b) use a make file and call it with make (or cmake, if you prefer), see for example https://mcuoneclipse.com/2017/07/22/tutorial-makefile-projects-with-eclipse/ or https://mcuoneclipse.com/2012/02/13/make-my-make-with-eclipse-and-mcu10/

c) call the IDE to build your project from the command line, see https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-li...

d) if using the MCUXpresso SDK, you can do it directly too, see https://mcuoneclipse.com/2019/04/14/tutorial-mcuxpresso-sdk-with-linux-part-1-installation-and-build...

I hope this helps,

Erich