Hi, how can I install CMSIS 5.6.0 DSP 1.6 on my teensy 3.6?
can u help me?
https://github.com/ARM-software/CMSIS_5
Thank u
can u help me?
https://github.com/ARM-software/CMSIS_5
Thank u
[COLOR=#23AD68][FONT=Menlo]/**[/FONT][/COLOR]
[COLOR=#23AD68][FONT=Menlo] * [COLOR=#35d585][B]@defgroup[/B][/COLOR] groupExamples Examples[/FONT][/COLOR]
[COLOR=#23AD68][FONT=Menlo] */[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#ifndef _ARM_MATH_H[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define _ARM_MATH_H[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#51C34F][FONT=Menlo]// Teensy 3.0[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d]#include [/COLOR]<stdint.h>[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define __ASM __asm[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define __INLINE inline[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define __STATIC_INLINE static inline[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define __CORTEX_M [COLOR=#00aaa3]4[/COLOR][/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define __FPU_USED [COLOR=#00aaa3]0[/COLOR][/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#define ARM_MATH_CM4[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d]#include [/COLOR]"core_cmInstr.h"[/FONT][/COLOR]
[COLOR=#51C34F][FONT=Menlo]//#include "core_cm4_simd.h"[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#51C34F][FONT=Menlo]/* Compiler specific diagnostic adjustment */[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#if defined ( __CC_ARM )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __ARMCC_VERSION ) && ( __ARMCC_VERSION >= [COLOR=#00aaa3]6010050[/COLOR] )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __GNUC__ )[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#pragma GCC diagnostic push[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#pragma GCC diagnostic ignored [COLOR=#de3a3c]"-Wsign-conversion"[/COLOR][/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#pragma GCC diagnostic ignored [COLOR=#de3a3c]"-Wconversion"[/COLOR][/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#pragma GCC diagnostic ignored [COLOR=#de3a3c]"-Wunused-parameter"[/COLOR][/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __ICCARM__ )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __TI_ARM__ )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __CSMC__ )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#elif defined ( __TASKING__ )[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#else[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #error Unknown compiler[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#endif[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#if [COLOR=#00aaa3]0[/COLOR][/FONT][/COLOR]
[COLOR=#51C34F][FONT=Menlo][COLOR=#d38d5d]#define __CMSIS_GENERIC [/COLOR]/* disable NVIC and Systick functions */[/FONT][/COLOR]
[FONT=Helvetica]
[/FONT]
[COLOR=#D38D5D][FONT=Menlo]#if defined(ARM_MATH_CM7)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_cm7.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_DSP[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_CM4)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_cm4.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_DSP[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_CM3)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_cm3.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_CM0)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_cm0.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_CM0_FAMILY[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_CM0PLUS)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_cm0plus.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_CM0_FAMILY[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_ARMV8MBL)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_armv8mbl.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_CM0_FAMILY[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#elif defined (ARM_MATH_ARMV8MML)[/FONT][/COLOR]
[COLOR=#DE3A3C][FONT=Menlo][COLOR=#d38d5d] #include [/COLOR]"core_armv8mml.h"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #if (defined (__DSP_PRESENT) && (__DSP_PRESENT == [COLOR=#00aaa3]1[/COLOR]))[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #define ARM_MATH_DSP[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #endif[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#else[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo] #error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS, ARM_MATH_CM0, ARM_MATH_ARMV8MBL, ARM_MATH_ARMV8MML"[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#endif[/FONT][/COLOR]
[COLOR=#D38D5D][FONT=Menlo]#endif[/FONT][/COLOR]