Skip to main content
MYu
Associate II
March 17, 2019
Question

STM32 Motor Control Example

  • March 17, 2019
  • 0 replies
  • 640 views

#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS or ARM_MATH_CM0"

I was using below boards and generated the source code by MX.

But above error doesn't understand me.

Target: STM32F302R8Tx

Extension board: IHM001/002 3 shunt

/* USER CODE BEGIN PD */

#define (ARM_MATH_CM3) 1

#define (_ARM_MATH_H) 1

/* USER CODE END PD */

In order to remove the error, I include in the main. c.

Please let me know right firmware setting or other consideration for debugging.

This topic has been closed for replies.