The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 145:64910690c574 1 /* mbed Microcontroller Library
AnnaBridge 165:d1b4690b3f8b 2 * Copyright (c) 2015-2018 ARM Limited
AnnaBridge 145:64910690c574 3 *
AnnaBridge 145:64910690c574 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 145:64910690c574 5 * you may not use this file except in compliance with the License.
AnnaBridge 145:64910690c574 6 * You may obtain a copy of the License at
AnnaBridge 145:64910690c574 7 *
AnnaBridge 145:64910690c574 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 145:64910690c574 9 *
AnnaBridge 145:64910690c574 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 145:64910690c574 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 145:64910690c574 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 145:64910690c574 13 * See the License for the specific language governing permissions and
AnnaBridge 145:64910690c574 14 * limitations under the License.
Anna Bridge 169:a7c7b631e539 15 */
Anna Bridge 169:a7c7b631e539 16
Anna Bridge 169:a7c7b631e539 17 /*
AnnaBridge 145:64910690c574 18 * CMSIS-style functionality to support dynamic vectors
AnnaBridge 165:d1b4690b3f8b 19 *
AnnaBridge 165:d1b4690b3f8b 20 * This file is included in ARM and GCC_ARM linker scripts.
AnnaBridge 165:d1b4690b3f8b 21 *
AnnaBridge 165:d1b4690b3f8b 22 * WARNING: IAR does not include this file and re-define these values in
AnnaBridge 165:d1b4690b3f8b 23 * MPS2.icf file. Please make sure that the two files share the same values.
AnnaBridge 145:64910690c574 24 */
AnnaBridge 145:64910690c574 25
AnnaBridge 165:d1b4690b3f8b 26 #include "memory_zones.h"
AnnaBridge 165:d1b4690b3f8b 27
AnnaBridge 145:64910690c574 28 #ifndef MBED_CMSIS_NVIC_H
AnnaBridge 145:64910690c574 29 #define MBED_CMSIS_NVIC_H
AnnaBridge 145:64910690c574 30
AnnaBridge 165:d1b4690b3f8b 31 /*
AnnaBridge 165:d1b4690b3f8b 32 * 16 vectors for initial stack pointer and internal exceptions (defined in
AnnaBridge 165:d1b4690b3f8b 33 * Armv7-M ARM).
AnnaBridge 165:d1b4690b3f8b 34 * 57 vectors for external interrupts (defined in CM3DS Eval RTL and Testbench
AnnaBridge 165:d1b4690b3f8b 35 * User Guide).
AnnaBridge 165:d1b4690b3f8b 36 */
AnnaBridge 165:d1b4690b3f8b 37 #define NVIC_NUM_VECTORS (16 + 57)
AnnaBridge 165:d1b4690b3f8b 38
AnnaBridge 165:d1b4690b3f8b 39 /*
AnnaBridge 165:d1b4690b3f8b 40 * Location of vectors in RAM, they are copied at boot from adress 0x00000000 to
AnnaBridge 165:d1b4690b3f8b 41 * that address.
AnnaBridge 165:d1b4690b3f8b 42 */
AnnaBridge 165:d1b4690b3f8b 43 #define NVIC_RAM_VECTOR_ADDRESS ZBT_SSRAM23_START
AnnaBridge 165:d1b4690b3f8b 44
AnnaBridge 165:d1b4690b3f8b 45 /*
AnnaBridge 165:d1b4690b3f8b 46 * Size of the whole vector table in bytes. Each vector is on 32 bits.
AnnaBridge 165:d1b4690b3f8b 47 */
AnnaBridge 165:d1b4690b3f8b 48 #define NVIC_VECTORS_SIZE (NVIC_NUM_VECTORS * 4)
AnnaBridge 145:64910690c574 49
AnnaBridge 145:64910690c574 50 #endif /* MBED_CMSIS_NVIC_H */