asd

Fork of mbed-rtos by mbed official

Committer:
Kojto
Date:
Tue Jul 04 13:17:18 2017 +0100
Revision:
125:66949d9d57c1
rtos targets configuration addition

mbed_rtx header file for all targets

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 125:66949d9d57c1 1 /* mbed Microcontroller Library
Kojto 125:66949d9d57c1 2 * Copyright (c) 2016-2017 ARM Limited
Kojto 125:66949d9d57c1 3 *
Kojto 125:66949d9d57c1 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 125:66949d9d57c1 5 * you may not use this file except in compliance with the License.
Kojto 125:66949d9d57c1 6 * You may obtain a copy of the License at
Kojto 125:66949d9d57c1 7 *
Kojto 125:66949d9d57c1 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 125:66949d9d57c1 9 *
Kojto 125:66949d9d57c1 10 * Unless required by applicable law or agreed to in writing, software
Kojto 125:66949d9d57c1 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 125:66949d9d57c1 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 125:66949d9d57c1 13 * See the License for the specific language governing permissions and
Kojto 125:66949d9d57c1 14 * limitations under the License.
Kojto 125:66949d9d57c1 15 */
Kojto 125:66949d9d57c1 16
Kojto 125:66949d9d57c1 17 #ifndef MBED_MBED_RTX_H
Kojto 125:66949d9d57c1 18 #define MBED_MBED_RTX_H
Kojto 125:66949d9d57c1 19
Kojto 125:66949d9d57c1 20 #if defined(TARGET_BEETLE) || defined(TARGET_CM3DS_MPS2)
Kojto 125:66949d9d57c1 21
Kojto 125:66949d9d57c1 22 #ifndef INITIAL_SP
Kojto 125:66949d9d57c1 23 #define INITIAL_SP (0x20020000UL)
Kojto 125:66949d9d57c1 24 #endif
Kojto 125:66949d9d57c1 25
Kojto 125:66949d9d57c1 26 // RTX 4 only config below, for backward-compability
Kojto 125:66949d9d57c1 27
Kojto 125:66949d9d57c1 28 #ifndef OS_TASKCNT
Kojto 125:66949d9d57c1 29 #define OS_TASKCNT 7
Kojto 125:66949d9d57c1 30 #endif
Kojto 125:66949d9d57c1 31 #ifndef OS_MAINSTKSIZE
Kojto 125:66949d9d57c1 32 #define OS_MAINSTKSIZE 112
Kojto 125:66949d9d57c1 33 #endif
Kojto 125:66949d9d57c1 34 #ifndef OS_CLOCK
Kojto 125:66949d9d57c1 35 #define OS_CLOCK 24000000
Kojto 125:66949d9d57c1 36 #endif
Kojto 125:66949d9d57c1 37
Kojto 125:66949d9d57c1 38 #endif
Kojto 125:66949d9d57c1 39
Kojto 125:66949d9d57c1 40 #endif // MBED_MBED_RTX_H