MCU project wizards

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

MCU project wizards

384 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mfisher on Mon Jul 18 14:56:12 MST 2011
I'm just starting with LPCXpresso, and am trying to create a project from source code that I have that was developed for another processor.

The LPCXpresso training video, part 2, shows adding the user's own project by selecting MCU Project Wizards from the Projects and File Wizards tab in Quickstart Panel.  In the version that I have, 4.0.5, there is no such wizard.  Under Project and File wizards, I only see Create New C Source File and Create New C Header File.

So, how do I add my existing files to a project?  I already have the CMSIS files as instructed in the video.

Thanks,

Milt
0 Kudos
7 Replies

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mfisher on Tue Jul 19 07:37:21 MST 2011
That did it. :)

Thanks.
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Jul 19 00:09:35 MST 2011
To understand how printf is implemented and how to pull in the appropriate library variant, I suggest that you take a look at the FAQs on C library usage at:

http://support.code-red-tech.com/CodeRedWiki/CodeRedFAQ#CLibrary

The specific errors you are seeing are covered in the Undefined Reference FAQ at:[B]

[/B]http://support.code-red-tech.com/CodeRedWiki/UndefinedReference

Regards,
CodeRedSupport
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mfisher on Mon Jul 18 17:08:13 MST 2011

Quote: Zero
I just create a new LPCXpresso CMSIS project and then copy all needed files into src.

But you can also create a new folder and add new include path and new source location:

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




Ah, that's what I was missing, the new include and source paths.  I guess I assumed LPCXpresso would take care of that for me.
Thanks.
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jul 18 16:43:24 MST 2011
I just create a new LPCXpresso CMSIS project and then copy all needed files into src.

But you can also create a new folder and add new include path and new source location:

http://knowledgebase.nxp.com/showthread.php?t=2151
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mfisher on Mon Jul 18 16:33:44 MST 2011

Quote: Zero
Try it via menu:

File -> New-> Project -> LPCXpresso C Project

The easeast way to use own files is to copy them into src folder :)




But, if I don't just copy them, what's the correct way to get them into the source folder?

What is the correct sequence of steps, starting from a empty workspace, to get the CMSIS files and my files together into a compilable project?
One thing that I noticed, is that if a file is named <file>.C with a capital C extension, it won't be recogniced.
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Jul 18 15:20:25 MST 2011
Try
New project...
Under the first QuickStart section
0 Kudos

369 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jul 18 15:06:20 MST 2011
Try it via menu:

File -> New-> Project -> LPCXpresso C Project

The easeast way to use own files is to copy them into src folder :)
0 Kudos