This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 208d421  Fix number of peripheral vectors for stm32f401xE
208d421 is described below

commit 208d421c4f32fd8fd7dfccedfb18f36a0444168f
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Thu Mar 15 11:44:46 2018 -0300

    Fix number of peripheral vectors for stm32f401xE
---
 hw/mcu/stm/stm32f4xx/include/mcu/cmsis_nvic.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hw/mcu/stm/stm32f4xx/include/mcu/cmsis_nvic.h 
b/hw/mcu/stm/stm32f4xx/include/mcu/cmsis_nvic.h
index 5fe3d16..c215dba 100644
--- a/hw/mcu/stm/stm32f4xx/include/mcu/cmsis_nvic.h
+++ b/hw/mcu/stm/stm32f4xx/include/mcu/cmsis_nvic.h
@@ -9,10 +9,8 @@
 
 #include <stdint.h>
 
-#if defined(STM32F407xx)
+#if defined(STM32F401xE) || defined(STM32F407xx)
  #define MCU_NUM_PERIPH_VECTORS 82
-#elif defined(STM32F401xE)
- #define MCU_NUM_PERIPH_VECTORS 85
 #elif defined(STM32F427xx) || defined(STM32F429xx)
  #define MCU_NUM_PERIPH_VECTORS 91
 #elif defined(STM32F413xx)

-- 
To stop receiving notification emails like this one, please contact
ut...@apache.org.

Reply via email to