Hi,
Finally, I was able to try the suggestion. First of all, changing file extension to .s works, the compilers recognizes it and tries to compile.
However, I run into further problem. After I corrected assembler syntax to what required in GCC, the compiler still reports errors on lines like ldr sp,[r0] or push {r4-r11,lr}. The commands are legal in STM32F407 that I use; however, the compiler obviously applies restrictions of the initial THUMB. In the GDB properties I selected correct target processor. So, my question is: is it a way to instruct the compiler about correct instruction set?
Additional question: I cannot find where to specify recommended -S option. Will you provide more directions?