OS2

Dependents:   GYRO_MPU6050 Bluetooth_Powered_Multimeter_Using_STM32F429_and_RTOS fyp

Committer:
guilhemMBED
Date:
Mon Feb 03 13:41:14 2020 +0000
Revision:
0:a7c449cd2d5a
previous version;

Who changed what in which revision?

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