mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
targets/TARGET_WIZNET/mbed_rtx.h@165:e614a9f1c9e2, 2017-05-26 (annotated)
- Committer:
- AnnaBridge
- Date:
- Fri May 26 12:39:01 2017 +0100
- Revision:
- 165:e614a9f1c9e2
- Child:
- 167:e84263d55307
This updates the lib to the mbed lib v 143
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 165:e614a9f1c9e2 | 1 | /* mbed Microcontroller Library |
AnnaBridge | 165:e614a9f1c9e2 | 2 | * Copyright (c) 2016 ARM Limited |
AnnaBridge | 165:e614a9f1c9e2 | 3 | * |
AnnaBridge | 165:e614a9f1c9e2 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
AnnaBridge | 165:e614a9f1c9e2 | 5 | * you may not use this file except in compliance with the License. |
AnnaBridge | 165:e614a9f1c9e2 | 6 | * You may obtain a copy of the License at |
AnnaBridge | 165:e614a9f1c9e2 | 7 | * |
AnnaBridge | 165:e614a9f1c9e2 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 165:e614a9f1c9e2 | 9 | * |
AnnaBridge | 165:e614a9f1c9e2 | 10 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 165:e614a9f1c9e2 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
AnnaBridge | 165:e614a9f1c9e2 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 165:e614a9f1c9e2 | 13 | * See the License for the specific language governing permissions and |
AnnaBridge | 165:e614a9f1c9e2 | 14 | * limitations under the License. |
AnnaBridge | 165:e614a9f1c9e2 | 15 | */ |
AnnaBridge | 165:e614a9f1c9e2 | 16 | |
AnnaBridge | 165:e614a9f1c9e2 | 17 | #ifndef MBED_MBED_RTX_H |
AnnaBridge | 165:e614a9f1c9e2 | 18 | #define MBED_MBED_RTX_H |
AnnaBridge | 165:e614a9f1c9e2 | 19 | |
AnnaBridge | 165:e614a9f1c9e2 | 20 | #if defined(TARGET_WIZWIKI_W7500) |
AnnaBridge | 165:e614a9f1c9e2 | 21 | |
AnnaBridge | 165:e614a9f1c9e2 | 22 | #ifndef INITIAL_SP |
AnnaBridge | 165:e614a9f1c9e2 | 23 | #define INITIAL_SP (0x20004000UL) |
AnnaBridge | 165:e614a9f1c9e2 | 24 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 25 | #ifndef OS_TASKCNT |
AnnaBridge | 165:e614a9f1c9e2 | 26 | #define OS_TASKCNT 6 |
AnnaBridge | 165:e614a9f1c9e2 | 27 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 28 | #ifndef OS_MAINSTKSIZE |
AnnaBridge | 165:e614a9f1c9e2 | 29 | #define OS_MAINSTKSIZE 128 |
AnnaBridge | 165:e614a9f1c9e2 | 30 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 31 | #ifndef OS_CLOCK |
AnnaBridge | 165:e614a9f1c9e2 | 32 | #define OS_CLOCK 20000000 |
AnnaBridge | 165:e614a9f1c9e2 | 33 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 34 | |
AnnaBridge | 165:e614a9f1c9e2 | 35 | #elif defined(TARGET_WIZWIKI_W7500P) |
AnnaBridge | 165:e614a9f1c9e2 | 36 | |
AnnaBridge | 165:e614a9f1c9e2 | 37 | #ifndef INITIAL_SP |
AnnaBridge | 165:e614a9f1c9e2 | 38 | #define INITIAL_SP (0x20004000UL) |
AnnaBridge | 165:e614a9f1c9e2 | 39 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 40 | #ifndef OS_TASKCNT |
AnnaBridge | 165:e614a9f1c9e2 | 41 | #define OS_TASKCNT 6 |
AnnaBridge | 165:e614a9f1c9e2 | 42 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 43 | #ifndef OS_MAINSTKSIZE |
AnnaBridge | 165:e614a9f1c9e2 | 44 | #define OS_MAINSTKSIZE 128 |
AnnaBridge | 165:e614a9f1c9e2 | 45 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 46 | #ifndef OS_CLOCK |
AnnaBridge | 165:e614a9f1c9e2 | 47 | #define OS_CLOCK 20000000 |
AnnaBridge | 165:e614a9f1c9e2 | 48 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 49 | |
AnnaBridge | 165:e614a9f1c9e2 | 50 | #elif defined(TARGET_WIZWIKI_W7500ECO) |
AnnaBridge | 165:e614a9f1c9e2 | 51 | |
AnnaBridge | 165:e614a9f1c9e2 | 52 | #ifndef INITIAL_SP |
AnnaBridge | 165:e614a9f1c9e2 | 53 | #define INITIAL_SP (0x20004000UL) |
AnnaBridge | 165:e614a9f1c9e2 | 54 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 55 | #ifndef OS_TASKCNT |
AnnaBridge | 165:e614a9f1c9e2 | 56 | #define OS_TASKCNT 6 |
AnnaBridge | 165:e614a9f1c9e2 | 57 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 58 | #ifndef OS_MAINSTKSIZE |
AnnaBridge | 165:e614a9f1c9e2 | 59 | #define OS_MAINSTKSIZE 128 |
AnnaBridge | 165:e614a9f1c9e2 | 60 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 61 | #ifndef OS_CLOCK |
AnnaBridge | 165:e614a9f1c9e2 | 62 | #define OS_CLOCK 20000000 |
AnnaBridge | 165:e614a9f1c9e2 | 63 | #endif |
AnnaBridge | 165:e614a9f1c9e2 | 64 | |
AnnaBridge | 165:e614a9f1c9e2 | 65 | #endif // |
AnnaBridge | 165:e614a9f1c9e2 | 66 | |
AnnaBridge | 165:e614a9f1c9e2 | 67 | #endif // MBED_MBED_RTX_H |