HOWTO/ recommandations for command-line dev

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

HOWTO/ recommandations for command-line dev

904 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by olk on Sun Oct 28 14:44:06 MST 2012
Because CodeRed IDE does not support C++ I want to use the command line tools like vi, make ...
Do you know some HOWTOs describing the process of uploading the binary, debugging etc. for LPCXpresso boards?

olk
0 Kudos
Reply
3 Replies

895 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ArtjomGromak on Mon Oct 29 03:18:38 MST 2012

Quote: olk
That are good news!

Does a template for this make file exist (I assume that CodeRed IDE requires some special vars in the make file)?
Could you tell me where I can find such a blue print?

thx,
olk



[ATTACH]871[/ATTACH]
This is example C++-project (test of ADC). You can unzip and open in lpcxpresso (Import - Open existing project).
For compile I use Yagarto with Yagarto tools.
0 Kudos
Reply

895 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by olk on Sun Oct 28 23:13:35 MST 2012

Quote: ArtjomGromak

You can create C++ project with own makefile. And after open it in IDE (Import - General - C/C++ - Existing project as makefile project). For debugging you need select MCU type (Project properties).
As toolchain may be used CodeSoucgery, Yagarto and many other toolchains.



That are good news!

Does a template for this make file exist (I assume that CodeRed IDE requires some special vars in the make file)?
Could you tell me where I can find such a blue print?

thx,
olk
0 Kudos
Reply

895 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ArtjomGromak on Sun Oct 28 15:01:18 MST 2012

Quote: olk
Because CodeRed IDE does not support C++ I want to use the command line tools like vi, make ...
olk


"CodeRed IDE" it is LPCXpresso?
LPCXpresso support working with C++ project, but not support creation of C++ project via wizard.


Quote: olk

Do you know some HOWTOs describing the process of uploading the binary, debugging etc. for LPCXpresso boards?
olk


You can create C++ project with own makefile. And after open it in IDE (Import - General - C/C++ - Existing project as makefile project). For debugging you need select MCU type (Project properties).
As toolchain may be used CodeSoucgery, Yagarto and many other toolchains.
0 Kudos
Reply