make: *** [src/cr_startup_lpc176x.o] Error 1

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

make: *** [src/cr_startup_lpc176x.o] Error 1

567 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sostomariano on Tue May 06 20:54:49 MST 2014
Hi, im getting this error when im compiling
make: *** [src/cr_startup_lpc176x.o] Error 1
and
../src/cr_startup_lpc176x.c fatal error: system_LPC17xx.h: no such file or directory

Im getting this two errors every time i compile any project, that means , no matter which project im working on , when i compile it i get those 2 errors.
Im using
CMSIS_CORE_LPC17xx , and for example i compile LPCX17x_cmsis2_systick project , and i get that error , i have LPC1769 stick.
0 Kudos
Reply
1 Reply

508 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed May 07 00:37:58 MST 2014
I imagine that you have the wrong CMSIS library in your workspace - ie a different one to that which your application project expects.

From  http://www.lpcware.com/content/faq/lpcxpresso/cmsis-support :
[list]
  [*] As of LPCXpresso 6, CMSIS 3.20 based CMSIS-CORE library projects are now provided and supported in the project wizards, although many supplied example projects still build against earlier versions of the CMSIS-CORE library projects.
[/list]

Note that you might want to look at using LPCOpen instead of the old CMSIS examples:

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

Regards,
LPCXpresso Support
0 Kudos
Reply