cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx V6.6.1 - Windows 11: Issues with toolchain location folder and Makefile toolchain

paulojfonseca
Associate II

Hi,

In CubeMx V6.6.1 - Windows 11 i am having the 2 following issues.

  1. In Project Management if i select Makefile as the Toolchain / IDE then i cannot access the toolchain location folder to make it a new location, the input box is not enabled.
  2. To work around the point above i do the following steps:
  • choose first EWARM as Toolchain / IDE
  • update the Toolchain location folder
  • choose Makefile as Toolchain / IDE
  • Generate the code

Until this point all goes ok and the toolchain files are correctly generated in the toolchain folder.

But if i close CubeMx project and reopen it again the toolchain location is lost.

I looked inside the project.ioc file and it is correctly stored there.

It seems like this might be a bug.

Thanks

Paulo

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hi @paulojfonseca​ 

Thank you for your contributions and for your detailed explanations,

I confirm the issue on my side, it has been reported to STM32CubeMX development team .

Internal ticket number:138331 (This is an internal tracking number and is not accessible or usable by customers).

I will keep you posted with updates.

Regards,

Ghofrane

View solution in original post

7 REPLIES 7
Ghofrane GSOURI
ST Employee

Hello @paulojfonseca​ 

First let me thank you for posting.

I tried to reproduce the same behavior you encountered but it works fine from my side.

Please take a look

I choose the Makefile as a Toolchain /IDE

0693W00000WHRyjQAH.pngThen i changed the Project Location

0693W00000WHS1JQAX.pngFinally, i generated the code

0693W00000WHS5fQAH.pngThx

Ghofrane

paulojfonseca
Associate II

Hi Ghofrane,

Thanks for the quick reply.

Can you now close CubeMx and reopen the project again?

This way you will reproduce the issues i mentioned.

Thanks

Paulo

Ghofrane GSOURI
ST Employee

Hi @paulojfonseca​ 

I closed CubeMx and i reopened it , it works just fine

Please have a look

0693W00000WHSLYQA5.png0693W00000WHSLdQAP.pngI regenerated the code again

0693W00000WHSMHQA5.pngThx

Ghofrane

paulojfonseca
Associate II

Hi Ghofrane,

Looks like was not clear in the steps for reproduction.

Let me try and do it again with images:

1 Open CubeMx and create a new project (used Nucleo Board, but also experienced the same with MCU selection)

0693W00000WHSgMQAX.png2 Go to project management and choose: Project Name, Project Folder, Toolchain Folder and Makefile Toolchain IDE

0693W00000WHSggQAH.png3 Generate Code (until here all goes ok according the instructions)

0693W00000WHSgvQAH.png4 Close CubeMx

5 Reopen CubeMx with the previously created project.

6 Go to Project Management. Now you can experience the problems i am facing.

Bug 1 - The previously Toolchain folder is gone.

Bug 2 - I cannot re-type it again because the text box is not enabled.

0693W00000WHSheQAH.pngBug 1 i cannot overcome.

Bug 2 i can if i select Toolchain EWARM, change the toolchain folder, select Makefile again

Hope that you can now reproduce it.

Thanks

Paulo

Ghofrane GSOURI
ST Employee

Hi @paulojfonseca​ 

Thank you for your contributions and for your detailed explanations,

I confirm the issue on my side, it has been reported to STM32CubeMX development team .

Internal ticket number:138331 (This is an internal tracking number and is not accessible or usable by customers).

I will keep you posted with updates.

Regards,

Ghofrane

paulojfonseca
Associate II

Hi @Ghofrane GSOURI​ ,

I just shortly tested the new CubeMx V6.7.0 release, looks like the bug is fixed.

Can you confirm on your side if indeed Internal ticket number:138331 is solved?

Thanks

Paulo

Ghofrane GSOURI
ST Employee

Hello @paulojfonseca​ 

First let me thank you again for your great contribution and help in order to fix this bug

Yes i confirm that the internal ticket number:138331 is solved and integrated in the last version CubeMx V6.7.0

Thx a lot Paulo

Ghofrane