version 2.8
gos_rtx5.h
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms of the GFX License. If a copy of
3  * the license was not distributed with this file, you can obtain one at:
4  *
5  * http://ugfx.org/license.html
6  */
7 
8 /**
9  * @file src/gos/gos_rtx5.h
10  * @brief GOS - Operating System Support header file for Keil RTX
11  */
12 
13 #ifndef _GOS_RTX5_H
14 #define _GOS_RTX5_H
15 
16 #if GFX_USE_OS_RTX5
17 
18 /*
19  * Keil RTX uses the CMSIS RTOS interface. Therefore, just use the CMSIS2 RTOS port
20  */
21 
22 // Disable KEIL to avoid error: "GOS: More than one operation system has been defined as TRUE."
23 #undef GFX_USE_OS_RTX5
24 #define GFX_USE_OS_RTX5 FALSE
25 
26 // Enable generic CMSIS RTOS implementation
27 #undef GFX_USE_OS_CMSIS2
28 #define GFX_USE_OS_CMSIS2 TRUE
29 #include "gos_cmsis2.h"
30 
31 #endif /* GFX_USE_OS_RTX5 */
32 #endif /* _GOS_RTX5_H */
GOS - Operating System Support header file for CMSIS 2.0 RTOS.