Yes
Dependents: Asservissement_Gyro
targets/TARGET_ublox/mbed_rtx4.h@0:77205fc699b9, 2022-05-08 (annotated)
- Committer:
- braichi13
- Date:
- Sun May 08 14:39:47 2022 +0000
- Revision:
- 0:77205fc699b9
Programme du Gyropode
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
braichi13 | 0:77205fc699b9 | 1 | /* mbed Microcontroller Library |
braichi13 | 0:77205fc699b9 | 2 | * Copyright (c) 2016 u-blox |
braichi13 | 0:77205fc699b9 | 3 | * |
braichi13 | 0:77205fc699b9 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
braichi13 | 0:77205fc699b9 | 5 | * you may not use this file except in compliance with the License. |
braichi13 | 0:77205fc699b9 | 6 | * You may obtain a copy of the License at |
braichi13 | 0:77205fc699b9 | 7 | * |
braichi13 | 0:77205fc699b9 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
braichi13 | 0:77205fc699b9 | 9 | * |
braichi13 | 0:77205fc699b9 | 10 | * Unless required by applicable law or agreed to in writing, software |
braichi13 | 0:77205fc699b9 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
braichi13 | 0:77205fc699b9 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
braichi13 | 0:77205fc699b9 | 13 | * See the License for the specific language governing permissions and |
braichi13 | 0:77205fc699b9 | 14 | * limitations under the License. |
braichi13 | 0:77205fc699b9 | 15 | */ |
braichi13 | 0:77205fc699b9 | 16 | |
braichi13 | 0:77205fc699b9 | 17 | #ifndef MBED_MBED_RTX_H |
braichi13 | 0:77205fc699b9 | 18 | #define MBED_MBED_RTX_H |
braichi13 | 0:77205fc699b9 | 19 | |
braichi13 | 0:77205fc699b9 | 20 | #if defined(TARGET_HI2110) |
braichi13 | 0:77205fc699b9 | 21 | |
braichi13 | 0:77205fc699b9 | 22 | #ifndef INITIAL_SP |
braichi13 | 0:77205fc699b9 | 23 | #define INITIAL_SP (0x01000000 + 0x05000 - 256) |
braichi13 | 0:77205fc699b9 | 24 | #endif |
braichi13 | 0:77205fc699b9 | 25 | |
braichi13 | 0:77205fc699b9 | 26 | // RTX 4 only config below, for backward-compability |
braichi13 | 0:77205fc699b9 | 27 | |
braichi13 | 0:77205fc699b9 | 28 | #ifndef OS_TASKCNT |
braichi13 | 0:77205fc699b9 | 29 | #define OS_TASKCNT 6 |
braichi13 | 0:77205fc699b9 | 30 | #endif |
braichi13 | 0:77205fc699b9 | 31 | #ifndef OS_MAINSTKSIZE |
braichi13 | 0:77205fc699b9 | 32 | #define OS_MAINSTKSIZE 128 |
braichi13 | 0:77205fc699b9 | 33 | #endif |
braichi13 | 0:77205fc699b9 | 34 | #ifndef OS_CLOCK |
braichi13 | 0:77205fc699b9 | 35 | #define OS_CLOCK 48000000 |
braichi13 | 0:77205fc699b9 | 36 | #endif |
braichi13 | 0:77205fc699b9 | 37 | #endif |
braichi13 | 0:77205fc699b9 | 38 | |
braichi13 | 0:77205fc699b9 | 39 | #endif // MBED_MBED_RTX_H |