Skip to main content
SidPrice
Associate III
October 30, 2023
Question

CubeMX file import disabled

  • October 30, 2023
  • 4 replies
  • 2115 views

I am trying to use one of the STM32G examples for a USB device. The example is for STM32G474-EVAL and I would like to try it on Nucleo-G431KB.

Following the instructions I found I have created a new CubeMX project, I did NOT make any changes to the configuration, other than selecting not to set all GPIO to inputs.

Next, I went to import the example file, however, the import menu item is greyed out.

I am using CubeMX 6.8.1

Sid

 

This topic has been closed for replies.

4 replies

Technical Moderator
October 30, 2023

Hello @SidPrice 

First let me thank you for posting!

The import item is available when you start your project from MCU not board.

Try to select an MCU so you can import your example.

Thank you.

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
SidPrice
SidPriceAuthor
Associate III
November 7, 2023

Hello and thank you for the reply. This doesn't help when the only examples are board-based.

Sid

Bob S
Super User
November 7, 2023

Can you start with selecting your MCU and import the board-based project.  Then edit the board-specific portions of the project that are different on your board?  I think that is what @Souhaib MAZHOUD was suggesting.

SidPrice
SidPriceAuthor
Associate III
November 7, 2023

Hello @Bob S , that is what I did. Select the new MCU and then use the import feature. Problem is that menu item (import) is disabled.

Sid

Associate II
December 20, 2023

Hello @SidPrice, did you solve this problem? I'm using CubeMX 6.10.0 and encountered the same issue.

Rene

SidPrice
SidPriceAuthor
Associate III
December 20, 2023

@Reneb Sorry I did not, I had to give up and went another direction on my project,

Sid