Assignment of Multiple Macros

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Assignment of Multiple Macros

1,694 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeffdeming on Wed Oct 14 10:59:24 MST 2015
I'm currently in the process of porting my C project from Eclipse-Kepler to LPCXpresso.  I'm getting a "syntax error" when assigning multiple macros as shown in the image provided.  Eclipse-Kepler did not have this issue.

Attached are the Macro definitions in separate .h files and assignment of macros in .c file.

Please advise.

Original Attachment has been moved to: entriesandreplies_0.h.zip

Original Attachment has been moved to: pimg_0.h.zip

Original Attachment has been moved to: user_od.c.zip

0 项奖励
回复
3 回复数

1,627 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Oct 19 07:55:33 MST 2015

Quote: jeffdeming
I've rebuilt the index but still have the "syntax errors".  Is there an issue with code size?  This code is over 256k.


No - that is a debug limit, not a build limit.

Another thing to check here would be that you didn't set up any paths up manually in your old Kepler world that you have not translated into your LPCXpresso workspace.

Other than that - have you got an example LPCXpresso project that you can supply?
[list]
  [*]https://www.lpcware.com/content/faq/lpcxpresso/how-importexport-projects
[/list]

Regards,
LPCXpresso Support

0 项奖励
回复

1,627 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jeffdeming on Fri Oct 16 08:31:31 MST 2015
I've rebuilt the index but still have the "syntax errors".  Is there an issue with code size?  This code is over 256k.

I have the latest LPCXpresso
LPCXpresso v7.9.2 [Build 493] [2015-09-14]
License type: FULL
Debug limit: 256k

A FULL copy of LPCXpresso (Free Edition) may be used for production.
0 项奖励
回复

1,628 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Oct 16 05:56:10 MST 2015
Those appear to be the indexer being out of date, rather than build errors.

Have you actually built your project and if necessary manually rebuilt the index (right click on the project in the Project Explorer view and select Index -> Rebuild).

Regards,
LPCXpresso Support
0 项奖励
回复