We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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", ...
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
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.
Thanks everyone for your replies. I got the soultion .