How to use armclang.exe instead of armasm.exe

Sysprogs forums Forums VisualGDB How to use armclang.exe instead of armasm.exe

This topic contains 3 replies, has 2 voices, and was last updated by  support 1 month, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29803

    DanielFuchs
    Participant

    Hi,

    we are using KEIL MDK 5.33 PRO, VisualGDB 5.5R4 (build 3920) and Visual Studio 2019 Pro at the moment.

    For testing i’ve build an project via the “Embedded Project Wizard” for a STM32H743XIH6 and copied our existing files. Our startup-code is in a assembler file with gnu syntax and so i would like to use armclang.exe for it.

    Our toolchain is “Keil ARMClang (Stand-alone) Version 6.15”.

    How can i tell VisualGDB to use armclang.exe instead of the legacy armasm.exe?

    Kind regards

    Daniel

    • This topic was modified 1 month, 1 week ago by  DanielFuchs.
    Attachments:
    You must be logged in to view attached files.
    #29814

    support
    Keymaster

    Hi,

    No problem, please try this build: VisualGDB-5.5.104.3944.msi

    You can now configure VisualGDB to treat assembly files as C files (i.e. pass them to armclang.exe and not remove C/C++-specific flags) by adding the following element inside a relevant PropertyGroup in your .vcxproj file:

    #29815

    DanielFuchs
    Participant

    Hi,

    that’s a nice solution. The complete code compiles đŸ™‚
    Now i have to test the different debug probes we have.

    Thank you for your quick help!

    Kind regards
    Daniel

    #29817

    support
    Keymaster

    Hi,

    Good to know it works. If you encounter any other issues, feel free to start another thread.

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

You must be logged in to reply to this topic.