mbed library sources. Supersedes mbed-src.

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

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
187:0387e8f68319
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 187:0387e8f68319 1 /* mbed Microcontroller Library
AnnaBridge 187:0387e8f68319 2 * Copyright (c) 2015-2017 Nuvoton
AnnaBridge 187:0387e8f68319 3 *
AnnaBridge 187:0387e8f68319 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 187:0387e8f68319 5 * you may not use this file except in compliance with the License.
AnnaBridge 187:0387e8f68319 6 * You may obtain a copy of the License at
AnnaBridge 187:0387e8f68319 7 *
AnnaBridge 187:0387e8f68319 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 187:0387e8f68319 9 *
AnnaBridge 187:0387e8f68319 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 187:0387e8f68319 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 187:0387e8f68319 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 187:0387e8f68319 13 * See the License for the specific language governing permissions and
AnnaBridge 187:0387e8f68319 14 * limitations under the License.
AnnaBridge 187:0387e8f68319 15 */
AnnaBridge 187:0387e8f68319 16
AnnaBridge 187:0387e8f68319 17 #ifndef MBED_CMSIS_NVIC_H
AnnaBridge 187:0387e8f68319 18 #define MBED_CMSIS_NVIC_H
AnnaBridge 187:0387e8f68319 19
AnnaBridge 187:0387e8f68319 20 #define NVIC_NUM_VECTORS (16 + 102)
AnnaBridge 187:0387e8f68319 21
AnnaBridge 187:0387e8f68319 22 #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
AnnaBridge 187:0387e8f68319 23 # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &Image$$ER_IRAMVEC$$ZI$$Base)
AnnaBridge 187:0387e8f68319 24 #elif defined(__ICCARM__)
AnnaBridge 187:0387e8f68319 25 # pragma section = "IRAMVEC"
AnnaBridge 187:0387e8f68319 26 # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) __section_begin("IRAMVEC"))
AnnaBridge 187:0387e8f68319 27 #elif defined(__GNUC__)
AnnaBridge 187:0387e8f68319 28 # define NVIC_RAM_VECTOR_ADDRESS ((uint32_t) &__start_vector_table__)
AnnaBridge 187:0387e8f68319 29 #endif
AnnaBridge 187:0387e8f68319 30
AnnaBridge 187:0387e8f68319 31 #endif