ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.33k stars 1.08k forks source link

Python Wrapper: cmsis_compiler.h not found #1145

Closed ghost closed 3 years ago

ghost commented 3 years ago

Problem

Python CMSIS 5.6.0 (edited) DSP wrapper does not build.

Log

In file included from ../Source/SupportFunctions/arm_q15_to_q31.c:29:
../Include/arm_math.h:310:10: fatal error: cmsis_compiler.h: No such file or directory
  310 | #include "cmsis_compiler.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

Suspected cause

cmsis_compiler.h was moved from

/STM32CubeH7/Drivers/CMSIS/DSP/Include to

/STM32CubeH7/Drivers/CMSIS/DSP/Core/Include or /STM32CubeH7/Drivers/CMSIS/DSP/Core_A/Include

ghost commented 3 years ago

Uh oh, my bad - this is only a concern of the STM version of CMSIS 5.6.0.

I apologize for the fuzz.