my version
Fork of mbed-rtos by
targets/TARGET_ONSEMI/mbed_rtx4.h@125:5713cbbdb706, 2017-07-04 (annotated)
- Committer:
- Kojto
- Date:
- Tue Jul 04 13:32:20 2017 +0100
- Revision:
- 125:5713cbbdb706
replace mbed_rtx by mbed_rtx4
Not causing a conflict with mbed_rtx that is for newer rtos
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 125:5713cbbdb706 | 1 | /* mbed Microcontroller Library |
Kojto | 125:5713cbbdb706 | 2 | * Copyright (c) 2016 ARM Limited |
Kojto | 125:5713cbbdb706 | 3 | * |
Kojto | 125:5713cbbdb706 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 125:5713cbbdb706 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 125:5713cbbdb706 | 6 | * You may obtain a copy of the License at |
Kojto | 125:5713cbbdb706 | 7 | * |
Kojto | 125:5713cbbdb706 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 125:5713cbbdb706 | 9 | * |
Kojto | 125:5713cbbdb706 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 125:5713cbbdb706 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 125:5713cbbdb706 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 125:5713cbbdb706 | 13 | * See the License for the specific language governing permissions and |
Kojto | 125:5713cbbdb706 | 14 | * limitations under the License. |
Kojto | 125:5713cbbdb706 | 15 | */ |
Kojto | 125:5713cbbdb706 | 16 | |
Kojto | 125:5713cbbdb706 | 17 | #ifndef MBED_MBED_RTX_H |
Kojto | 125:5713cbbdb706 | 18 | #define MBED_MBED_RTX_H |
Kojto | 125:5713cbbdb706 | 19 | |
Kojto | 125:5713cbbdb706 | 20 | #if defined(TARGET_NCS36510) |
Kojto | 125:5713cbbdb706 | 21 | |
Kojto | 125:5713cbbdb706 | 22 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 23 | #define INITIAL_SP (0x40000000UL) |
Kojto | 125:5713cbbdb706 | 24 | #endif |
Kojto | 125:5713cbbdb706 | 25 | |
Kojto | 125:5713cbbdb706 | 26 | // RTX 4 only config below, for backward-compability |
Kojto | 125:5713cbbdb706 | 27 | |
Kojto | 125:5713cbbdb706 | 28 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 29 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 30 | #endif |
Kojto | 125:5713cbbdb706 | 31 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 32 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 33 | #endif |
Kojto | 125:5713cbbdb706 | 34 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 35 | #define OS_CLOCK 32000000 |
Kojto | 125:5713cbbdb706 | 36 | #endif |
Kojto | 125:5713cbbdb706 | 37 | |
Kojto | 125:5713cbbdb706 | 38 | #endif |
Kojto | 125:5713cbbdb706 | 39 | |
Kojto | 125:5713cbbdb706 | 40 | #endif // MBED_MBED_RTX_H |