cancel
Showing results for 
Search instead for 
Did you mean: 

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?

DCyr
Associate III

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.

2 REPLIES 2
DCyr
Associate III
Laurent Ca...
Lead II

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