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
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.
I am not including any assembler files. But i could get it work after creating a new project
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", ...