cancel
Showing results for 
Search instead for 
Did you mean: 

Can't import STM32F3DISCOVERY project cloned from GitHub - missing files

Adriano Melis
Associate III

Hello,

I cloned the repository https://github.com/STMicroelectronics/STM32CubeF3.git
but importing the project ...\STM32F3-Discovery\Examples\BSP
some code is missing in particular the code to manage the BSP device on the STM32F3DISCOVERY BOARD.
What I am missing?

Thanks in advance

Adriano

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Super User

Welcome to the forum

Please see How to write your question to maximize your chances to find a solution for best results.

 

What version of CubeIDE are you using?

 

As @Saket_Om said, did you follow the download instructions:

AndrewNeil_0-1780928370816.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

9 REPLIES 9
Saket_Om
ST Employee

Hello @Adriano Melis 

Please refer to the article below to learn how to download STM32Cube package from github.

Downloading STM32Cube packages from GitHub correct... - STMicroelectronics Community

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.
Saket_Om
mƎALLEm
ST Employee

Hello,

I suppose you cloned the github link without the recursive option.

Please refer to this article: Downloading STM32Cube packages from GitHub correctly

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.
Andrew Neil
Super User

Welcome to the forum

Please see How to write your question to maximize your chances to find a solution for best results.

 

What version of CubeIDE are you using?

 

As @Saket_Om said, did you follow the download instructions:

AndrewNeil_0-1780928370816.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Dor_RH
ST Employee

Hello @Adriano Melis ,

You can also download the ZIP package directly from the STM32CubeF3 package on st.com.

I hope my answer has helped you. When your question is answered, please select this topic as the solution that answered you, as it will help others find that answer faster.

Thanks for your contribution.

Dor_RH

Adriano Melis
Associate III

I have downloaded the .zip packages
stm32cubef3.zip
stm32cubef3-v1-11-6.zip
and unpacked them (the second over the first)

Please suggest the steps needed to import the example ...\STM32Cube_FW_F3_V1.11.0\Projects\STM32F3-Discovery\Examples\BSP
in STM32CUbeIDE,
I would like to build and run it (I have the STM32F3DISCOvery board)
to understand how to use from another MCU the sensors onboard.

UM2579 "Migration guide from System Workbench to STM32CubeIDE"

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.

Done, thanks.
Maybe the role of the checkboxes in figure 3 should be emphasized, explaining their purpose:
- Search for nested project
- Detect and configure project natures - this one, if  unchecked, prevents the correct importing of the ac6 project (the import remains incomplete)

 

EXUE.2
ST Employee

Hi Adriano,

it is sure to miss some files if you clone it or download zip directly from the github, please use command 'git clone --recursive https://github.com/STMicroelectronics/STM32CubeF3.git' to clone it, you will get the complete project which can work well.

Hello @Adriano Melis ,


@Adriano Melis wrote:

Done, thanks.
Maybe the role of the checkboxes in figure 3 should be emphasized, explaining their purpose:
- Search for nested project
- Detect and configure project natures - this one, if  unchecked, prevents the correct importing of the ac6 project (the import remains incomplete)

 


What was your problem? The import of project from AC6 to CubeIDE or something else? 

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.
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.