ARM-software / CMSIS-DSP

CMSIS-DSP embedded compute library for Cortex-M and Cortex-A
https://arm-software.github.io/CMSIS-DSP
Apache License 2.0
454 stars 122 forks source link

ARMCM0.h not found #166

Closed ETSUZollinger closed 3 months ago

ETSUZollinger commented 4 months ago

I hope I am doing this right as I am new to doing much with Github and have only recently tried working with CMSIS.

I have been trying to run a basic fft using the CMSIS-DSP library through Keil Studio Cloud. No errors occur until building the project. Upon building, the following error is received. The same error occurs on a NUCLEO-F446RE, NUCLEO-H743ZI2, and a DISCO F769I

Build started
Using toolchain ARMC6 profile {'ENV': {'ARMLMD_LICENSE_FILE': '8224@10.100.166.33:8224@10.100.120.118'}, 'PATHS': {'ARMC6_PATH': '/opt/ARMCompiler6.15.13/bin/', 'ARM_PATH': '/opt/armcc5_06_u6/'}, 'common': ['-c', '--gnu', '-O3', '-Otime', '--split_sections', '--apcs=interwork'], 'cxx': ['--cpp', '--no_rtti'], 'COMPILE_C_AS_CPP': False, 'NEW_SCAN_RESOURCES': True}
scan /tmp/chroots/ch-642806ff-3f70-4de5-89b2-03499c051bfc/src
scan /tmp/chroots/ch-642806ff-3f70-4de5-89b2-03499c051bfc/extras/mbed-os.lib
Using ROM region application in this build.
Region application: size 0x200000, offset 0x8000000
Using RAM region application_ram in this build.
Region application_ram: size 0x80000, offset 0x24000000
compile cmsis-dsp/ComputeLibrary/Source/arm_cl_tables.c
compile cmsis-dsp/Examples/ARM/arm_bayes_example/RTE/Device/ARMCM0/system_ARMCM0.c
/src/cmsis-dsp/Examples/ARM/arm_bayes_example/RTE/Device/ARMCM0/system_ARMCM0.c:26:10: fatal error: 'ARMCM0.h' file not found
#include "ARMCM0.h"
         ^~~~~~~~~~
1 error generated.
Internal error.
Build failed
christophe0606 commented 3 months ago

@ETSUZollinger Hi, I have just tested with uVision IDE and with cmsis build tools used in command line. I have had no problems to build and run.

You'll need to see with Keil studio support. There may be some configuration settings to tune,