From a96c5d87d892377b56a05d508a1b41c8f143cd00 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 11 Jun 2020 23:33:50 +0200 Subject: [PATCH] cmparams: set correct ARM version and number of vectors --- os/common/startup/ARMCMx/devices/MIMXRT1062/cmparams.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/common/startup/ARMCMx/devices/MIMXRT1062/cmparams.h b/os/common/startup/ARMCMx/devices/MIMXRT1062/cmparams.h index c11b017b..9fe2a4a0 100644 --- a/os/common/startup/ARMCMx/devices/MIMXRT1062/cmparams.h +++ b/os/common/startup/ARMCMx/devices/MIMXRT1062/cmparams.h @@ -36,7 +36,7 @@ /** * @brief Cortex core model. */ -#define CORTEX_MODEL 4 +#define CORTEX_MODEL 7 /** * @brief Systick unit presence. @@ -58,7 +58,7 @@ * @note This number does not include the 16 system vectors and must be * rounded to a multiple of 8. */ -#define CORTEX_NUM_VECTORS 104 +#define CORTEX_NUM_VECTORS 160 /* The following code is not processed when the file is included from an asm module.*/