sasha

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: ASM file in VisualGDB project #6237
    sasha
    Participant

    Thank you very much, it seems working.

    in reply to: ASM file in VisualGDB project #6217
    sasha
    Participant

    A lot of thanks, including .cpu cortex-m3 actually solved the problem. Likely, M3 and M4 are not that different.

    However, I have further request: how to supply custom .lds file to the linker? Simply including .lds file to the project does not work; the file seems to be ignored.

    in reply to: ASM file in VisualGDB project #6214
    sasha
    Participant

    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?  

    in reply to: ASM file in VisualGDB project #6196
    sasha
    Participant

    Thank you for quick answer.

    I will try your directions.

Viewing 4 posts - 1 through 4 (of 4 total)