Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. building for ESP32
Forum Updated to NodeBB v4.3 + New Features

building for ESP32

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 4 Posters 10.6k Views 2 Watching
  • 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    My latest task is to write an app for the Espressif ESP32. Naturally, I'd like to use Creator as my IDE, even though I won't be using any Qt code on the target. The toolchain is provided by Espessif, and seems to be a GNU derivative (can be found here). The target will be running FreeRTOS.

    • Has anyone attempted this yet?
    • is there any chance I'll be able to use the Creator front end to the debugger?
    • the existing make handles the flashing of the target. Can anyone foresee a reason that I can't continue to do this?

    Thanks...

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #2

      OK, let's start small with this: I've added the toolchain supplied by espressif to the list of compilers known to Qt Creator. At the bottom of the window, there's a section titled "ABI:" and I have no idea what to do with these fields.

      I've looked for an explanation of them, but can't find one. Can someone tell me what these fields are? I figure the first one is architecture, none of which match the Xtensa. The second one seems to be a list of OSs, none of which match mine (FreeRTOS). Third one, the only choice is "unknown." Fourth, I really don't know...seems to be related to the built package (guessing). Fifth I'm assuming is for the target, which in my case is 32 bits.

      Anyway, if someone could provide some information on these fields, I'd appreciate it.

      Pablo J. RoginaP 1 Reply Last reply
      0
      • Thomas CoinT Offline
        Thomas CoinT Offline
        Thomas Coin
        wrote on last edited by Thomas Coin
        #3

        Hi,

        I am currently working on a plugin for Qt Creator to support Espressif SDK (ESP8266 first)
        My first try was to add a new GCC compiler for ESP8266 (xtensa-lx106-gcc), without success with latest QtCreator versions. So I have reported an issue related to the espressif toolchain in QtCreator bug repport platorm

        ABI is for Application Binary Interface ([Wikipedia] An ABI defines how data structures or computational routines are accessed in machine code, which is a low-level, hardware-dependent format; in contrast, an API defines this access in source code, which is a relatively high-level, relatively hardware-independent, often human-readable format)

        In my understanding, the ABI shown in QtCreator can be resumed in ARCH-OS-OSFLAVOR-BINARYFORMAT-WORDSIZE (x86-linux-generic-64bit for example)

        I hope it will help :)

        1 Reply Last reply
        2
        • mzimmersM mzimmers

          OK, let's start small with this: I've added the toolchain supplied by espressif to the list of compilers known to Qt Creator. At the bottom of the window, there's a section titled "ABI:" and I have no idea what to do with these fields.

          I've looked for an explanation of them, but can't find one. Can someone tell me what these fields are? I figure the first one is architecture, none of which match the Xtensa. The second one seems to be a list of OSs, none of which match mine (FreeRTOS). Third one, the only choice is "unknown." Fourth, I really don't know...seems to be related to the built package (guessing). Fifth I'm assuming is for the target, which in my case is 32 bits.

          Anyway, if someone could provide some information on these fields, I'd appreciate it.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @mzimmers said in building for ESP32:

          there's a section titled "ABI:" and I have no idea what to do with these fields.

          Not that I have used it myself as you're doing, but from documentation

          You can also create a custom ABI definition

          I guess is some value you can create on your own, following for instance the pattern mentioned in previous thread, but that Qt Creator will use to:

          warn about ABI mismatches within the kits

          so if you check different built-in kits you may end up with the correct pattern/value for your board.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #5

            Thanks for the information, guys. I'm still wrestling with this effort. Currently, I'm wondering how to go about creating a "fake" Qt installation per creator-developing-baremetal. I tried creating a do-nothing program named Qmake.exe, but Creator wouldn't allow me to use it (didn't show up in the selection window).

            This is potentially a big use for Creator; I hope the developers improve upon it (at least the documentation).

            jsulmJ 1 Reply Last reply
            0
            • mzimmersM mzimmers

              Thanks for the information, guys. I'm still wrestling with this effort. Currently, I'm wondering how to go about creating a "fake" Qt installation per creator-developing-baremetal. I tried creating a do-nothing program named Qmake.exe, but Creator wouldn't allow me to use it (didn't show up in the selection window).

              This is potentially a big use for Creator; I hope the developers improve upon it (at least the documentation).

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @mzimmers You don't need qmake.exe to use QtCreator. A Kit in QtCreator can be used without Qt version. But without qmake.exe you will not be able to use QMake build system. You still can use CMake in QtCreator.

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

              1 Reply Last reply
              0

              • Login

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