cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile example packet X-Cube-SPN8?

FrancescaMC
Associate II

Hi,

I am trying to manage a BLDC motor using the P-Nucleo-IHM001, so NucleoF302R8 and X-Nucleo-IHM01M1.

I would like to upload the firmware version with the example X-Cube-SPN8.

When I launch the building, it gives errors due to a different path, that actually does not exist in my computer.

3 REPLIES 3
hansd56
Senior II

Hi, save the cube for your mcu on your PC. In CubeIDE File->Open Projects From File System. Navigate to your project on open the SW4STM32 folder until you find .cproject. Select folder and click Finish. Follow the prompts and the project should be converted. Good luck and welcome to the world of Eclipse :)

FrancescaMC
Associate II

Hi, thank you for your answer.

Actually, I already followed these steps, but the project imported has a wrong path, so it does not compile and build and debug. It is like there is nothing to build.

hansd56
Senior II

This kind of things can take many hours to fix. Did you check Properties->Environment. Have a look at the settings. C/C++ Path and Symbols->Source Location. Unfortunately, I don't have the same hardware. Maybe somebody else has come across the same problem.