From b03ce4e2f2f3d40db655e485816a458badfeba35 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 27 Jul 2015 12:06:59 +0000 Subject: Cortex-M7 support in RT and NIL. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8115 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/ARMCMx/chcore.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'os/rt/ports/ARMCMx/chcore.h') diff --git a/os/rt/ports/ARMCMx/chcore.h b/os/rt/ports/ARMCMx/chcore.h index 11d14234e..d1b2dc4fb 100644 --- a/os/rt/ports/ARMCMx/chcore.h +++ b/os/rt/ports/ARMCMx/chcore.h @@ -191,8 +191,10 @@ struct context { /* Includes the sub-architecture-specific part.*/ #if (CORTEX_MODEL == 0) || (CORTEX_MODEL == 1) #include "chcore_v6m.h" -#elif (CORTEX_MODEL == 3) || (CORTEX_MODEL == 4) +#elif (CORTEX_MODEL == 3) || (CORTEX_MODEL == 4) || (CORTEX_MODEL == 7) #include "chcore_v7m.h" +#else +#error "unknown Cortex-M variant" #endif #if !defined(_FROM_ASM_) -- cgit v1.2.3