cancel
Showing results for 
Search instead for 
Did you mean: 

Can't build imported demo project

_Louis_
Associate

Hi evryone,

I'm trying to do some work on the stm32 L552ZE-Q and I'm trying to launch some demo projects available but once I've imported the porject in the IDE I can't build the project. I have that error:

_Louis__0-1736326859988.png

and I also got a warning but I don't find why it is here:

_Louis__1-1736326906379.png

And the build button is inaccessible:

 

_Louis__2-1736326944261.png

Thank you for your help!

 

 

3 REPLIES 3
Imen.D
ST Employee

Hello @_Louis_ ,

It seems you are using the "Copy into workspace" option ?

In this case, you have this known limitation which is listed in the STM32CubeIDE:STM32CubeIDE errata 1.17.x - stm32mcu

68184 Hierarchical projects cannot be imported with the option Copy into workspace.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
_Louis_
Associate

Hi Imen,

I've try to import the file via different methods:

  • The copy into workspace
  • Via the import option
  • Via open project in the file system
  • with the project selector of Cube IDE

And every method fail to build the project.

 

How can I open the projects from the CubeL5 Package ?

 

Thank you for your help.

Try open a STM32CubeIDE project using the "File -> Import" menu.

  1. Start STM32CubeIDE
  2. Choose a workspace location (preferably different from your project location)
    ImenD_3-1736411329332.png
  3. Open STM32CubeIDE menu "File -> Import..."
    ImenD_0-1736411184804.png
  4. In the "Import" window, select "General -> Existing Projects into Workspace". Click on Next.
    ImenD_1-1736411184840.png

  5. At line "Select root directory", click on "Browse..."

    ImenD_2-1736411184874.png

     

  6. Navigate to the directory of the project's and click on "Select folder".
  7. STM32CubeIDE displays what project was found. Select the project you want to import. Click on "Finish."
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen