Skip to main content
FrancescaMC
Associate
July 16, 2019
Question

How to compile example packet X-Cube-SPN8?

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.

This topic has been closed for replies.

3 replies

hansd56
Senior
July 16, 2019

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
July 16, 2019

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
July 16, 2019

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.