mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Mon Oct 02 15:33:19 2017 +0100
Revision:
174:b96e65c34a4d
Parent:
167:e84263d55307
This updates the lib to the mbed lib v 152

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 154:37f96f9d4de2 1 /* mbed Microcontroller Library
<> 154:37f96f9d4de2 2 * CMSIS-style functionality to support dynamic vectors
<> 154:37f96f9d4de2 3 *******************************************************************************
<> 154:37f96f9d4de2 4 * Copyright (c) 2011 ARM Limited. All rights reserved.
<> 154:37f96f9d4de2 5 * All rights reserved.
<> 154:37f96f9d4de2 6 *
<> 154:37f96f9d4de2 7 * Redistribution and use in source and binary forms, with or without
<> 154:37f96f9d4de2 8 * modification, are permitted provided that the following conditions are met:
<> 154:37f96f9d4de2 9 *
<> 154:37f96f9d4de2 10 * 1. Redistributions of source code must retain the above copyright notice,
<> 154:37f96f9d4de2 11 * this list of conditions and the following disclaimer.
<> 154:37f96f9d4de2 12 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 154:37f96f9d4de2 13 * this list of conditions and the following disclaimer in the documentation
<> 154:37f96f9d4de2 14 * and/or other materials provided with the distribution.
<> 154:37f96f9d4de2 15 * 3. Neither the name of ARM Limited nor the names of its contributors
<> 154:37f96f9d4de2 16 * may be used to endorse or promote products derived from this software
<> 154:37f96f9d4de2 17 * without specific prior written permission.
<> 154:37f96f9d4de2 18 *
<> 154:37f96f9d4de2 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 154:37f96f9d4de2 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 154:37f96f9d4de2 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 154:37f96f9d4de2 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 154:37f96f9d4de2 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 154:37f96f9d4de2 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 154:37f96f9d4de2 25 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 154:37f96f9d4de2 26 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 154:37f96f9d4de2 27 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 154:37f96f9d4de2 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 154:37f96f9d4de2 29 *******************************************************************************
<> 154:37f96f9d4de2 30 */
<> 154:37f96f9d4de2 31
<> 154:37f96f9d4de2 32 #ifndef MBED_CMSIS_NVIC_H
<> 154:37f96f9d4de2 33 #define MBED_CMSIS_NVIC_H
<> 154:37f96f9d4de2 34
AnnaBridge 174:b96e65c34a4d 35 #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
AnnaBridge 167:e84263d55307 36 extern uint32_t Image$$VECTOR_RAM$$Base[];
AnnaBridge 167:e84263d55307 37 #define __VECTOR_RAM Image$$VECTOR_RAM$$Base
AnnaBridge 167:e84263d55307 38 #else
AnnaBridge 167:e84263d55307 39 extern uint32_t __VECTOR_RAM[];
<> 154:37f96f9d4de2 40 #endif
<> 154:37f96f9d4de2 41
AnnaBridge 167:e84263d55307 42 /* Symbols defined by the linker script */
AnnaBridge 167:e84263d55307 43 #define NVIC_NUM_VECTORS (16 + 107) // CORE + MCU Peripherals
AnnaBridge 167:e84263d55307 44 #define NVIC_RAM_VECTOR_ADDRESS (__VECTOR_RAM) // Vectors positioned at start of RAM
<> 154:37f96f9d4de2 45
<> 154:37f96f9d4de2 46 #endif