Generating intermediate assembly files for Arduino target

Sysprogs forums Forums VisualGDB Generating intermediate assembly files for Arduino target

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25537
    regus_pregus
    Participant

    Is there a way to generate and view intermediate assembly files when compiling .ino source for Arduino target in VisualGDB? Listing files containing generated assembly instructions would be OK too.

    • This topic was modified 4 years, 8 months ago by regus_pregus.
    #25546
    support
    Keymaster

    Sorry, unfortunately there is no easy way to do this, as the Arduino build logic is handled by the Arduino builder and not directly by VisualGDB.

    You should be able to extract the gcc command lines by parsing the VisualGDBCache\<Target>\CodeModel.json file, extracting the gcc arguments from there and running it manually with the -S option instead of -c, although that would require some scripting on your side.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.