Daoyu_Sofiane Yao_Belouka / mbed-rtos

Dependents:   Mecatro_Gyro_Programme_Codeur_HC06

Committer:
daoyu_sofiane
Date:
Fri Apr 16 09:25:33 2021 +0000
Revision:
0:a8ed743bc1e1
Projet Gyropode

Who changed what in which revision?

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