From 90c9ce9695e74f3a46353d8d703791b31c51d85b Mon Sep 17 00:00:00 2001 From: Per Baekgaard Date: Mon, 20 Jul 2020 09:25:51 +0200 Subject: [PATCH] Correct __NVIC_PRIO_BITS __NVIC_PRIO_BITS is 3 in the samd51j19a; see the data sheet section 10.1.3 --- CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51j19a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51j19a.h b/CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51j19a.h index 249fb49..4222da7 100644 --- a/CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51j19a.h +++ b/CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51j19a.h @@ -527,7 +527,7 @@ void SDHC0_Handler ( void ); #define __DEBUG_LVL 3 /*!< Full debug plus DWT data matching */ #define __FPU_PRESENT 1 /*!< FPU present or not */ #define __MPU_PRESENT 1 /*!< MPU present or not */ -#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ +#define __NVIC_PRIO_BITS 3 /*!< Number of bits used for Priority Levels */ #define __TRACE_LVL 2 /*!< Full trace: ITM, DWT triggers and counters, ETM */ #define __VTOR_PRESENT 1 /*!< VTOR present or not */ #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */