Skip to content

Commit

Permalink
- added missing cmsis_generic.h header for generic CMSIS library code…
Browse files Browse the repository at this point in the history
… use.
  • Loading branch information
smaillet-ms committed Jul 1, 2015
1 parent ccc5ace commit 8e1d7be
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions DeviceCode/Cores/arm/Processors/CortexMx/cmsis_generic.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#ifndef _CMSIS_GENERIC_H
#define _CMSIS_GENERIC_H

#define __CMSIS_GENERIC /* disable implementation specific functions (i.e. NVIC and Systick ) */

#if defined (CORTEX_M7)
#include "core_cm7.h"
#elif defined (CORTEX_M4)
#include "core_cm4.h"
#elif defined (CORTEX_M3)
#include "core_cm3.h"
#elif defined (CORTEX_M0)
#include "core_cm0.h"
#elif defined (CORTEX_M0PLUS)
#include "core_cm0plus.h"
#else
#error "Processor not specified or unsupported."
#endif

#endif

0 comments on commit 8e1d7be

Please sign in to comment.