2021-04-22 02:38 AM
was specifically interested in the following.
C:\Users\user\STM32Cube\Example\QSPI_perfs
C:\Users\user\STM32Cube\Example\STemWin
C:\Users\user\STM32Cube\Example\TouchGFX
Can get TouchGXX to create and run its own GUI projects. its the stand alone ones that are a problm
2021-04-28 04:22 AM
Hello @Mduff.1 ,
First let me welcome you to the STM32 Community :smiling_face_with_smiling_eyes:
The issue doesn't seem very clear to me, hence I'll share with you my comprehension to avoid any misunderstanding. So, you're trying to start your project from a selected example using the Example selector feature through STM32CubeMX tool. Please correct me if I misunderstood.
Some of the examples are not STM32CubeMX compatible (which is the case of QSPI_perfs, STemWin and TouchGFX examples). When selecting one those examples, you can only start your project in an external IDE:
Clicking the Start project in External IDE button, STM32CubeMX allows you to open the newly created project either with:
For more details about the STM32CubeMX features, you can refer to its User Manual.
I hope this answers your question. If it is the case, please click on the Select as Best button on my reply . This will help other members of the community find this solution more quickly.
Otherwise feel free to raise any feedback.
Khouloud.
2021-04-28 07:24 AM
2021-04-28 07:29 AM
2021-04-29 04:42 AM
Hi @Mduff.1 ,
Thanks for the additional inputs.
>When CubeMX asks the IDE to export to CubeIDE is not listed. I installed CubeIDE 1.6.0 after CubeMX.
The options for Export Project or Start Project in External IDE.
EWARM
MDK-ARM
SW4STM32
Explorer
That's true CubeIDE is not listed within the available IDE list but if you select SW4STM32, STM32CubeIDE workspace will be launched automatically and a dialog box asking to confirm the migration of the project from System Workbench to STM32CubeIDE will be displayed:
Further on, another dialog box informs that the import was successful and that some manual configuration may be required:
Trying with the STemWin example, everything works right and the build finished without problems.
> I have worked out there is an issue with my PCB software and CubeIDE as they both use .project file extension.
So CubeMX would try and open my PCB software with its .project file. (This is new as previously did nothing before i recently updated my PCB Software version)
It is a bit ambiguous for me, I can't get the problem and the relation between the PCB software and CubeMX. Please try to restart from the scratch using a different project location.
> I also note there is no IOC file created by CubeMX within the project. Not sure it this is significant.
In the case of QSPI_perfs, STemWin and TouchGFX examples, no .ioc file will be generated because none of these examples is STM32CubeMX compatible as I have mentioned in my previous reply.
I hope that this clarifies a bit the process.
Khouloud.
2021-04-29 04:47 AM
Did you sent your project through email ? I actually didn't receive any notification.
Could you please re-check.
2021-04-29 04:22 PM
Yes i sent it. Almost immediately after the correspondence. Will resend in 1 hr.
Thanks for following up
Regards
mike
2021-04-29 04:38 PM
The .project extension is registered with windows. Clicking on a .project file opens the application associated with .project.
Previous my DexPcb software was associated with .project.
I have reallocated .project to CubeIDE and the Open project sequence now works and the project opens in CubeIDE.
(Previously it did nothing apart from create the folder in the workspace but not create the .project or .cproject files.
So when i opened CubeIDE it didn't have the info it needed.)
It was never about the project location.
Regards
mike
---
It is a bit ambiguous for me, I can't get the problem and the relation between the PCB software and CubeMX. Please try to restart from the scratch using a different project location.
2021-04-29 04:57 PM
2021-05-04 02:53 PM
Hi @Mduff.1 ,
Please excuse the somewhat late reply.
From my side, the .project extension is associated by default with CubeIDE. Hence everything works as expected.
> I have reallocated .project to CubeIDE and the Open project sequence now works and the project opens in CubeIDE.
So you have successfully opened examples using CubeIDE ?
Khouloud.