This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unrecognised option '--asm'

Hello all

I am using STM32f2 series of controller. I have wriiten a small apllication, WHich sets GPIO PIN .
When I try to build the code ,

I get the following error!!

tst.c:error:C3900U:Unrecognised option --'asm'
tst.c:error:C3900U:Unrecognised option --'ainterleave'

Could any one help to figure out what is it?

Thanks

Parents Reply Children
  • My guess is that you had modified your project file and accidentally said that your c file should be processed by the assembler instead of the c compiler.

    For every file in the project, there is an option that specifies File Type. There you can find "C Source file", "Assembly language file", ...