cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube doesn't copy 'Drivers' files in project

jmasriera
Associate II
Posted on October 28, 2016 at 09:13

Hi.

I've generated a project using Cube, but the Drivers directory is void (it has subdirectories but any file), and then the project is full of errors.

I've attached the project. The project properties are:

- STM32F769I-DISCO board

- Enable SD 4 bit wide bus

And the generate it. (I know it has a clock error).

Cube version 4.17.0

STM32Cube v1.0

STM32Cube_FW_F7 V1.5.1

If i select FW package STM32Cube_FW_F7 V1.5.0 then it copies all the files.

Is this a bug or I'm doing/I have something wrong?
1 ACCEPTED SOLUTION

Accepted Solutions
Walid FTITI_O
Senior II
Posted on October 31, 2016 at 16:39

Hi masriera.jordi, 

I have made the test with the STM32CubeMx 4.17.0 and STM32Cube_FW_F7 V1.5.1

using the .ioc file that you shared, and the drivers were generated correctly.

I think the upgrade of the STM32Cube FW 1.5.1 version has not been successfully done. Try to re-do it :

1.Goto a similar path as follow: C:\Users\''you user name''\STM32Cube\Repository

2. Delete the corrupted V1.5.1 folders 

3. Re-open the STM32CubeMX and re-upgrade the library with version V1.5.1

(you can even dowload the this last version from the website and add it manually at that path)

-Hannibal-

View solution in original post

2 REPLIES 2
Walid FTITI_O
Senior II
Posted on October 31, 2016 at 16:39

Hi masriera.jordi, 

I have made the test with the STM32CubeMx 4.17.0 and STM32Cube_FW_F7 V1.5.1

using the .ioc file that you shared, and the drivers were generated correctly.

I think the upgrade of the STM32Cube FW 1.5.1 version has not been successfully done. Try to re-do it :

1.Goto a similar path as follow: C:\Users\''you user name''\STM32Cube\Repository

2. Delete the corrupted V1.5.1 folders 

3. Re-open the STM32CubeMX and re-upgrade the library with version V1.5.1

(you can even dowload the this last version from the website and add it manually at that path)

-Hannibal-

jmasriera
Associate II
Posted on November 03, 2016 at 16:24

Thanks Hannibal. Now it works.