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 Jun 21 17:31:38 2017 +0100
Revision:
145:64910690c574
Parent:
142:4eea097334d6
Child:
152:235179ab3f27
Release 145 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Anna Bridge 142:4eea097334d6 1 /* mbed Microcontroller Library - cmsis_nvic
Anna Bridge 142:4eea097334d6 2 * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
AnnaBridge 145:64910690c574 3 */
Anna Bridge 142:4eea097334d6 4
Anna Bridge 142:4eea097334d6 5 #ifndef MBED_CMSIS_NVIC_H
Anna Bridge 142:4eea097334d6 6 #define MBED_CMSIS_NVIC_H
Anna Bridge 142:4eea097334d6 7
AnnaBridge 145:64910690c574 8 #define NVIC_NUM_VECTORS (16 + EXT_IRQ_COUNT) // CORE + MCU Peripherals
Anna Bridge 142:4eea097334d6 9
AnnaBridge 145:64910690c574 10 /* For GCC, use dynamic vector table placement since otherwise we run into an alignment conflict */
AnnaBridge 145:64910690c574 11 #if (defined (__GNUC__) && (!defined(__CC_ARM)))
AnnaBridge 145:64910690c574 12 extern uint32_t __start_vector_table__; // Dynamic vector positioning in GCC
AnnaBridge 145:64910690c574 13 #define NVIC_RAM_VECTOR_ADDRESS (&__start_vector_table__)
AnnaBridge 145:64910690c574 14 #else
AnnaBridge 145:64910690c574 15 #define NVIC_RAM_VECTOR_ADDRESS 0x20000000 // Vectors positioned at start of RAM
Anna Bridge 142:4eea097334d6 16 #endif
Anna Bridge 142:4eea097334d6 17
AnnaBridge 145:64910690c574 18 #endif /* MBED_CMSIS_NVIC_H */