Will KDS handle .s ARM assembly code?

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

Will KDS handle .s ARM assembly code?

跳至解决方案
1,190 次查看
nirvanauscn
Contributor III

KDS only handles .asm and .S as valid assembly code files, and the preference is locked and can't be modified or added

(Preference -> General -> Content Types -> Text -> Assembly Source File).

 

For the projects I'm working on, all assembly files are in .s postfix instead of .S, and KDS just simply ignore them.

Is there a way to add .s support?

 

Is this a feature or defect?

 

Only Linux is in real case-sensitive file system, both Windows and OS X (can be case sensitive, but the home drive normally isn't setup that way) are case aware, but not case sensitive.

 

Thanks

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

Hi,

I've found the following:

    Bug 105022 – [content type] file specs should be case-sensitive

    Bug 103530 – managed build: File with capital "S" extension not recognized as assembly

Adding a new File types for .s is not working due to the case sensitive problem.

Now the workaround is to add .s types in the project properties.

    Bug 278026 – Managed build doesn't work for *.s assembler files

Extract:

+++++++++++++++++++++++++++

In the meantime I found a workaround for the problem:

Project Properties -> C/C++ General -> File Types -> Use project settings -> New -> Pattern: *.s, Type: Assembly Source File -> OK

+++++++++++++++++++++++++++

I've checked it on my side and it's working.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
910 次查看
nirvanauscn
Contributor III

Thanks, adding .s to the project setting addressed the issue.

0 项奖励
回复
911 次查看
trytohelp
NXP Employee
NXP Employee

Hi,

I've found the following:

    Bug 105022 – [content type] file specs should be case-sensitive

    Bug 103530 – managed build: File with capital "S" extension not recognized as assembly

Adding a new File types for .s is not working due to the case sensitive problem.

Now the workaround is to add .s types in the project properties.

    Bug 278026 – Managed build doesn't work for *.s assembler files

Extract:

+++++++++++++++++++++++++++

In the meantime I found a workaround for the problem:

Project Properties -> C/C++ General -> File Types -> Use project settings -> New -> Pattern: *.s, Type: Assembly Source File -> OK

+++++++++++++++++++++++++++

I've checked it on my side and it's working.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复