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
  • Maybe you could start by telling me why your small application playing with a GPIO pin involves assembler with your C file?

    Try to avoid assembler unless you really need it.
    Try to use assembler files if you need assembler.

Reply
  • Maybe you could start by telling me why your small application playing with a GPIO pin involves assembler with your C file?

    Try to avoid assembler unless you really need it.
    Try to use assembler files if you need assembler.

Children