STM32H750B-DK and FreeRTOS
-
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!
-
@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.