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
Thanks everyone for your replies. I got the soultion .
If you are using evaluation version then -S, --asm, and --interleave compiler command-line options are disabled. Refer this link http://www.keil.com/demo/limits.asp.
That happens when you use an evaluation version of keil, and in the tab: "Option for target <current target> -> Listing" you checked the "C compiler Listing" and the "C preprocesor Listing" options Try to uncheck it. Why this happens in the Eval Version? .... I don't know.
Regards
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", ...
I am not including any assembler files. But i could get it work after creating a new project
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.
View all questions in Keil forum