plz help me LPC1769 uart...

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

plz help me LPC1769 uart...

871 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fifa3968 on Fri Jul 19 04:22:10 MST 2013
Before writing... My English is not well... Because I'm not in the English-speaking world..

My problem is here..

#include "lpc17xx.h"
#include "type.h"   <--here...
#include "uart.h"

In this section, error is occured...
I think this header file is not exist.. but I added Drivers and CM3 in IEC60335_ClassB_CM3 folder...

I can't find this error...
plz help me..  :((
0 Kudos
Reply
3 Replies

860 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by giedrius on Tue Jul 23 22:58:48 MST 2013
Yes that would be a bit better. However this *should* change only the search order (".." - tells to search the current directory first, while <..> says to start looking from included paths), but effectively both ways should work.
0 Kudos
Reply

860 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Jul 23 16:29:08 MST 2013
Shouldn't "core" includes be in <>?

#include < type.h >


(Spaces added because it was treated as some kind of meta sequence and didn't print).

_____
Rob
0 Kudos
Reply

860 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by giedrius on Mon Jul 22 04:34:55 MST 2013
If it's the only file missing, you can add it manually (or you can try removing the include). However if after adding it manually you get another file missing, you should check your library paths.

/****************************************************************************
 *   $Id:: type.h 4309 2010-08-18 01:02:28Z usb00423                        $
 *   Project: NXP LPC11xx software example
 *
 *   Description:
 *     This file contains different type definition.
 *
 ****************************************************************************
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* products. This software is supplied "AS IS" without any warranties.
* NXP Semiconductors assumes no responsibility or liability for the
* use of the software, conveys no license or title under any patent,
* copyright, or mask work right to the product. NXP Semiconductors
* reserves the right to make changes in the software without
* notification. NXP Semiconductors also make no representation or
* warranty that such application will be suitable for the specified
* use without further testing or modification.

* Permission to use, copy, modify, and distribute this software and its 
* documentation is hereby granted, under NXP Semiconductors� 
* relevant copyright in the software, without fee, provided that it 
* is used in conjunction with NXP Semiconductors microcontrollers.  This 
* copyright, permission, and disclaimer notice must appear in all copies of 
* this code.

****************************************************************************/

#ifndef __TYPE_H__
#define __TYPE_H__

#ifndef NULL
#define NULL    ((void *)0)
#endif

#ifndef FALSE
#define FALSE   (0)
#endif

#ifndef TRUE
#define TRUE    (1)
#endif

#endif  /* __TYPE_H__ */
0 Kudos
Reply