2023-04-14 08:33 AM - edited 2023-11-20 08:10 AM
Hello everyone,
I use GPIO example project (from repository of ST) and open it by STM32 cube IDE. then when I built it give error:
make all
make: *** No rule to make target ...
How to fix this error?
Thank you! Sorry cause my English not good.
Solved! Go to Solution.
2023-04-14 01:05 PM
Do not copy the example, but open the project in the repository tree. The projects use relative paths to the Drivers folder.
2023-04-14 11:57 AM
You have opened the folder, but not the project. The project file is in the SW4STM32/STM32F030R8-Nucleo subfolder. Look for a .project file (may not be visible depending on your explorer settings).
Use File > Open projects from file system to import the project in your current workspace.
The imported project should have a blue "IDE" icon and build without errors.
hth
KnarfB
2023-04-14 12:27 PM
Clean the project then Refresh. Then try to build again.
2023-04-14 12:36 PM - edited 2023-11-20 08:10 AM
i open .project file (or open from file system) but it still error.
2023-04-14 12:49 PM
it still has that error
2023-04-14 01:03 PM - edited 2023-11-20 08:10 AM
here are the steps i took:
2023-04-14 01:05 PM
Do not copy the example, but open the project in the repository tree. The projects use relative paths to the Drivers folder.
2023-04-14 01:27 PM
Wow! It done. Thank you very so much! very impressive! Bravo!
Thanks everyone! I spent a lot of time on that error
2024-08-04 06:54 AM
In my case I opened the .cProject in place [downloaded the entire repository, and then opened:
this
"G:\H5_GITHUB_EXAMPLE\Projects\NUCLEO-H563ZI\Examples\GPIO\GPIO_IOToggle_TrustZone\STM32CubeIDE\.project"
and I'm getting all red with the same error message:
Description Resource Path Location Type
make: *** No rule to make target 'G:/H5_GITHUB_EXAMPLE/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal.c', needed by 'Drivers/STM32H5xx_HAL_Driver/stm32h5xx_hal.o'. Stop. GPIO_IOToggle_TrustZone_Secure C/C++ Problem