cancel
Showing results for 
Search instead for 
Did you mean: 

Cube-F4 v1.28.2 examples can't build in CubeIDE v1.18.1

testcode99
Associate II

Using latest STM32CubeIDE version 1.18.1 and STM32Cube_FW_F4_V1.28.2 available for use.

Note that this new firmware has board examples in STM32CubeIDE project format and no longer in SystemWorkbench.

Using STM32CubeIDE to Import STMCube example, after selecting the board, e.g., STM32F4469I-DISCO, then an example, e.g., GPIO_EXTI, you get a STM32 project, but it doesnt compile with the IDE. It doesnt seem to have any .ioc file, etc., even though the target board was specified from the beginning. 

Pic 2 selects board and example, then last pic shows the project. But IDE isnt able to compile this project (hammer is gray, etc.).

Why? How to create the example so that it will compile for selected target board? Is the new FW useless, eventhough it shows STM32CubeIDE projects for the examples, applications, etc?

 

1.png

2.png

3.png

4.png

5.png

5 REPLIES 5
TDK
Super User

ST broke something on existing installations. To correct, delete the directories listed here (or update):

Solved: v1.16.0: STM32Cube Option disabled during project ... - STMicroelectronics Community

If you feel a post has answered your question, please click "Accept as Solution".
Andrew Neil
Super User

@testcode99 wrote:

Using latest STM32CubeIDE version 1.18.1 


Latest is v1.19.0:

https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-19-0-released/td-p/819568

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.
testcode99
Associate II

No success :(

Completely uninstalled STM32CubeIDE 1.18.1.

Installed STM32CubeIDE 1.19.0.

Created brand new project from example of GPIO_EXTI for the STM32F469I-DISCO board (just like my original post yesterday), this time using this new 1.19.0 IDE. Use Example Selector tab, select board, then example, then next, etc. steps pictured above in post from yesterday.

After project GPIO_EXTI was created, new STM32CubeIDE 1.19.0 is still not able to compile. Does not have .ioc file (pic below).

Looks no different than previous project created with 1.18.1 IDE.

Not sure if anyone out there can try it, example project of GPIO_EXTI for the STM32F469I-DISCO board. Does it allow compiling for you? Make sure to select project from example option.

So for me STM32CubeIDE 1.19.0 doesnt seem any different than 1.18.1.

notworking.png

 

I can create the project and it lets me try to build it. All the files are present on the disk. It tries to build but the HAL files aren't part of the project so they don't get built. I'm not on the latest CubeIDE, however.

If you feel a post has answered your question, please click "Accept as Solution".

I'm at a loss as to why GPIO_EXTI example project I created for STM32F469I-DISCO didnt allow building/compiling with the STM32CubeIDE 1.19.0.

If not too much trouble, would it be possible to attach a zip of your GPIO_EXTI project?

I've attached mine... it's about 5M. It'll help compare to see what makes your project buildable vs. mine.