Skip to main content
DCyr
Associate III
November 6, 2019
Question

What is the reason for compile errors with STM32CubeIDE for STEVAL-SPIN3201 and STEVAL-ESC001V1 sample programs that are unable to find modules even though the libraries with the "missing" modules are in the includes?

  • November 6, 2019
  • 2 replies
  • 1108 views

Compile error is:

make[1]: *** No rule to make target 'C:/Users/david/STM32CubeIDE/workspace_1.1.0/SPIN3201/SDK5x - STEVAL-SPIN3201 - BullRunning/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c', needed by 'Drivers/STM32F0xx_HAL_Driver/stm32f0xx_hal_exti.o'.  Stop. SDK5x - STEVAL-SPIN3201 - BullRunning C/C++ Problem

The missing file (stm32f0xx_hal_exti.c) is located in a directory that was included in the project properties, both in the PATH of the C/C++ Build Environment and the INCLUDES of the C/C++ General Paths and Symbols:

C:\Users\david\STM32Cube\Repository\STM32Cube_FW_F0_V1.11.0\Drivers\STM32F0xx_HAL_Driver\Src

But based on the error message, it seems it has not found the module. What is missing?

The process is using the Motor Control Workbench that calls STM32CubeMX that then opens the project in STM32CubeIDE with TrueSTUDIO Toolchain.

This topic has been closed for replies.

2 replies

DCyr
DCyrAuthor
Associate III
November 13, 2019
Laurent Ca...
Senior III
June 15, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards