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. STM32H750B-DK and FreeRTOS
Forum Updated to NodeBB v4.3 + New Features

STM32H750B-DK and FreeRTOS

Scheduled Pinned Locked Moved Unsolved Qt for MCUs
3 Posts 2 Posters 256 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.
  • K Offline
    K Offline
    ke-po
    wrote on 16 Feb 2025, 17:26 last edited by
    #1

    Hello,

    I have an STM32H750B-DK and want to implement FreeRTOS while also using Qt for MCUs.

    I have downloaded the required kits and can successfully deploy something on the board. However, I ran into issues when trying to integrate FreeRTOS.

    From the official Qt documentation and the provided kits, I noticed that the kit for my board is designed for bare metal. To work around this, I generated a project from CubeMX and attempted to integrate the generated code into my Qt project. Unfortunately, I encountered some issues and am unsure if this is the correct approach.

    One key challenge is that my application logic needs to be in C, while Qt for MCUs generates and expects C++ code.

    Could someone clarify the correct way to merge these two projects? Is this even possible? My goal is to use the CubeMX project for system tasks and FreeRTOS while leveraging Qt for MCUs for the GUI part.

    Any guidance would be greatly appreciated!

    J 1 Reply Last reply 17 Feb 2025, 06:46
    0
    • K ke-po
      16 Feb 2025, 17:26

      Hello,

      I have an STM32H750B-DK and want to implement FreeRTOS while also using Qt for MCUs.

      I have downloaded the required kits and can successfully deploy something on the board. However, I ran into issues when trying to integrate FreeRTOS.

      From the official Qt documentation and the provided kits, I noticed that the kit for my board is designed for bare metal. To work around this, I generated a project from CubeMX and attempted to integrate the generated code into my Qt project. Unfortunately, I encountered some issues and am unsure if this is the correct approach.

      One key challenge is that my application logic needs to be in C, while Qt for MCUs generates and expects C++ code.

      Could someone clarify the correct way to merge these two projects? Is this even possible? My goal is to use the CubeMX project for system tasks and FreeRTOS while leveraging Qt for MCUs for the GUI part.

      Any guidance would be greatly appreciated!

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 17 Feb 2025, 06:46 last edited by
      #2

      @ke-po said in STM32H750B-DK and FreeRTOS:

      One key challenge is that my application logic needs to be in C, while Qt for MCUs generates and expects C++ code.

      You can easilly call C code from C++. One way would be to build the generated C code as library and use this library in your Qt project.

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        ke-po
        wrote on 17 Feb 2025, 14:14 last edited by
        #3

        @jsulm Thank you for your response
        I thought of that but was not sure if it was the way to go , but since the Qt kit for the board is bare metal i dont see any other way

        1 Reply Last reply
        0

        2/3

        17 Feb 2025, 06:46

        • Login

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