Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Creator 4.5.0/Qt 5.10.0 - Bare metal Plugin - unable to add "Custom Executable (on GDB server or hardware debugger)" Run Configuration

Qt Creator 4.5.0/Qt 5.10.0 - Bare metal Plugin - unable to add "Custom Executable (on GDB server or hardware debugger)" Run Configuration

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.6k 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.
  • G Offline
    G Offline
    Greg Lund
    wrote on last edited by
    #1

    When I select the Run Configuration option "Custom Executable (on GDB server or hardware debugger)", it appears to add it, however, the run Play buttons remain greyed out. Also, if I close the project and open it again, the run configuration changes back, to "Custom Executable", and the Executable field is removed.

    I have tried to remove my .creator.user file for the project and start again with no luck.
    I have tried to remove all of Qt Creator's preferences and add the kits back and it doesn't work.
    I have followed all the steps required;

    • Add the Bare Metal plugin
    • Add an Open OCD bare metal GDB server provider
    • Add a device with the Open OCD bare metal server provider
    • Add arm-eabi-none-gdb-py debugger
    • Add arm-eabi-none-gcc compiler
    • Add arm-eabi-none-g++ compiler
    • Add Kit with Bare metal device, debugger, compilers and no Qt

    I've tried on Mac High Sierra, and have also tried on Ubuntu 16.04 and Windows 10 versions of Qt Creator 4.5.0.
    I've had it working on a previous version of Qt Creator.

    Additional behavioural notes:

    • When trying to add a "Custom Executable (on GDB server or hardware debugger)" Run Configuration, the text boxes don't offer "Insert Variable", auto-complete or auto-naming of the Run Configuration.
    • The section added in the .creator.user file seems a little lighter than I recall, but I don't have any old ones to reference.
    • The section gets removed automatically if I close, open and close the project.
    1. Are there any known issues with the Bare Metal plugin and Qt Creator 4.5.0?
    2. Is there an updated documentation section describing this with updated screenshots?
    1 Reply Last reply
    1
    • D Offline
      D Offline
      Dean_me
      wrote on last edited by
      #2

      I was also having issues creating run configurations with Qt Creator 4.5 for Bare Metal devices. I found that a bug report had been submitted for the issue:
      https://bugreports.qt.io/browse/QTCREATORBUG-19731

      As a temporary workaround, I am creating run configurations in Qt Creator 4.4, then using them in 4.5.

      G 1 Reply Last reply
      3
      • D Dean_me

        I was also having issues creating run configurations with Qt Creator 4.5 for Bare Metal devices. I found that a bug report had been submitted for the issue:
        https://bugreports.qt.io/browse/QTCREATORBUG-19731

        As a temporary workaround, I am creating run configurations in Qt Creator 4.4, then using them in 4.5.

        G Offline
        G Offline
        Greg Lund
        wrote on last edited by
        #3

        @Dean_me Thanks for the heads up, and the workaround!

        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