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. Qt and STM32CubeIde code Integration
QtWS25 Last Chance

Qt and STM32CubeIde code Integration

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
3 Posts 3 Posters 1.4k 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
    Sachin_Og
    wrote on last edited by
    #1

    I have a STM32F769 board and Qt for MCU installed.
    There are some examples for accessing stm32 peripherals(GPIOs etc) present as STM32CubeIde project.
    So I want to integrate that project into my QtCreator with Qt for MCU kit and run on board.

    1. My question is can this be done? If so how to integrate?
      Is there an easy way to port those examples in Qt and run on board?

    2. Can this be done other way like instead of generating a .hex Qt for MCU will provide some library to be integrated with STMCube project?

    -Thanks

    M 1 Reply Last reply
    0
    • S Sachin_Og

      I have a STM32F769 board and Qt for MCU installed.
      There are some examples for accessing stm32 peripherals(GPIOs etc) present as STM32CubeIde project.
      So I want to integrate that project into my QtCreator with Qt for MCU kit and run on board.

      1. My question is can this be done? If so how to integrate?
        Is there an easy way to port those examples in Qt and run on board?

      2. Can this be done other way like instead of generating a .hex Qt for MCU will provide some library to be integrated with STMCube project?

      -Thanks

      M Offline
      M Offline
      MEMekaniske
      wrote on last edited by
      #2

      @Sachin_Og said in Qt and STM32CubeIde code Integration:

      Hey, you should be able to follow this,
      https://doc.qt.io/QtForMCUs/qtul-getting-started-on-stm.html

      Then following the board specific instructions to set up environment etc, you should be able to compile headers/classes from the STM project into your Qt project.

      1 Reply Last reply
      0
      • ylopesY Offline
        ylopesY Offline
        ylopes
        wrote on last edited by ylopes
        #3
        1. There is an example in the Qt for MCUs SDK named "interrupt_handler". This should help you see how you can include sources from a STM32CubeIDE project.

        2. Integrating Qt for MCUs in a STMCube project might be possible today but I don't think it's straightforward and we don't have documentation for it. This is something we will be looking into in the near future, to support this kind of use case "out-of-the-box".

        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