cancel
Showing results for 
Search instead for 
Did you mean: 

How do I import an example project from stm32cube_fw_l4 into the STM32Cube IDE?

maelli
Associate II

I tried: import/general/existing projects from workspace, then

choose nucleo-l452re/examples/gpio/pgio_iotoggle,

I get the whole file structure, get my main.c, see the file, however, the "hammer" is greyed out. Cannot be built.

What is wrong with these examples?

(b.t.w. building my own littlle projects with cube-mx works like a charm)0693W000000UXiwQAG.png

1 ACCEPTED SOLUTION

Accepted Solutions
Cartu38 OpenDev
Lead II

See my comment to post https://community.st.com/s/question/0D53W000000YdBNSA0/stm32cubeide-build-problem

Just in case let's share back. My post is WB serie related but same applies to all. Your main issue is most probably not relying on proper feature and/or not promoting correct path (you have to promote up to IDE's project folder path not example root folder).

If only SW4STM32 examples available for some device(s) STM32CubeIDE is fully supporting SW4STM32 projects.

Please enjoy your WB BLE example ... only requires 3 steps ...

0693W000000UKcjQAG.png0693W000000UKd8QAG.png0693W000000UKdDQAW.png

View solution in original post

3 REPLIES 3
Cartu38 OpenDev
Lead II

See my comment to post https://community.st.com/s/question/0D53W000000YdBNSA0/stm32cubeide-build-problem

Just in case let's share back. My post is WB serie related but same applies to all. Your main issue is most probably not relying on proper feature and/or not promoting correct path (you have to promote up to IDE's project folder path not example root folder).

If only SW4STM32 examples available for some device(s) STM32CubeIDE is fully supporting SW4STM32 projects.

Please enjoy your WB BLE example ... only requires 3 steps ...

0693W000000UKcjQAG.png0693W000000UKd8QAG.png0693W000000UKdDQAW.png

maelli
Associate II

works a treat!

Thanks a lot for helping me.

maelli
Associate II

sometimes it works, sometimes not: I do:

>import ac6 system workbench for stm32 project

then I get this:

> import as eclipse project

(cannot choose anything)

I click ok and then nothing gets converted.

Then I, deleted the files, try again,  

then it complains:

> Folder already imported

Even though I DELETED the damn thing. (and it is also not on the list).

What a frustrating experience when not even the "delivered examples" work.

I am using: l152 discovery board,  stm32cubeide version 1.3.0, Linux ubuntu 18.04.4 lts.