Creating new project in keil for LPCOpen from scratch

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Creating new project in keil for LPCOpen from scratch

2,386件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mohammadyou on Sat Jul 18 01:44:44 MST 2015
I'm considering to start and use LPCOpen in my project(LPC1768). I don't have any boards so I want to create a project by myself.
Based on this link I configured my keil options (v 4.74) but when I want build the project I face this errors
1- error:  #35: #error directive: CORE_M3 is not defined for the LPC175x/6x architecture  (What is CORE_M3 ? it was suppose to be CORE_[u][color=#f00]C[/color][/u]M3)
2- error: A1163E: Unknown opcode MODULE , expecting opcode or Macro (this Error refer to this like: MODULE  ?cstartup !! )
3- error: A1163E: Unknown opcode SECTION , expecting opcode or Macro
4- error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
I have checked with LPCOpen v2 and v1.03 but no chance
I would appreciate if you help me to find a solution or upload a simple preconfigured project to find my problem
and Should I call the chip_lpc175x_6x.h header file in my project?
Thanks
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

2,073件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mohammadyou on Tue Jul 21 01:36:32 MST 2015
Hi mc
Thanks for your help. it does work  :bigsmile:
0 件の賞賛
返信

2,073件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Jul 20 07:31:44 MST 2015
Hi,
On Windows machine place project directly in the drive(i.e. c:\). Build board lib and chip lib or choose build all option. It should solve issue you are experiencing.
0 件の賞賛
返信

2,073件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mohammadyou on Sat Jul 18 03:51:25 MST 2015

Quote: TheFallGuy
Why not start with a workin example, understand it, and then try creating it from scratch? There are lots of workin examples for Keil in the zip file for your target.


Thanks TheFallGuy
I did it before I had chosen   .\applications\lpc17xx_40xx\keil_uvision_projects\nxp_lpcxpresso_1769\nxp_lpcxpresso_1769_periph_examples.uvmpw (LPCOpen v2) and set periph_blinky project as an active but Still
having problem after build the project  (error: L6002U)
because of that I decided to make it by myself
0 件の賞賛
返信

2,073件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sat Jul 18 02:23:56 MST 2015
Why not start with a workin example, understand it, and then try creating it from scratch? There are lots of workin examples for Keil in the zip file for your target.
0 件の賞賛
返信