Mistake on this page?
Report an issue in GitHub or email us
stack_size_unification.h
1 /* mbed Microcontroller Library
2  * Copyright (c) 2019-2019 ARM Limited
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 /** \addtogroup hal_rtc_tests
20  * @{
21  */
22 
23 #ifndef MBED_STACK_SIZE_UNIFICATION_H
24 #define MBED_STACK_SIZE_UNIFICATION_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /** Test sizes of ISR stack, main thread stack, default user thread stack.
31  *
32  * Given is Mbed OS configuration.
33  * When ISR stack, main thread stack, default user thread stack sizes are defined.
34  * Then ISR stack size is equal to 1 KB,
35  * main thread stack size is equal to 4 KB,
36  * default user thread stack size is equal to 4 KB.
37  *
38  * NOTE:
39  * It is impossible to verify RTOS-less thread stack size since all tests are build with RTOS.
40  */
42 
43 /**@}*/
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif
50 
51 /** @}*/
void stack_size_unification_test(void)
Test sizes of ISR stack, main thread stack, default user thread stack.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.