Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
Kojto
Date:
Wed Mar 02 09:58:28 2016 +0100
Revision:
115:87f2f5183dfb
Release 115 of the mbed library

Changes:
- new targets - NUCLEO_F746ZG
- Bugfix - STM32F7 + STM32L4 - RTC init fix
- Bugfix - STM32L4 Set NVIC_RAM_VECTOR_ADDRESS to 0x10000000
- B96B_F446VE - CAN addition
- Changed target name from NZ32SC151 to NZ32_SC151

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 115:87f2f5183dfb 1 /* mbed Microcontroller Library
Kojto 115:87f2f5183dfb 2 * CMSIS-style functionality to support dynamic vectors
Kojto 115:87f2f5183dfb 3 *******************************************************************************
Kojto 115:87f2f5183dfb 4 * Copyright (c) 2016, STMicroelectronics
Kojto 115:87f2f5183dfb 5 * All rights reserved.
Kojto 115:87f2f5183dfb 6 *
Kojto 115:87f2f5183dfb 7 * Redistribution and use in source and binary forms, with or without
Kojto 115:87f2f5183dfb 8 * modification, are permitted provided that the following conditions are met:
Kojto 115:87f2f5183dfb 9 *
Kojto 115:87f2f5183dfb 10 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 115:87f2f5183dfb 11 * this list of conditions and the following disclaimer.
Kojto 115:87f2f5183dfb 12 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 115:87f2f5183dfb 13 * this list of conditions and the following disclaimer in the documentation
Kojto 115:87f2f5183dfb 14 * and/or other materials provided with the distribution.
Kojto 115:87f2f5183dfb 15 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 115:87f2f5183dfb 16 * may be used to endorse or promote products derived from this software
Kojto 115:87f2f5183dfb 17 * without specific prior written permission.
Kojto 115:87f2f5183dfb 18 *
Kojto 115:87f2f5183dfb 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 115:87f2f5183dfb 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 115:87f2f5183dfb 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 115:87f2f5183dfb 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 115:87f2f5183dfb 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 115:87f2f5183dfb 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 115:87f2f5183dfb 25 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 115:87f2f5183dfb 26 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 115:87f2f5183dfb 27 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 115:87f2f5183dfb 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 115:87f2f5183dfb 29 *******************************************************************************
Kojto 115:87f2f5183dfb 30 */
Kojto 115:87f2f5183dfb 31
Kojto 115:87f2f5183dfb 32 #ifndef MBED_CMSIS_NVIC_H
Kojto 115:87f2f5183dfb 33 #define MBED_CMSIS_NVIC_H
Kojto 115:87f2f5183dfb 34
Kojto 115:87f2f5183dfb 35 // CORE: 16 vectors = 64 bytes from 0x00 to 0x3F
Kojto 115:87f2f5183dfb 36 // MCU Peripherals: 98 vectors = 392 bytes from 0x40 to 0x1C7
Kojto 115:87f2f5183dfb 37 // Total: 114 vectors = 456 bytes (0x1C8) to be reserved in RAM
Kojto 115:87f2f5183dfb 38 #define NVIC_NUM_VECTORS 114
Kojto 115:87f2f5183dfb 39 #define NVIC_USER_IRQ_OFFSET 16
Kojto 115:87f2f5183dfb 40
Kojto 115:87f2f5183dfb 41 #include "cmsis.h"
Kojto 115:87f2f5183dfb 42
Kojto 115:87f2f5183dfb 43 #ifdef __cplusplus
Kojto 115:87f2f5183dfb 44 extern "C" {
Kojto 115:87f2f5183dfb 45 #endif
Kojto 115:87f2f5183dfb 46
Kojto 115:87f2f5183dfb 47 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
Kojto 115:87f2f5183dfb 48 uint32_t NVIC_GetVector(IRQn_Type IRQn);
Kojto 115:87f2f5183dfb 49
Kojto 115:87f2f5183dfb 50 #ifdef __cplusplus
Kojto 115:87f2f5183dfb 51 }
Kojto 115:87f2f5183dfb 52 #endif
Kojto 115:87f2f5183dfb 53
Kojto 115:87f2f5183dfb 54 #endif