LPC open example project cannot compile

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

LPC open example project cannot compile

653 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jonotree on Fri Oct 31 05:42:32 MST 2014
I am using keil uvision 5, and trying to use example projects from lpc open.

Without changing any settings however, if I just try to load for example the rtos blinky project found at

lpcopen_2_10_keil_iar_ea_devkit_1788\applications\lpc17xx_40xx\keil_uvision_projects\ea_devkit_1788

When I compile I get this message:

.\keil_output\iflash_ea_devkit_1788\freertos_blinky_iflash_ea_devkit_1788.axf: error: L6002U: Could not open file ..\..\..\..\..\..\software\lpc_core\lpc_board\boards_17xx\ea_devkit_1788\keil_output\board_ea_devkit_1788.lib: No such file or directory

For which I can find no reason, because having inspected the directory, the file is indeed there.

Any help much appreciated
Labels (1)
0 Kudos
3 Replies

471 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Aley on Wed Sep 16 01:17:16 MST 2015
1.Go to "C:\lpcopen_2_10_keil_iar_ea_devkit_1788\software\lpc_core\lpc_board\boards_17xx\ea_devkit_1788"
2.Open "lib_lpc_board_ea_devkit_1788.uvproj"
3.Build this project (now keil made board_ea_devkit_1788.lib")
0 Kudos

471 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MJohnson on Wed Nov 19 07:18:35 MST 2014
I have the same problem with the lpc4300 software.

..\..\..\..\..\..\software\lpc_core\lpc_board\boards_43xx\ngx_xplorer_4330\keil_output\core_m4\lib_lpc_board_ngx_xplorer_4330.lib

130 chars

when installed in the default root directory

E:\lpcopen_2_12_keil_iar_ngx_xplorer_4330

42 chars

giving a total of 172 chars (not counting the seperator and null that the windows api call will require for whatever reason).

The max file path on windows api calls is 160 characters.

Renaming the top level directory to

E:\lpcopen_2_12_kei

makes it work.

NXP should consider adopting the same directory structure for the Keil/IAR as they have for the lpcxpresso downloads to avoid this.
0 Kudos

471 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Oct 31 08:57:31 MST 2014
Hi Jonotree,
Looks like the problem is due to long path. Can you please place the lpcopen project directly in root location (i.e. c:\) and try again.

Example
c:\lpcopen_2_10_keil_iar_ea_devkit_1788\....
0 Kudos