Strange issue while creating a new header file

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

Strange issue while creating a new header file

跳至解决方案
1,776 次查看
pascalschröer
Contributor V

Hi at all,

 

Does anyone know, why there is a problem to creat a DAC.h Header file?

 

Any other names of header files are possible to creat, but when I try to write DAC.h

the CW 10.6 shows the following error picture to me... but it works without any problems...

16702_16702.JPGheader.JPG

 

When I change the name to DAC1.h or something else the error picture disappears...

 

Thanks

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,703 次查看
BlackNight
NXP Employee
NXP Employee

That means you have still custom options/settings for that file.

You need to reset the resource configuration to the default.

See

http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/

(image: http://mcuoneclipse.files.wordpress.com/2013/06/reset-to-default-on-sources-folder.png?w=584&h=213)

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,703 次查看
BlackNight
NXP Employee
NXP Employee

See http://mcuoneclipse.com/2012/07/30/icon-and-label-decorators-in-eclipse/

That icon decorator means that you have excluded that file from build. Nothing bad happens as this is a header file.

See Exclude Source Files from Build in Eclipse | MCU on Eclipse how to exclude (or in your case) to include that file again.

I hope this helps,

Erich

1,703 次查看
pascalschröer
Contributor V

Hi,

okay thats works! But now, there is a little key in the picture... Do you knwo how to fix that?

Unbenannt.JPG

Thanks :smileywink:

0 项奖励
回复
1,704 次查看
BlackNight
NXP Employee
NXP Employee

That means you have still custom options/settings for that file.

You need to reset the resource configuration to the default.

See

http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/

(image: http://mcuoneclipse.files.wordpress.com/2013/06/reset-to-default-on-sources-folder.png?w=584&h=213)

I hope this helps,

Erich

0 项奖励
回复
1,703 次查看
pascalschröer
Contributor V

Thanks!

0 项奖励
回复