Have IDE question

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

Have IDE question

1,257 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rfsweitzer on Mon Jul 02 15:39:38 MST 2012
I'm new to the Code Red IDE.  I downloaded the example project called Blinky.  I exoected to just build and get no errors.  It says it can't open the file LPC13xx.h.  I have that header file but don't know how to set the include access path.

Can anyone help and point me in the right direction?

Thanks
in advance.
0 Kudos
Reply
3 Replies

1,249 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jul 02 17:01:26 MST 2012

Quote:
What is CMSIS?

See: http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.p...


Quote:
CMSIS - Cortex Microcontroller Software Interface Standard
The ARM® Cortex™ Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series. The CMSIS enables consistent and simple software interfaces to the processor and the peripherals, simplifying software re-use, reducing the learning curve for new microcontroller developers and reducing the time to market for new devices.

See also http://support.code-red-tech.com/CodeRedWiki/CMSISprojects

The usual way to add or change CMSIS is:

#1 Import CMSIS in your workspace

#2 Build CMSIS in Debug and Release Configuration

#3 Check CMSIS Include path in your project

    Properties -> C/C++ Build -> Settings -> Tool Settings -> MCU C Compiler -> Includes

#4 Check CMSIS Library and Library path in your project:

    Properties -> C/C++ Build -> Settings -> Tool Settings -> MCU Linker -> Libraries

A good point to start is this [COLOR=Red]Introduction Video[/COLOR]: http://youtu.be/E6vSPloei-0
0 Kudos
Reply

1,249 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rfsweitzer on Mon Jul 02 16:36:00 MST 2012
I imported the example project.  What is CMSIS?  Is that a step I need to do?  When I right click on the project a pull-down comes up with lots of options such as 'clean project', 'build project', etc.  The file main.c includes LPC13xx.h.  It can't find the file.  Most IDEs will have an acess path control so you can point to where the .h file is.  I can't tell how to do that with the Eclipes interface.
0 Kudos
Reply

1,249 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jul 02 15:54:12 MST 2012
Did you import CMSIS already?
0 Kudos
Reply