Skip to main content
JLusk.1
Associate
December 31, 2021
Question

Error when building X-nucleo-IHM11M1 (motor controller board for STM32-F401RE) demo software in CubeIDE.

  • December 31, 2021
  • 3 replies
  • 1580 views

 Import seems to be successful but the build configuration seems to be faulty. The error I get is

"Errors occurred during the build.

Errors running builder 'CDT Builder' on project 'STM32F401RE-Nucleo Configuration'.

Internal error building project STM32F401RE-Nucleo Configuration configuration Debug

java.lang.NullPointerException

Internal error building project STM32F401RE-Nucleo Configuration configuration Debug

java.lang.NullPointerException"

In the build menu the following error is displayed.

0693W00000HqEwkQAF.pngIs there any fix for this or am I missing something obvious?

This topic has been closed for replies.

3 replies

Laurent Ca...
Senior III
January 18, 2022

Dear @JLusk.1​ 

I have moved your question in "Motor Control HW" topic.

Best regards

Cristiana SCARAMEL
Technical Moderator
January 25, 2022

Hello @JLusk.1​ and welcome to the ST Community.

Try to copy the attached project in this folder: ...\Projects\Multi\Applications\MotorControl

where you have the project of all the other IDEs

Let me know if this solve the error

"If you feel a post has answered your question, please click ""Accept as Solution"""
JLusk.1
JLusk.1Author
Associate
January 27, 2022

Hi, thanks for the reply.

There now are significantly fewer errors but there is still one instance where a file cannot be found, I don't know if it might be my specific install of stm32CubeIDE but in any case it cannot complete the build.

The error message is as follows:

make: *** No rule to make target '/.../STM32CubeExpansion_SPN11_V1.0.0/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_mmc.c', needed by 'Drivers/STM32F4xx_HAL_Driver/stm32f4xx_hal_mmc.o'. Stop.

"make all" terminated with exit code 2. Build might be incomplete.