mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins
Fork of mbed-dev by
targets/TARGET_Realtek/mbed_rtx.h@188:3f10722804f9, 2018-07-30 (annotated)
- Committer:
- ua1arn
- Date:
- Mon Jul 30 12:31:10 2018 +0000
- Revision:
- 188:3f10722804f9
- Parent:
- 176:447f873cad2f
before add multi-configuration USB descriptors
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 167:e84263d55307 | 1 | /* mbed Microcontroller Library |
AnnaBridge | 167:e84263d55307 | 2 | * Copyright (c) 2013-2016 Realtek Semiconductor Corp. |
AnnaBridge | 167:e84263d55307 | 3 | * |
AnnaBridge | 167:e84263d55307 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
AnnaBridge | 167:e84263d55307 | 5 | * you may not use this file except in compliance with the License. |
AnnaBridge | 167:e84263d55307 | 6 | * You may obtain a copy of the License at |
AnnaBridge | 167:e84263d55307 | 7 | * |
AnnaBridge | 167:e84263d55307 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 167:e84263d55307 | 9 | * |
AnnaBridge | 167:e84263d55307 | 10 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 167:e84263d55307 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
AnnaBridge | 167:e84263d55307 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 167:e84263d55307 | 13 | * See the License for the specific language governing permissions and |
AnnaBridge | 167:e84263d55307 | 14 | * limitations under the License. |
AnnaBridge | 167:e84263d55307 | 15 | */ |
AnnaBridge | 167:e84263d55307 | 16 | #ifndef MBED_MBED_RTX_H |
AnnaBridge | 167:e84263d55307 | 17 | #define MBED_MBED_RTX_H |
AnnaBridge | 167:e84263d55307 | 18 | |
AnnaBridge | 167:e84263d55307 | 19 | #if defined(TARGET_RTL8195A) |
AnnaBridge | 167:e84263d55307 | 20 | |
AnnaBridge | 167:e84263d55307 | 21 | #include "rtl8195a.h" |
AnnaBridge | 167:e84263d55307 | 22 | |
AnnaBridge | 176:447f873cad2f | 23 | #if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) |
AnnaBridge | 173:e131a1973e81 | 24 | extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Base[]; |
AnnaBridge | 173:e131a1973e81 | 25 | extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Length[]; |
AnnaBridge | 173:e131a1973e81 | 26 | #define ISR_STACK_START (unsigned char *)(Image$$ARM_LIB_STACK$$ZI$$Base) |
AnnaBridge | 173:e131a1973e81 | 27 | #define ISR_STACK_SIZE (uint32_t)(Image$$ARM_LIB_STACK$$ZI$$Length) |
AnnaBridge | 173:e131a1973e81 | 28 | #define INITIAL_SP (uint32_t)(Image$$ARM_LIB_STACK$$ZI$$Base) |
AnnaBridge | 167:e84263d55307 | 29 | #elif defined(__GNUC__) |
AnnaBridge | 167:e84263d55307 | 30 | extern uint32_t __StackTop[]; |
AnnaBridge | 167:e84263d55307 | 31 | extern uint32_t __StackLimit[]; |
AnnaBridge | 167:e84263d55307 | 32 | extern uint32_t __HeapLimit[]; |
AnnaBridge | 167:e84263d55307 | 33 | #define INITIAL_SP (__StackTop) |
AnnaBridge | 167:e84263d55307 | 34 | #endif |
AnnaBridge | 167:e84263d55307 | 35 | |
AnnaBridge | 176:447f873cad2f | 36 | #if defined(__GNUC__) |
AnnaBridge | 167:e84263d55307 | 37 | #ifndef ISR_STACK_SIZE |
AnnaBridge | 167:e84263d55307 | 38 | #define ISR_STACK_SIZE (0x1000) |
AnnaBridge | 167:e84263d55307 | 39 | #endif |
AnnaBridge | 167:e84263d55307 | 40 | #endif |
AnnaBridge | 167:e84263d55307 | 41 | |
AnnaBridge | 167:e84263d55307 | 42 | #endif |
AnnaBridge | 167:e84263d55307 | 43 | #endif |