mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Jan 11 09:45:10 2016 +0000
Parent:
45:faebcbaa5f6d
Child:
47:e32b5dd8af6d
Commit message:
Synchronized with git revision 4ac44bdea62a5e1c4bf1be085e313c27005955a4

Full URL: https://github.com/mbedmicro/mbed/commit/4ac44bdea62a5e1c4bf1be085e313c27005955a4/

Changed in this revision

targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -226,6 +226,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -227,6 +227,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -227,6 +227,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -227,6 +227,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -227,6 +227,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -226,6 +226,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c	Wed Jan 06 15:00:11 2016 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c	Mon Jan 11 09:45:10 2016 +0000
@@ -226,6 +226,9 @@
   /* Disable all interrupts */
   RCC->CIR = 0x00000000;
 
+  /* Enable SYSCFGENR in APB2EN, needed for 1st call of NVIC_SetVector, to copy vectors from flash to ram */
+  RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
+  
   /* Configure the Cube driver */
   SystemCoreClock = 8000000; // At this stage the HSI is used as system clock
   HAL_Init();