mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins
Fork of mbed-dev by
targets/TARGET_NUVOTON/TARGET_M480/device/cmsis.h@174:b96e65c34a4d, 2017-10-02 (annotated)
- Committer:
- AnnaBridge
- Date:
- Mon Oct 02 15:33:19 2017 +0100
- Revision:
- 174:b96e65c34a4d
- Parent:
- 172:7d866c31b3c5
This updates the lib to the mbed lib v 152
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 172:7d866c31b3c5 | 1 | /* mbed Microcontroller Library |
AnnaBridge | 172:7d866c31b3c5 | 2 | * Copyright (c) 2015-2016 Nuvoton |
AnnaBridge | 172:7d866c31b3c5 | 3 | * |
AnnaBridge | 172:7d866c31b3c5 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
AnnaBridge | 172:7d866c31b3c5 | 5 | * you may not use this file except in compliance with the License. |
AnnaBridge | 172:7d866c31b3c5 | 6 | * You may obtain a copy of the License at |
AnnaBridge | 172:7d866c31b3c5 | 7 | * |
AnnaBridge | 172:7d866c31b3c5 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 172:7d866c31b3c5 | 9 | * |
AnnaBridge | 172:7d866c31b3c5 | 10 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 172:7d866c31b3c5 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
AnnaBridge | 172:7d866c31b3c5 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 172:7d866c31b3c5 | 13 | * See the License for the specific language governing permissions and |
AnnaBridge | 172:7d866c31b3c5 | 14 | * limitations under the License. |
AnnaBridge | 172:7d866c31b3c5 | 15 | */ |
AnnaBridge | 172:7d866c31b3c5 | 16 | |
AnnaBridge | 172:7d866c31b3c5 | 17 | #ifndef MBED_CMSIS_H |
AnnaBridge | 172:7d866c31b3c5 | 18 | #define MBED_CMSIS_H |
AnnaBridge | 172:7d866c31b3c5 | 19 | |
AnnaBridge | 172:7d866c31b3c5 | 20 | #include "M480.h" |
AnnaBridge | 172:7d866c31b3c5 | 21 | #include "cmsis_nvic.h" |
AnnaBridge | 172:7d866c31b3c5 | 22 | |
AnnaBridge | 172:7d866c31b3c5 | 23 | // Support linker-generated symbol as start of relocated vector table. |
AnnaBridge | 174:b96e65c34a4d | 24 | #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) |
AnnaBridge | 172:7d866c31b3c5 | 25 | extern uint32_t Image$$ER_IRAMVEC$$ZI$$Base; |
AnnaBridge | 172:7d866c31b3c5 | 26 | #elif defined(__ICCARM__) |
AnnaBridge | 172:7d866c31b3c5 | 27 | |
AnnaBridge | 172:7d866c31b3c5 | 28 | #elif defined(__GNUC__) |
AnnaBridge | 172:7d866c31b3c5 | 29 | extern uint32_t __start_vector_table__; |
AnnaBridge | 172:7d866c31b3c5 | 30 | #endif |
AnnaBridge | 172:7d866c31b3c5 | 31 | |
AnnaBridge | 172:7d866c31b3c5 | 32 | |
AnnaBridge | 172:7d866c31b3c5 | 33 | #endif |