Debug Directory not created for CPP

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

Debug Directory not created for CPP

162 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wvd_vegt on Thu Feb 03 04:34:32 MST 2011
Hi,

I'm trying to generate a cpp project with LPCXpresso for mBed but after the wizard completes it keeps complaining a file <project>Debug_mem.ld does not exist in the debug directory.

Looking at the hd the debug directory is created in the root of the c: drive under a directory with the same name as the project's directory in the workspace (which only contains .cproject and .project).

So any suggestions on how I can create a CPP project for mBed with LPCXpresso?
0 Kudos
1 Reply

155 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Feb 03 05:48:51 MST 2011
LPCXpresso IDE is a C development environment, not C++. For more information, see this thread from a couple of days ago...

http://knowledgebase.nxp.com/showthread.php?t=1517

With regards to creating mbed applications, you can build C applications using LPCXpresso IDE, then take the binaries created and run them on an mbed board in the same way that you could on any other LPC1768 board (such as our own RDB1768 or an LPCXpresso1768 / 1769 board). Note that this does not give you any debug capability though - you are limited to the mbed's USB drive to download your binary.

But if you are talking about building mbed applications using the mbed C++ class libraries, then we are currently unaware of anyone who has managed to do this yet using Red Suite (or with GCC in general). Happy to be proved wrong though!

Regards,
CodeRedSupport.
0 Kudos