Option __FILE__ for compiler HC12

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

Option __FILE__ for compiler HC12

跳至解决方案
1,576 次查看
DavidSouche
Contributor I

Hi,

 

I'm a french software designer. I work in embedded system for lift.

 

I develop on a Freescale MC9S.

In my soft, I use option __FILE__ of compiler HC12. This option give me the complete path of my file, but I just want the name of my file and not the path. 

Is there another compiler option to get the short name of a file?

 

Thank you.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
946 次查看
CompilerGuru
NXP Employee
NXP Employee

I'm not aware of an option for this purpose.

I have to admit that I did look for the same topic in another compiler once too :smileysad:.

(I did not find it there either).

 

Daniel

在原帖中查看解决方案

0 项奖励
回复
1 回复
947 次查看
CompilerGuru
NXP Employee
NXP Employee

I'm not aware of an option for this purpose.

I have to admit that I did look for the same topic in another compiler once too :smileysad:.

(I did not find it there either).

 

Daniel

0 项奖励
回复