Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for MCUs
  4. Assembly file generation
Forum Updated to NodeBB v4.3 + New Features

Assembly file generation

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
2 Posts 2 Posters 597 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sathishgkg
    wrote on 5 Sept 2022, 10:39 last edited by
    #1

    how do we generate a assembly file in qt while building,'
    Usually in STMCUBE IDE it will generate the asm file, which will have the memory address of the specifiction instruciton line
    61d09e63-adc4-4d19-a821-707bb18c25fc-image.png

    This file will be help ful if any hardfault is occured, using the PC , PSR register we will be able to fine out the which program line is generated the hardfault.

    in STMCUBE IDE, IAR, Keil will generate this asm file.
    In QT how do we generate the complete asm for the source code..

    J 1 Reply Last reply 5 Sept 2022, 10:41
    0
    • S sathishgkg
      5 Sept 2022, 10:39

      how do we generate a assembly file in qt while building,'
      Usually in STMCUBE IDE it will generate the asm file, which will have the memory address of the specifiction instruciton line
      61d09e63-adc4-4d19-a821-707bb18c25fc-image.png

      This file will be help ful if any hardfault is occured, using the PC , PSR register we will be able to fine out the which program line is generated the hardfault.

      in STMCUBE IDE, IAR, Keil will generate this asm file.
      In QT how do we generate the complete asm for the source code..

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Sept 2022, 10:41 last edited by
      #2

      @sathishgkg This has nothing to do with Qt. With GCC you pass -S parameter to the compiler, so it stops after generating Assembler files.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      5 Sept 2022, 10:39

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved