Compilation Error: dali master lpc13xx

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

Compilation Error: dali master lpc13xx

785 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ajay.moxie on Sun Nov 10 03:18:08 MST 2013
Hi All,
I was trying to compile NXP dali master project from NXP on LPCXpress, but its failing with following error

C:\nxp\DALI_Master\dali_master_lpc13xx\inc/bsp.h:47:21: fatal error: lpc13xx.h: No such file or directory

where to find these files, I don't see them in the source code provided by NXP.

Any help appreciated.

Thanks and Regards,
Ajay
Labels (1)
0 Kudos
5 Replies

662 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by geokonst on Mon Sep 22 05:00:23 MST 2014
For anyone running into the same issues:
The CMSISv1p30 wasn't compiling and therefore giving the error I was getting.

You can solve this by updating the project to a later CMSIS or make the changes suggested (by NXP if you search for the error) to the libraries (adding a couple of "&")

It now compiles fine
0 Kudos

662 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Sun Sep 21 09:58:21 MST 2014
See:

http://www.lpcware.com/content/faq/lpcxpresso/linker-cannot-find-library
0 Kudos

662 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by geokonst on Sun Sep 21 09:29:25 MST 2014
Hello,
I was having the same issue, so thanks MC for reminding me to import both projects.

I am, however, now getting this error:

Quote:
s:/lpcxpresso_7.3.0_186/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC13xx
collect2.exe: error: ld returned 1 exit status
make: *** [dali_master_lpc13xx.axf] Error 1



Any ideas what might be wrong?

Thank you!
0 Kudos

662 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Sun Nov 10 23:02:00 MST 2013
Hi ajay,
You will have to import from following C:\nxp\lighting\DALI_SDK_v2.0\LPC134xMaster folder.
You will see following two projects in your workspace.

CMSISv1p30_LPC13xx
dali_master_lpc13xx

I have tested and it works for me. I am using LPCXpresso v6.1.0

Thanks,
MC
0 Kudos

662 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Sun Nov 10 03:27:21 MST 2013

Quote: ajay.moxie
.. I don't see them in the source code provided by NXP.



Did you import and build the correct CMSIS?
0 Kudos