LPCXpresso code build through Command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso code build through Command

Jump to solution
2,830 Views
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 Kudos
1 Solution
2,819 Views
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

View solution in original post

2 Replies
2,813 Views
ankitvats
Contributor I

Thanks for your support.

0 Kudos
2,820 Views
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