Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 70592981d -> b729f76a9


bsp/stm32f429: Fix nvic vectors number to 16 + 91

>From st datasheet page 24:

    The devices embed a nested vectored interrupt controller
    able to manage 16 priority levels, and handle up to 91
    maskable interrupt channels plus the 16 interrupt lines
    of the Cortex®-M4 with FPU core.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/37d85d86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/37d85d86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/37d85d86

Branch: refs/heads/develop
Commit: 37d85d86ce4cba0cf80f36b6f6e0cdacd7c472e9
Parents: 7059298
Author: Louie Lu <[email protected]>
Authored: Sat Mar 11 22:53:26 2017 +0800
Committer: Louie Lu <[email protected]>
Committed: Sat Mar 11 22:53:26 2017 +0800

----------------------------------------------------------------------
 hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/37d85d86/hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h
----------------------------------------------------------------------
diff --git a/hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h 
b/hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h
index e9a9329..69f9b63 100644
--- a/hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h
+++ b/hw/bsp/stm32f429discovery/include/bsp/cmsis_nvic.h
@@ -9,7 +9,7 @@
 
 #include <stdint.h>
 
-#define NVIC_NUM_VECTORS      (16 + 81)   // CORE + MCU Peripherals
+#define NVIC_NUM_VECTORS      (16 + 91)   // CORE + MCU Peripherals
 #define NVIC_USER_IRQ_OFFSET  16
 
 #include "stm32f429xx.h"

Reply via email to