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 654 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 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..

    jsulmJ 1 Reply Last reply
    0
    • S sathishgkg

      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..

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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